Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: Remove the `cms` app from the repo (#42686)

Ivan Vasilovbe781d49a05f
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 1d631f4a7dc..bba0b0d3e3a 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -8,8 +8,6 @@
/apps/studio/ @supabase/Dashboard
-/apps/cms/ @supabase/marketing
-
/apps/www/ @supabase/marketing
/apps/www/public/images/blog @supabase/marketing
/apps/www/lib/redirects.js
diff --git a/.prettierignore b/.prettierignore
index b00f30d32e4..e65459c8c02 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -24,10 +24,5 @@ apps/ui-library/public/r
apps/**/.contentlayer
# invalid JSON file
packages/ui/src/components/Form/examples/PhoneProvidersSchema.json
-apps/cms/config/api.ts
-# files auto-generated by payload cms
-apps/cms/src/app/*
-apps/cms/src/migrations/*
-apps/cms/src/payload-types.ts
# ignore because of <br/><br/>
apps/www/_blog/2025-07-14-supabase-ui-platform-kit.mdx
diff --git a/apps/cms/.env b/apps/cms/.env
deleted file mode 100644
index 5972f795094..00000000000
--- a/apps/cms/.env
+++ /dev/null
@@ -1,15 +0,0 @@
-# [LOCAL ENV] - NEVER USE PROD VALUES LOCALLY
-# as editing PayloadCMS typescript config INSTANTLY CHANGES DB SCHEMA in dev mode
-# The values set here are the default values provided when running `supabase start`.
-# Do not add secrets here, this file is git-tracked. Use .env.local instead.
-DATABASE_URI=postgresql://postgres:[email protected]:34322/postgres
-PAYLOAD_SECRET=secret
-
-S3_BUCKET=cms
-S3_ACCESS_KEY_ID=625729a08b95bf1b7ff351a663f3a23c
-S3_SECRET_ACCESS_KEY=850181e4652dd023b7a98c58ae0d2d34bd487ee0cc3254aed6eda37307425907
-S3_REGION=local
-S3_ENDPOINT=http://127.0.0.1:34321/storage/v1/s3
-
-CRON_SECRET=secret
-PREVIEW_SECRET=secret
\ No newline at end of file
diff --git a/apps/cms/.gitignore b/apps/cms/.gitignore
deleted file mode 100644
index 954563c7fcb..00000000000
--- a/apps/cms/.gitignore
+++ /dev/null
@@ -1,42 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-/.idea/*
-!/.idea/runConfigurations
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-!.env
-.env.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
-
-/media
diff --git a/apps/cms/.vercelignore b/apps/cms/.vercelignore
deleted file mode 100644
index 3b3aaed4c81..00000000000
--- a/apps/cms/.vercelignore
+++ /dev/null
@@ -1,48 +0,0 @@
-# Dependencies
-node_modules
-**/node_modules
-
-# Build artifacts
-.next/cache
-.turbo
-.eslintcache
-
-# Development files
-*.log
-.env.local
-.env.*.local
-
-# Test files
-**/*.test.*
-**/*.spec.*
-__tests__
-**/__tests__
-coverage
-
-# Documentation
-README.md
-*.md
-docs
-
-# IDE files
-.vscode
-.idea
-*.swp
-*.swo
-
-# OS files
-.DS_Store
-Thumbs.db
-
-# Other apps (since we're only deploying CMS)
-../studio
-../www
-../docs
-../design-system
-../ui-library
-../../examples
-../../tests
-../../supabase
-../../packages/ui-patterns
-../../packages/ui
-../../packages/shared-data
\ No newline at end of file
diff --git a/apps/cms/Dockerfile b/apps/cms/Dockerfile
deleted file mode 100644
index 93465cfa57a..00000000000
--- a/apps/cms/Dockerfile
+++ /dev/null
@@ -1,71 +0,0 @@
-# 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.12.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
-WORKDIR /app
-
-# 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
-WORKDIR /app
-COPY --from=deps /app/node_modules ./node_modules
-COPY . .
-
-# 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
-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
-
-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
diff --git a/apps/cms/README.md b/apps/cms/README.md
deleted file mode 100644
index f910262ecbd..00000000000
--- a/apps/cms/README.md
+++ /dev/null
@@ -1,23 +0,0 @@
-# Payload CMS
-
-### Local Development
-
-1. run `cd apps/cms && supabase start` to start the local supabase project
-2. run `cp .env.example .env` to copy the example environment variables and update the variables. You'll need to add the `S3_` variables to your `.env` to use Supabase Storage
-3. `pnpm install && pnpm generate:importmap` to install dependencies and start the dev server
-4. run `pnpm dev` in the apps/cms folder or `pnpm dev:cms` from the root
-5. open `http://localhost:3030` to open the app in your browser
-
-Follow the on-screen instructions to login and create the first admin user.
-
-### Collections
-
-Collections are what data looks like in the Payload cms schema. The following are the collections currently configured in the app.
-
-- Authors
-- Categories
-- Events
-- Media
-- Posts
-- Tags
-- Users
diff --git a/apps/cms/docker-compose.yml b/apps/cms/docker-compose.yml
deleted file mode 100644
index a475be621b0..00000000000
--- a/apps/cms/docker-compose.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-version: '3'
-
-services:
- payload:
- image: node:18-alpine
- ports:
- - '3030:3030'
- volumes:
- - .:/home/node/app
- - node_modules:/home/node/app/node_modules
- working_dir: /home/node/app/
- command: sh -c "corepack enable && corepack prepare pnpm@latest --activate && pnpm install && pnpm dev"
- depends_on:
- - postgres
- env_file:
- - .env
-
- # Uncomment the following to use postgres
- postgres:
- restart: always
- image: postgres:latest
- volumes:
- - pgdata:/var/lib/postgresql/data
- ports:
- - "5432:5432"
-
-volumes:
- data:
- # pgdata:
- node_modules:
diff --git a/apps/cms/eslint.config.cjs b/apps/cms/eslint.config.cjs
deleted file mode 100644
index fec3ac9b3ab..00000000000
--- a/apps/cms/eslint.config.cjs
+++ /dev/null
@@ -1,4 +0,0 @@
-const { defineConfig } = require('eslint/config')
-const supabaseConfig = require('eslint-config-supabase/next')
-
-module.exports = defineConfig([supabaseConfig])
diff --git a/apps/cms/next.config.mjs b/apps/cms/next.config.mjs
deleted file mode 100644
index 092c737bfb8..00000000000
--- a/apps/cms/next.config.mjs
+++ /dev/null
@@ -1,54 +0,0 @@
-import { withPayload } from '@payloadcms/next/withPayload'
-
-const redirects = async () => {
- const internetExplorerRedirect = {
- destination: '/ie-incompatible.html',
- has: [
- {
- type: 'header',
- key: 'user-agent',
- value: '(.*Trident.*)', // all ie browsers
- },
- ],
- permanent: false,
- source: '/:path((?!ie-incompatible.html$).*)', // all pages except the incompatibility page
- }
-
- const redirects = [internetExplorerRedirect]
-
- return redirects
-}
-
-const WWW_SITE_ORIGIN =
- process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
- ? 'https://supabase.com'
- : process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL &&
- typeof process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL === 'string'
- ? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL.replace('cms-git-', 'zone-www-dot-com-git-')}`
- : 'http://localhost:3000'
-
-/** @type {import('next').NextConfig} */
-const nextConfig = {
- images: {
- remotePatterns: [
- ...[WWW_SITE_ORIGIN /* 'https://example.com' */].map((item) => {
- const url = new URL(item)
-
- return {
- hostname: url.hostname,
- protocol: url.protocol?.replace(':', ''),
- }
- }),
- ],
- },
- reactStrictMode: true,
- redirects,
- eslint: {
- // We are already running linting via GH action, this will skip linting during production build on Vercel
- ignoreDuringBuilds: true,
- },
- // Configure Sharp as an external package for server-side rendering
- serverExternalPackages: ['sharp'],
-}
-
-export default withPayload(nextConfig, { devBundleServerPackages: false })
diff --git a/apps/cms/package.json b/apps/cms/package.json
deleted file mode 100644
index e6d0e43dc93..00000000000
--- a/apps/cms/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "name": "cms",
- "version": "1.0.0",
- "description": "Payload CMS for Supabase",
- "license": "MIT",
- "scripts": {
- "build": "cross-env NODE_OPTIONS=--no-deprecation next build --turbopack",
- "ci": "pnpm migrate && pnpm build",
- "clean": "rimraf node_modules .next",
- "dev": "cross-env NODE_OPTIONS=--no-deprecation next dev --turbopack --port 3030",
- "dev:prod": "cross-env NODE_OPTIONS=--no-deprecation rm -rf .next && pnpm build && pnpm start",
- "devsafe": "rm -rf .next && cross-env NODE_OPTIONS=--no-deprecation next dev",
- "generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
- "generate:types": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
- "lint": "eslint .",
- "migrate": "cross-env NODE_OPTIONS=--no-deprecation tsx scripts/migrate.ts",
- "payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
- "start": "cross-env NODE_OPTIONS=--no-deprecation next start",
- "vercel-build": "pnpm migrate && pnpm build",
- "typecheck": "tsc --noEmit"
- },
- "dependencies": {
- "@payloadcms/admin-bar": "^3.52.0",
- "@payloadcms/db-postgres": "^3.73.0",
- "@payloadcms/live-preview-react": "^3.52.0",
- "@payloadcms/next": "3.52.0",
- "@payloadcms/payload-cloud": "3.60.0",
- "@payloadcms/plugin-form-builder": "3.52.0",
- "@payloadcms/plugin-nested-docs": "3.52.0",
- "@payloadcms/plugin-seo": "3.52.0",
- "@payloadcms/richtext-lexical": "3.52.0",
- "@payloadcms/storage-s3": "3.52.0",
- "@payloadcms/ui": "3.52.0",
- "@radix-ui/react-checkbox": "^1.3.2",
- "@radix-ui/react-label": "^2.1.7",
- "@radix-ui/react-select": "^2.0.0",
- "@radix-ui/react-slot": "^1.2.3",
- "@types/node": "catalog:",
- "@types/react": "catalog:",
- "@types/react-dom": "catalog:",
- "class-variance-authority": "^0.7.1",
- "clsx": "^2.1.1",
- "common": "workspace:*",
- "config": "workspace:*",
- "cross-env": "^7.0.3",
- "eslint-config-supabase": "workspace:*",
- "graphql": "^16.11.0",
- "image-size": "2.0.2",
- "lucide-react": "^0.511.0",
- "next": "catalog:",
- "payload": "3.52.0",
- "pg": "^8.16.3",
- "prism-react-renderer": "^2.3.1",
- "react": "catalog:",
- "react-dom": "catalog:",
- "sharp": "~0.34.5",
- "tailwind-merge": "^1.13.2",
- "tsx": "catalog:",
- "typescript": "catalog:"
- },
- "externals": {
- "sharp": "commonjs sharp"
- }
-}
diff --git a/apps/cms/scripts/migrate.ts b/apps/cms/scripts/migrate.ts
deleted file mode 100644
index f0b0d17c9d6..00000000000
--- a/apps/cms/scripts/migrate.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import payload from 'payload'
-
-// Use a minimal config for migrations to avoid importing the full app graph during build
-import payloadConfig from '../src/payload.migrate.config.ts'
-
-async function run() {
- try {
- await payload.init({ config: payloadConfig })
-
- // Ensure non-interactive: remove any dev-mode migration sentinel rows
- try {
- await payload.delete({
- collection: 'payload-migrations',
- where: { batch: { equals: -1 } },
- })
- } catch {}
-
- await payload.db.migrate()
- // eslint-disable-next-line no-console
- console.log('✅ Payload migrations complete')
- process.exit(0)
- } catch (err) {
- // eslint-disable-next-line no-console
- console.error('❌ Payload migrations failed:', err)
- process.exit(1)
- }
-}
-
-run()
diff --git a/apps/cms/src/access/isAdmin.ts b/apps/cms/src/access/isAdmin.ts
deleted file mode 100644
index cb8123e95fb..00000000000
--- a/apps/cms/src/access/isAdmin.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { AccessArgs, FieldAccess } from 'payload'
-
-import type { User } from '../payload-types'
-
-type isAdmin = (args: AccessArgs<User>) => boolean
-
-export const isAdmin: isAdmin = ({ req: { user } }) => {
- // Return true or false based on if the user has an admin role
- return Boolean(user?.roles?.includes('admin'))
-}
-
-export const isAdminFieldLevel: FieldAccess<{ id: string }, User> = ({ req: { user } }) => {
- // Return true or false based on if the user has an admin role
- return Boolean(user?.roles?.includes('admin'))
-}
diff --git a/apps/cms/src/access/isAdminOrSelf.ts b/apps/cms/src/access/isAdminOrSelf.ts
deleted file mode 100644
index ad0c05e8abb..00000000000
--- a/apps/cms/src/access/isAdminOrSelf.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import type { Access } from 'payload'
-
-export const isAdminOrSelf: Access = ({ req: { user } }) => {
- // Need to be logged in
- if (user) {
- // If user has role of 'admin'
- if (user.roles?.includes('admin')) {
- return true
- }
-
- // If any other type of user, only provide access to themselves
- return {
- id: {
- equals: user.id,
- },
- }
- }
-
- // Reject everyone else
- return false
-}
diff --git a/apps/cms/src/access/isAnyone.ts b/apps/cms/src/access/isAnyone.ts
deleted file mode 100644
index beb086b46c3..00000000000
--- a/apps/cms/src/access/isAnyone.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { Access } from 'payload'
-
-export const isAnyone: Access = () => true
diff --git a/apps/cms/src/access/isAuthenticated.ts b/apps/cms/src/access/isAuthenticated.ts
deleted file mode 100644
index 62d467a63e9..00000000000
--- a/apps/cms/src/access/isAuthenticated.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { AccessArgs } from 'payload'
-
-import type { User } from '../payload-types'
-
-type isAuthenticated = (args: AccessArgs<User>) => boolean
-
-export const isAuthenticated: isAuthenticated = ({ req: { user } }) => {
- return Boolean(user)
-}
diff --git a/apps/cms/src/app/(frontend)/layout.tsx b/apps/cms/src/app/(frontend)/layout.tsx
deleted file mode 100644
index 8d03e914296..00000000000
--- a/apps/cms/src/app/(frontend)/layout.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import React from 'react'
-import './styles.css'
-
-export const metadata = {
- description: 'Content Management System for the Supabase website',
- title: 'Supabase CMS',
-}
-
-export default async function RootLayout(props: { children: React.ReactNode }) {
- const { children } = props
-
- return (
- <html lang="en">
- <body>
- <main>{children}</main>
- </body>
- </html>
- )
-}
diff --git a/apps/cms/src/app/(frontend)/page.tsx b/apps/cms/src/app/(frontend)/page.tsx
deleted file mode 100644
index a136f82f8b1..00000000000
--- a/apps/cms/src/app/(frontend)/page.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import { redirect } from 'next/navigation'
-
-export default async function HomePage() {
- redirect('/admin')
-}
diff --git a/apps/cms/src/app/(frontend)/styles.css b/apps/cms/src/app/(frontend)/styles.css
deleted file mode 100644
index d1fb9419d6f..00000000000
--- a/apps/cms/src/app/(frontend)/styles.css
+++ /dev/null
@@ -1,164 +0,0 @@
-:root {
- --font-mono: 'Roboto Mono', monospace;
-}
-
-* {
- box-sizing: border-box;
-}
-
-html {
- font-size: 18px;
- line-height: 32px;
-
- background: rgb(0, 0, 0);
- -webkit-font-smoothing: antialiased;
-}
-
-html,
-body,
-#app {
- height: 100%;
-}
-
-body {
- font-family: system-ui;
- font-size: 18px;
- line-height: 32px;
-
- margin: 0;
- color: rgb(1000, 1000, 1000);
-
- @media (max-width: 1024px) {
- font-size: 15px;
- line-height: 24px;
- }
-}
-
-img {
- max-width: 100%;
- height: auto;
- display: block;
-}
-
-h1 {
- margin: 40px 0;
- font-size: 64px;
- line-height: 70px;
- font-weight: bold;
-
- @media (max-width: 1024px) {
- margin: 24px 0;
- font-size: 42px;
- line-height: 42px;
- }
-
- @media (max-width: 768px) {
- font-size: 38px;
- line-height: 38px;
- }
-
- @media (max-width: 400px) {
- font-size: 32px;
- line-height: 32px;
- }
-}
-
-p {
- margin: 24px 0;
-
- @media (max-width: 1024px) {
- margin: calc(var(--base) * 0.75) 0;
- }
-}
-
-a {
- color: currentColor;
-
- &:focus {
- opacity: 0.8;
- outline: none;
- }
-
- &:active {
- opacity: 0.7;
- outline: none;
- }
-}
-
-svg {
- vertical-align: middle;
-}
-
-.home {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- height: 100vh;
- padding: 45px;
- max-width: 1024px;
- margin: 0 auto;
- overflow: hidden;
-
- @media (max-width: 400px) {
- padding: 24px;
- }
-
- .content {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- flex-grow: 1;
-
- h1 {
- text-align: center;
- }
- }
-
- .links {
- display: flex;
- align-items: center;
- gap: 12px;
-
- a {
- text-decoration: none;
- padding: 0.25rem 0.5rem;
- border-radius: 4px;
- }
-
- .admin {
- color: rgb(0, 0, 0);
- background: rgb(1000, 1000, 1000);
- border: 1px solid rgb(0, 0, 0);
- }
-
- .docs {
- color: rgb(1000, 1000, 1000);
- background: rgb(0, 0, 0);
- border: 1px solid rgb(1000, 1000, 1000);
- }
- }
-
- .footer {
- display: flex;
- align-items: center;
- gap: 8px;
-
- @media (max-width: 1024px) {
- flex-direction: column;
- gap: 6px;
- }
-
- p {
- margin: 0;
- }
-
- .codeLink {
- text-decoration: none;
- padding: 0 0.5rem;
- background: rgb(60, 60, 60);
- border-radius: 4px;
- }
- }
-}
diff --git a/apps/cms/src/app/(payload)/admin/[[...segments]]/not-found.tsx b/apps/cms/src/app/(payload)/admin/[[...segments]]/not-found.tsx
deleted file mode 100644
index 64108365fd9..00000000000
--- a/apps/cms/src/app/(payload)/admin/[[...segments]]/not-found.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
-/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
-import type { Metadata } from 'next'
-
-import config from '@payload-config'
-import { NotFoundPage, generatePageMetadata } from '@payloadcms/next/views'
-import { importMap } from '../importMap'
-
-type Args = {
- params: Promise<{
- segments: string[]
- }>
- searchParams: Promise<{
- [key: string]: string | string[]
- }>
-}
-
-export const generateMetadata = ({ params, searchParams }: Args): Promise<Metadata> =>
- generatePageMetadata({ config, params, searchParams })
-
-const NotFound = ({ params, searchParams }: Args) =>
- NotFoundPage({ config, params, searchParams, importMap })
-
-export default NotFound
diff --git a/apps/cms/src/app/(payload)/admin/[[...segments]]/page.tsx b/apps/cms/src/app/(payload)/admin/[[...segments]]/page.tsx
deleted file mode 100644
index 0de685cd62b..00000000000
--- a/apps/cms/src/app/(payload)/admin/[[...segments]]/page.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
-/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
-import type { Metadata } from 'next'
-
-import config from '@payload-config'
-import { RootPage, generatePageMetadata } from '@payloadcms/next/views'
-import { importMap } from '../importMap'
-
-type Args = {
- params: Promise<{
- segments: string[]
- }>
- searchParams: Promise<{
- [key: string]: string | string[]
- }>
-}
-
-export const generateMetadata = ({ params, searchParams }: Args): Promise<Metadata> =>
- generatePageMetadata({ config, params, searchParams })
-
-const Page = ({ params, searchParams }: Args) =>
- RootPage({ config, params, searchParams, importMap })
-
-export default Page
diff --git a/apps/cms/src/app/(payload)/admin/importMap.js b/apps/cms/src/app/(payload)/admin/importMap.js
deleted file mode 100644
index ab697bf4c47..00000000000
--- a/apps/cms/src/app/(payload)/admin/importMap.js
+++ /dev/null
@@ -1,43 +0,0 @@
-import { SlugComponent as SlugComponent_92cc057d0a2abb4f6cf0307edf59f986 } from '@/fields/slug/SlugComponent'
-import { RscEntryLexicalCell as RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e } from '@payloadcms/richtext-lexical/rsc'
-import { RscEntryLexicalField as RscEntryLexicalField_44fe37237e0ebf4470c9990d8cb7b07e } from '@payloadcms/richtext-lexical/rsc'
-import { LexicalDiffComponent as LexicalDiffComponent_44fe37237e0ebf4470c9990d8cb7b07e } from '@payloadcms/richtext-lexical/rsc'
-import { HorizontalRuleFeatureClient as HorizontalRuleFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { InlineToolbarFeatureClient as InlineToolbarFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { FixedToolbarFeatureClient as FixedToolbarFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { BlocksFeatureClient as BlocksFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { ParagraphFeatureClient as ParagraphFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { UnderlineFeatureClient as UnderlineFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { BoldFeatureClient as BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { ItalicFeatureClient as ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { LinkFeatureClient as LinkFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { HeadingFeatureClient as HeadingFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
-import { OverviewComponent as OverviewComponent_a8a977ebc872c5d5ea7ee689724c0860 } from '@payloadcms/plugin-seo/client'
-import { MetaTitleComponent as MetaTitleComponent_a8a977ebc872c5d5ea7ee689724c0860 } from '@payloadcms/plugin-seo/client'
-import { MetaImageComponent as MetaImageComponent_a8a977ebc872c5d5ea7ee689724c0860 } from '@payloadcms/plugin-seo/client'
-import { MetaDescriptionComponent as MetaDescriptionComponent_a8a977ebc872c5d5ea7ee689724c0860 } from '@payloadcms/plugin-seo/client'
-import { PreviewComponent as PreviewComponent_a8a977ebc872c5d5ea7ee689724c0860 } from '@payloadcms/plugin-seo/client'
-import { S3ClientUploadHandler as S3ClientUploadHandler_f97aa6c64367fa259c5bc0567239ef24 } from '@payloadcms/storage-s3/client'
-
-export const importMap = {
- "@/fields/slug/SlugComponent#SlugComponent": SlugComponent_92cc057d0a2abb4f6cf0307edf59f986,
- "@payloadcms/richtext-lexical/rsc#RscEntryLexicalCell": RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e,
- "@payloadcms/richtext-lexical/rsc#RscEntryLexicalField": RscEntryLexicalField_44fe37237e0ebf4470c9990d8cb7b07e,
- "@payloadcms/richtext-lexical/rsc#LexicalDiffComponent": LexicalDiffComponent_44fe37237e0ebf4470c9990d8cb7b07e,
- "@payloadcms/richtext-lexical/client#HorizontalRuleFeatureClient": HorizontalRuleFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/richtext-lexical/client#InlineToolbarFeatureClient": InlineToolbarFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/richtext-lexical/client#FixedToolbarFeatureClient": FixedToolbarFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/richtext-lexical/client#BlocksFeatureClient": BlocksFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/richtext-lexical/client#ParagraphFeatureClient": ParagraphFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/richtext-lexical/client#UnderlineFeatureClient": UnderlineFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/richtext-lexical/client#BoldFeatureClient": BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/richtext-lexical/client#ItalicFeatureClient": ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/richtext-lexical/client#LinkFeatureClient": LinkFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/richtext-lexical/client#HeadingFeatureClient": HeadingFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
- "@payloadcms/plugin-seo/client#OverviewComponent": OverviewComponent_a8a977ebc872c5d5ea7ee689724c0860,
- "@payloadcms/plugin-seo/client#MetaTitleComponent": MetaTitleComponent_a8a977ebc872c5d5ea7ee689724c0860,
- "@payloadcms/plugin-seo/client#MetaImageComponent": MetaImageComponent_a8a977ebc872c5d5ea7ee689724c0860,
- "@payloadcms/plugin-seo/client#MetaDescriptionComponent": MetaDescriptionComponent_a8a977ebc872c5d5ea7ee689724c0860,
- "@payloadcms/plugin-seo/client#PreviewComponent": PreviewComponent_a8a977ebc872c5d5ea7ee689724c0860,
- "@payloadcms/storage-s3/client#S3ClientUploadHandler": S3ClientUploadHandler_f97aa6c64367fa259c5bc0567239ef24
-}
diff --git a/apps/cms/src/app/(payload)/api/[...slug]/route.ts b/apps/cms/src/app/(payload)/api/[...slug]/route.ts
deleted file mode 100644
index e58c50f50ca..00000000000
--- a/apps/cms/src/app/(payload)/api/[...slug]/route.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
-/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
-import config from '@payload-config'
-import '@payloadcms/next/css'
-import {
- REST_DELETE,
- REST_GET,
- REST_OPTIONS,
- REST_PATCH,
- REST_POST,
- REST_PUT,
-} from '@payloadcms/next/routes'
-
-export const GET = REST_GET(config)
-export const POST = REST_POST(config)
-export const DELETE = REST_DELETE(config)
-export const PATCH = REST_PATCH(config)
-export const PUT = REST_PUT(config)
-export const OPTIONS = REST_OPTIONS(config)
diff --git a/apps/cms/src/app/(payload)/custom.scss b/apps/cms/src/app/(payload)/custom.scss
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/apps/cms/src/app/(payload)/layout.tsx b/apps/cms/src/app/(payload)/layout.tsx
deleted file mode 100644
index 8df141aeb2b..00000000000
--- a/apps/cms/src/app/(payload)/layout.tsx
+++ /dev/null
@@ -1,31 +0,0 @@
-/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
-/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
-import config from '@payload-config'
-import '@payloadcms/next/css'
-import type { ServerFunctionClient } from 'payload'
-import { handleServerFunctions, RootLayout } from '@payloadcms/next/layouts'
-import React from 'react'
-
-import { importMap } from './admin/importMap.js'
-import './custom.scss'
-
-type Args = {
- children: React.ReactNode
-}
-
-const serverFunction: ServerFunctionClient = async function (args) {
- 'use server'
- return handleServerFunctions({
- ...args,
- config,
- importMap,
- })
-}
-
-const Layout = ({ children }: Args) => (
- <RootLayout config={config} importMap={importMap} serverFunction={serverFunction}>
- {children}
- </RootLayout>
-)
-
-export default Layout
diff --git a/apps/cms/src/app/my-route/route.ts b/apps/cms/src/app/my-route/route.ts
deleted file mode 100644
index a6422f37334..00000000000
--- a/apps/cms/src/app/my-route/route.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import configPromise from '@payload-config'
-import { getPayload } from 'payload'
-
-export const GET = async () => {
- const payload = await getPayload({
- config: configPromise,
- })
-
- const data = await payload.find({
- collection: 'users',
- })
-
- return Response.json(data)
-}
diff --git a/apps/cms/src/blocks/Banner/Component.tsx b/apps/cms/src/blocks/Banner/Component.tsx
deleted file mode 100644
index ec5fd59dcac..00000000000
--- a/apps/cms/src/blocks/Banner/Component.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react'
-
-import RichText from '@/components/RichText'
-import type { BannerBlock as BannerBlockProps } from '@/payload-types'
-import { cn } from '@/utilities/ui'
-
-type Props = {
- className?: string
-} & BannerBlockProps
-
-export const BannerBlock: React.FC<Props> = ({ className, content, style }) => {
- return (
- <div className={cn('mx-auto my-8 w-full', className)}>
- <div
- className={cn('border py-3 px-6 flex items-center rounded', {
- 'border-border bg-card': style === 'info',
- 'border-error bg-error/30': style === 'error',
- 'border-success bg-success/30': style === 'success',
- 'border-warning bg-warning/30': style === 'warning',
- })}
- >
- <RichText data={content} enableGutter={false} enableProse={false} />
- </div>
- </div>
- )
-}
diff --git a/apps/cms/src/blocks/Banner/config.ts b/apps/cms/src/blocks/Banner/config.ts
deleted file mode 100644
index 5bfdc1aa1a3..00000000000
--- a/apps/cms/src/blocks/Banner/config.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-import {
- FixedToolbarFeature,
- InlineToolbarFeature,
- lexicalEditor,
-} from '@payloadcms/richtext-lexical'
-import type { Block } from 'payload'
-
-export const Banner: Block = {
- slug: 'banner',
- fields: [
- {
- name: 'style',
- type: 'select',
- defaultValue: 'info',
- options: [
- { label: 'Info', value: 'info' },
- { label: 'Warning', value: 'warning' },
- { label: 'Error', value: 'error' },
- { label: 'Success', value: 'success' },
- ],
- required: true,
- },
- {
- name: 'content',
- type: 'richText',
- editor: lexicalEditor({
- features: ({ rootFeatures }) => {
- return [...rootFeatures, FixedToolbarFeature(), InlineToolbarFeature()]
- },
- }),
- label: false,
- required: true,
- },
- ],
- interfaceName: 'BannerBlock',
-}
diff --git a/apps/cms/src/blocks/Code/Component.client.tsx b/apps/cms/src/blocks/Code/Component.client.tsx
deleted file mode 100644
index 93901f52206..00000000000
--- a/apps/cms/src/blocks/Code/Component.client.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-'use client'
-
-import { Highlight, themes } from 'prism-react-renderer'
-import React from 'react'
-
-import { CopyButton } from './CopyButton'
-
-type Props = {
- code: string
- language?: string
-}
-
-export const Code: React.FC<Props> = ({ code, language = '' }) => {
- if (!code) return null
-
- return (
- <Highlight code={code} language={language} theme={themes.vsDark}>
- {({ getLineProps, getTokenProps, tokens }) => (
- <pre className="bg-black p-4 border text-xs border-border rounded overflow-x-auto">
- {tokens.map((line, i) => (
- <div key={i} {...getLineProps({ className: 'table-row', line })}>
- <span className="table-cell select-none text-right text-white/25">{i + 1}</span>
- <span className="table-cell pl-4">
- {line.map((token, key) => (
- <span key={key} {...getTokenProps({ token })} />
- ))}
- </span>
- </div>
- ))}
- <CopyButton code={code} />
- </pre>
- )}
- </Highlight>
- )
-}
diff --git a/apps/cms/src/blocks/Code/Component.tsx b/apps/cms/src/blocks/Code/Component.tsx
deleted file mode 100644
index 7f776d74de3..00000000000
--- a/apps/cms/src/blocks/Code/Component.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react'
-
-import { Code } from './Component.client'
-
-export type CodeBlockProps = {
- code: string
- language?: string
- blockType: 'code'
-}
-
-type Props = CodeBlockProps & {
- className?: string
-}
-
-export const CodeBlock: React.FC<Props> = ({ className, code, language }) => {
- return (
- <div className={[className, 'not-prose'].filter(Boolean).join(' ')}>
- <Code code={code} language={language} />
- </div>
- )
-}
diff --git a/apps/cms/src/blocks/Code/CopyButton.tsx b/apps/cms/src/blocks/Code/CopyButton.tsx
deleted file mode 100644
index 3af833cb68d..00000000000
--- a/apps/cms/src/blocks/Code/CopyButton.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-'use client'
-
-import { CopyIcon } from '@payloadcms/ui/icons/Copy'
-import { useState } from 'react'
-
-import { Button } from '@/components/ui/button'
-
-export function CopyButton({ code }: { code: string }) {
- const [text, setText] = useState('Copy')
-
- function updateCopyStatus() {
- if (text === 'Copy') {
- setText(() => 'Copied!')
- setTimeout(() => {
- setText(() => 'Copy')
- }, 1000)
- }
- }
-
- return (
- <div className="flex justify-end align-middle">
- <Button
- className="flex gap-1"
- variant="secondary"
- onClick={async () => {
- await navigator.clipboard.writeText(code)
- updateCopyStatus()
- }}
- >
- <p>{text}</p>
- <CopyIcon />
- </Button>
- </div>
- )
-}
diff --git a/apps/cms/src/blocks/Code/config.ts b/apps/cms/src/blocks/Code/config.ts
deleted file mode 100644
index 98a81114197..00000000000
--- a/apps/cms/src/blocks/Code/config.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-import type { Block } from 'payload'
-
-export const Code: Block = {
- slug: 'code',
- interfaceName: 'CodeBlock',
- fields: [
- {
- name: 'language',
- type: 'select',
- defaultValue: 'typescript',
- options: [
- {
- label: 'SQL',
- value: 'sql',
- },
- {
- label: 'JSON',
- value: 'json',
- },
- {
- label: 'bash',
- value: 'bash',
- },
- {
- label: 'Javascript',
- value: 'js',
- },
- {
- label: 'Typescript',
- value: 'ts',
- },
- {
- label: 'tsx',
- value: 'tsx',
- },
- {
- label: 'Python',
- value: 'py',
- },
- {
- label: 'kotlin',
- value: 'kotlin',
- },
- {
- label: 'yaml',
- value: 'yaml',
- },
- ],
- },
- {
- name: 'code',
- type: 'code',
- label: false,
- required: true,
- },
- ],
-}
diff --git a/apps/cms/src/blocks/MediaBlock/Component.tsx b/apps/cms/src/blocks/MediaBlock/Component.tsx
deleted file mode 100644
index 21ed856bd2d..00000000000
--- a/apps/cms/src/blocks/MediaBlock/Component.tsx
+++ /dev/null
@@ -1,65 +0,0 @@
-import type { StaticImageData } from 'next/image'
-import React from 'react'
-
-import { Media } from '../../components/Media'
-import RichText from '@/components/RichText'
-import type { MediaBlock as MediaBlockProps } from '@/payload-types'
-import { cn } from '@/utilities/ui'
-
-type Props = MediaBlockProps & {
- breakout?: boolean
- captionClassName?: string
- className?: string
- enableGutter?: boolean
- imgClassName?: string
- staticImage?: StaticImageData
- disableInnerContainer?: boolean
-}
-
-export const MediaBlock: React.FC<Props> = (props) => {
- const {
- captionClassName,
- className,
- enableGutter = true,
- imgClassName,
- media,
- staticImage,
- disableInnerContainer,
- } = props
-
- let caption
- if (media && typeof media === 'object') caption = media.caption
-
- return (
- <div
- className={cn(
- '',
- {
- container: enableGutter,
- },
- className
- )}
- >
- {(media || staticImage) && (
- <Media
- imgClassName={cn('border border-border rounded-[0.8rem]', imgClassName)}
- resource={media}
- src={staticImage}
- />
- )}
- {caption && (
- <div
- className={cn(
- 'mt-6',
- {
- container: !disableInnerContainer,
- },
- captionClassName
- )}
- >
- <RichText data={caption} enableGutter={false} />
- </div>
- )}
- </div>
- )
-}
diff --git a/apps/cms/src/blocks/MediaBlock/config.ts b/apps/cms/src/blocks/MediaBlock/config.ts
deleted file mode 100644
index 7beb79b7eeb..00000000000
--- a/apps/cms/src/blocks/MediaBlock/config.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import type { Block } from 'payload'
-
-export const MediaBlock: Block = {
- slug: 'mediaBlock',
- interfaceName: 'MediaBlock',
- fields: [
- {
- name: 'media',
- type: 'upload',
- relationTo: 'media',
- required: true,
- },
- ],
-}
diff --git a/apps/cms/src/blocks/Quote/Component.tsx b/apps/cms/src/blocks/Quote/Component.tsx
deleted file mode 100644
index 0bf925e9518..00000000000
--- a/apps/cms/src/blocks/Quote/Component.tsx
+++ /dev/null
@@ -1,16 +0,0 @@
-import React from 'react'
-
-import type { QuoteBlock as QuoteBlockProps } from '@/payload-types'
-
-type Props = {
- className?: string
-} & QuoteBlockProps
-
-export const QuoteBlock: React.FC<Props> = ({ className, img, caption, text }) => {
- return `<Quote img={${img}} caption={${caption ?? ''}} className={${className}}>
-
-{${text}}
-
-</Quote>
-`
-}
diff --git a/apps/cms/src/blocks/Quote/config.ts b/apps/cms/src/blocks/Quote/config.ts
deleted file mode 100644
index e3495fe190d..00000000000
--- a/apps/cms/src/blocks/Quote/config.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { Block } from 'payload'
-
-export const Quote: Block = {
- slug: 'quote',
- fields: [
- {
- name: 'img',
- type: 'upload',
- relationTo: 'media',
- label: 'Avatar',
- required: false,
- },
- {
- name: 'caption',
- type: 'text',
- label: 'Caption',
- required: false,
- },
- {
- name: 'text',
- type: 'textarea',
- label: 'Quote Text',
- required: true,
- },
- ],
- interfaceName: 'QuoteBlock',
-}
diff --git a/apps/cms/src/blocks/YouTube/Component.tsx b/apps/cms/src/blocks/YouTube/Component.tsx
deleted file mode 100644
index f0c389bc39d..00000000000
--- a/apps/cms/src/blocks/YouTube/Component.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-import React from 'react'
-
-import type { YouTubeBlock as YouTubeBlockProps } from '@/payload-types'
-import { cn } from '@/utilities/ui'
-
-type Props = {
- className?: string
-} & YouTubeBlockProps
-
-export const YouTubeBlock: React.FC<Props> = ({ className, youtubeId }) => {
- return (
- <div className={cn('video-container', className)}>
- <iframe
- className="w-full"
- src={`https://www.youtube-nocookie.com/embed/${youtubeId}`}
- title="YouTube video"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share"
- allowFullScreen
- />
- </div>
- )
-}
diff --git a/apps/cms/src/blocks/YouTube/config.ts b/apps/cms/src/blocks/YouTube/config.ts
deleted file mode 100644
index 35821c2b323..00000000000
--- a/apps/cms/src/blocks/YouTube/config.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import type { Block } from 'payload'
-
-export const YouTube: Block = {
- slug: 'youtube',
- fields: [
- {
- name: 'youtubeId',
- type: 'text',
- label: 'YouTube Video ID',
- required: true,
- admin: {
- description:
- 'Enter the YouTube video ID (e.g., "dQw4w9WgXcQ" from https://www.youtube.com/watch?v=dQw4w9WgXcQ)',
- },
- },
- ],
- interfaceName: 'YouTubeBlock',
-}
diff --git a/apps/cms/src/collections/Authors.ts b/apps/cms/src/collections/Authors.ts
deleted file mode 100644
index b302059b041..00000000000
--- a/apps/cms/src/collections/Authors.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-import type { CollectionConfig } from 'payload'
-
-export const Authors: CollectionConfig = {
- slug: 'authors',
- admin: {
- useAsTitle: 'author',
- defaultColumns: ['author', 'position', 'author_id'],
- },
- access: {
- read: () => true,
- },
- fields: [
- {
- name: 'author',
- type: 'text',
- required: true,
- label: 'Author Name',
- index: true,
- },
- {
- name: 'author_id',
- type: 'text',
- required: true,
- unique: true,
- label: 'Author ID',
- admin: {
- description: 'Unique identifier for the author',
- },
- },
- {
- name: 'username',
- type: 'text',
- label: 'Username',
- admin: {
- description: 'GitHub/social username',
- },
- },
- {
- name: 'position',
- type: 'text',
- label: 'Position',
- },
- {
- name: 'company',
- type: 'text',
- label: 'Company',
- admin: {
- description: 'Company name (for external/guest authors)',
- },
- },
- {
- name: 'author_url',
- type: 'text',
- label: 'Profile URL',
- admin: {
- description: 'Link to GitHub, Twitter, LinkedIn, etc.',
- },
- },
- {
- name: 'author_image_url',
- type: 'upload',
- relationTo: 'media',
- required: false,
- label: 'Profile Image',
- },
- ],
- timestamps: true,
-}
-
-export default Authors
diff --git a/apps/cms/src/collections/Categories.ts b/apps/cms/src/collections/Categories.ts
deleted file mode 100644
index e9dbfc9d382..00000000000
--- a/apps/cms/src/collections/Categories.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { CollectionConfig } from 'payload'
-
-import { isAdmin } from '../access/isAdmin'
-
-export const Categories: CollectionConfig = {
- slug: 'categories',
- admin: {
- useAsTitle: 'name',
- },
- access: {
- create: isAdmin,
- read: () => true,
- update: isAdmin,
- delete: isAdmin,
- },
- fields: [
- {
- name: 'name',
- type: 'text',
- required: true,
- index: true,
- },
- ],
- timestamps: true,
-}
-
-export default Categories
diff --git a/apps/cms/src/collections/Customers/hooks/revalidateCustomer.ts b/apps/cms/src/collections/Customers/hooks/revalidateCustomer.ts
deleted file mode 100644
index df9cc3626e7..00000000000
--- a/apps/cms/src/collections/Customers/hooks/revalidateCustomer.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-import type { CollectionAfterChangeHook, CollectionAfterDeleteHook } from 'payload'
-
-// Avoid importing next/cache at module scope so migrations can run in a plain Node env
-
-import type { Customer } from '../../../payload-types'
-
-export const revalidateCustomer: CollectionAfterChangeHook<Customer> = async ({
- doc,
- previousDoc,
- req: { payload, context },
-}) => {
- if (!context.disableRevalidate) {
- if (doc._status === 'published') {
- const path = `/customers/${doc.slug}`
-
- payload.logger.info(`Revalidating event at path: ${path}`)
- try {
- const { revalidatePath, revalidateTag } = await import('next/cache')
- revalidatePath(path)
- revalidateTag('customers-sitemap')
- } catch {
- // no-op when not running inside Next runtime (e.g., during payload migrate)
- }
- }
-
- // If the event was previously published, we need to revalidate the old path
- if (previousDoc._status === 'published' && doc._status !== 'published') {
- const oldPath = `/customers/${previousDoc.slug}`
-
- payload.logger.info(`Revalidating old event at path: ${oldPath}`)
-
- try {
- const { revalidatePath, revalidateTag } = await import('next/cache')
- revalidatePath(oldPath)
- revalidateTag('customers-sitemap')
- } catch {}
- }
- }
- return doc
-}
-
-export const revalidateDelete: CollectionAfterDeleteHook<Customer> = async ({
- doc,
- req: { context },
-}) => {
- if (!context.disableRevalidate) {
- const path = `/customers/${doc?.slug}`
- try {
- const { revalidatePath, revalidateTag } = await import('next/cache')
- revalidatePath(path)
- revalidateTag('customers-sitemap')
- } catch {}
- }
-
- return doc
-}
diff --git a/apps/cms/src/collections/Customers/index.ts b/apps/cms/src/collections/Customers/index.ts
deleted file mode 100644
index 9e1f2e47abf..00000000000
--- a/apps/cms/src/collections/Customers/index.ts
+++ /dev/null
@@ -1,317 +0,0 @@
-import {
- MetaDescriptionField,
- MetaImageField,
- MetaTitleField,
- OverviewField,
- PreviewField,
-} from '@payloadcms/plugin-seo/fields'
-import {
- BlocksFeature,
- FixedToolbarFeature,
- HeadingFeature,
- HorizontalRuleFeature,
- InlineToolbarFeature,
- lexicalEditor,
-} from '@payloadcms/richtext-lexical'
-import type { CollectionConfig } from 'payload'
-
-import { isAnyone } from '../../access/isAnyone.ts'
-import { isAuthenticated } from '../../access/isAuthenticated.ts'
-import { Banner } from '../../blocks/Banner/config.ts'
-import { Code } from '../../blocks/Code/config.ts'
-import { MediaBlock } from '../../blocks/MediaBlock/config.ts'
-import { Quote } from '../../blocks/Quote/config.ts'
-import { YouTube } from '../../blocks/YouTube/config.ts'
-import { slugField } from '../../fields/slug/index.ts'
-import { WWW_SITE_ORIGIN } from '../../utilities/constants.ts'
-import { revalidateCustomer, revalidateDelete } from './hooks/revalidateCustomer.ts'
-
-const industryOptions = [
- { label: 'Healthcare', value: 'healthcare' },
- { label: 'Fintech', value: 'fintech' },
- { label: 'E-commerce', value: 'ecommerce' },
- { label: 'Education', value: 'education' },
- { label: 'Gaming', value: 'gaming' },
- { label: 'Media', value: 'media' },
- { label: 'Real Estate', value: 'real-estate' },
- { label: 'SaaS', value: 'saas' },
- { label: 'Social', value: 'social' },
- { label: 'Analytics', value: 'analytics' },
- { label: 'AI', value: 'ai' },
- { label: 'Developer Tools', value: 'developer-tools' },
-]
-
-const companySizeOptions = [
- { label: 'Startup', value: 'startup' },
- { label: 'Enterprise', value: 'enterprise' },
- { label: 'Independent Developer', value: 'indie_dev' },
-]
-
-const regionOptions = [
- { label: 'Asia', value: 'Asia' },
- { label: 'Europe', value: 'Europe' },
- { label: 'North America', value: 'North America' },
- { label: 'South America', value: 'South America' },
- { label: 'Africa', value: 'Africa' },
- { label: 'Oceania', value: 'Oceania' },
-]
-
-const supabaseProductOptions = [
- { label: 'Database', value: 'database' },
- { label: 'Auth', value: 'auth' },
- { label: 'Storage', value: 'storage' },
- { label: 'Realtime', value: 'realtime' },
- { label: 'Functions', value: 'functions' },
- { label: 'Vector', value: 'vector' },
-]
-
-export const Customers: CollectionConfig = {
- slug: 'customers',
- admin: {
- useAsTitle: 'name',
- defaultColumns: ['name', 'slug', 'updatedAt'],
- preview: (data) => {
- const baseUrl = WWW_SITE_ORIGIN || 'http://localhost:3000'
- const isDraft = data?._status === 'draft'
- return `${baseUrl}/customers/${data?.slug}${isDraft ? '?preview=true' : ''}`
- },
- },
- access: {
- // create: isAuthenticated,
- // delete: isAuthenticated,
- // read: isAnyone,
- // update: isAuthenticated,
- create: () => false,
- delete: () => false,
- read: () => false,
- update: () => false,
- },
- defaultPopulate: {
- name: true,
- title: true,
- slug: true,
- categories: true,
- meta: {
- image: true,
- description: true,
- },
- },
- fields: [
- {
- name: 'name',
- type: 'text',
- required: true,
- },
- {
- name: 'title',
- type: 'text',
- required: false,
- },
- ...slugField('name'),
- {
- type: 'tabs',
- tabs: [
- {
- label: 'Content',
- fields: [
- {
- name: 'content',
- type: 'richText',
- editor: lexicalEditor({
- features: ({ rootFeatures }) => {
- return [
- ...rootFeatures,
- HeadingFeature({ enabledHeadingSizes: ['h1', 'h2', 'h3', 'h4'] }),
- BlocksFeature({ blocks: [Banner, Code, MediaBlock, Quote, YouTube] }),
- FixedToolbarFeature(),
- InlineToolbarFeature(),
- HorizontalRuleFeature(),
- ]
- },
- }),
- label: false,
- required: true,
- },
- ],
- },
- {
- label: 'Metadata',
- fields: [
- {
- name: 'description',
- type: 'text',
- },
- {
- name: 'about',
- type: 'textarea',
- admin: {
- description: 'Short description about the company',
- },
- },
- {
- name: 'company_url',
- type: 'text',
- admin: {
- description: 'URL of the company website',
- },
- },
- {
- name: 'stats',
- type: 'array',
- admin: {
- description: 'Key statistics or metrics to highlight',
- },
- fields: [
- {
- name: 'stat',
- type: 'text',
- required: true,
- },
- {
- name: 'label',
- type: 'text',
- required: true,
- },
- ],
- },
- {
- name: 'misc',
- type: 'array',
- admin: {
- description: 'Miscellaneous information (e.g., Founded, Location)',
- },
- fields: [
- {
- name: 'label',
- type: 'text',
- required: true,
- },
- {
- name: 'text',
- type: 'text',
- required: true,
- },
- ],
- },
- {
- name: 'industry',
- type: 'select',
- hasMany: true,
- options: industryOptions,
- admin: {
- description: 'Industry categories',
- },
- },
- {
- name: 'company_size',
- type: 'select',
- options: companySizeOptions,
- admin: {
- description: 'Size of the company',
- },
- },
- {
- name: 'region',
- type: 'select',
- options: regionOptions,
- admin: {
- description: 'Geographic region',
- },
- },
- {
- name: 'supabase_products',
- type: 'select',
- hasMany: true,
- options: supabaseProductOptions,
- admin: {
- description: 'Supabase products being used',
- },
- },
- ],
- },
- {
- name: 'meta',
- label: 'SEO',
- fields: [
- OverviewField({
- titlePath: 'meta.name',
- descriptionPath: 'meta.description',
- imagePath: 'meta.image',
- }),
- MetaTitleField({
- hasGenerateFn: true,
- }),
- MetaImageField({
- relationTo: 'media',
- }),
-
- MetaDescriptionField({}),
- PreviewField({
- // if the `generateUrl` function is configured
- hasGenerateFn: true,
-
- // field paths to match the target field for data
- titlePath: 'meta.name',
- descriptionPath: 'meta.description',
- }),
- ],
- },
- ],
- },
- {
- name: 'publishedAt',
- type: 'date',
- admin: {
- date: {
- pickerAppearance: 'dayAndTime',
- },
- position: 'sidebar',
- },
- hooks: {
- beforeChange: [
- ({ siblingData, value }) => {
- if (siblingData._status === 'published' && !value) {
- return new Date()
- }
- return value
- },
- ],
- },
- },
- {
- name: 'logo',
- type: 'upload',
- relationTo: 'media',
- required: false,
- admin: {
- position: 'sidebar',
- },
- },
- {
- name: 'logo_inverse',
- type: 'upload',
- relationTo: 'media',
- required: false,
- admin: {
- position: 'sidebar',
- description: 'Light mode logo',
- },
- },
- ],
- timestamps: true,
- hooks: {
- afterChange: [revalidateCustomer],
- afterDelete: [revalidateDelete],
- },
- versions: {
- drafts: {
- // autosave: {
- // interval: 100,
- // },
- schedulePublish: true,
- },
- maxPerDoc: 50,
- },
-}
-
-export default Customers
diff --git a/apps/cms/src/collections/Events/hooks/revalidateEvent.ts b/apps/cms/src/collections/Events/hooks/revalidateEvent.ts
deleted file mode 100644
index 98d2a20b868..00000000000
--- a/apps/cms/src/collections/Events/hooks/revalidateEvent.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-import type { CollectionAfterChangeHook, CollectionAfterDeleteHook } from 'payload'
-
-// Avoid importing next/cache at module scope so migrations can run in a plain Node env
-
-import type { Event } from '../../../payload-types'
-
-export const revalidateEvent: CollectionAfterChangeHook<Event> = async ({
- doc,
- previousDoc,
- req: { payload, context },
-}) => {
- if (!context.disableRevalidate) {
- if (doc._status === 'published') {
- const path = `/events/${doc.slug}`
-
- payload.logger.info(`Revalidating event at path: ${path}`)
- try {
- const { revalidatePath, revalidateTag } = await import('next/cache')
- revalidatePath(path)
- revalidateTag('events-sitemap')
- } catch {}
- }
-
- // If the event was previously published, we need to revalidate the old path
- if (previousDoc._status === 'published' && doc._status !== 'published') {
- const oldPath = `/events/${previousDoc.slug}`
-
- payload.logger.info(`Revalidating old event at path: ${oldPath}`)
-
- try {
- const { revalidatePath, revalidateTag } = await import('next/cache')
- revalidatePath(oldPath)
- revalidateTag('events-sitemap')
- } catch {}
- }
- }
- return doc
-}
-
-export const revalidateDelete: CollectionAfterDeleteHook<Event> = async ({
- doc,
- req: { context },
-}) => {
- if (!context.disableRevalidate) {
- const path = `/events/${doc?.slug}`
- try {
- const { revalidatePath, revalidateTag } = await import('next/cache')
- revalidatePath(path)
- revalidateTag('events-sitemap')
- } catch {}
- }
-
- return doc
-}
diff --git a/apps/cms/src/collections/Events/index.ts b/apps/cms/src/collections/Events/index.ts
deleted file mode 100644
index 1f3896b5e3a..00000000000
--- a/apps/cms/src/collections/Events/index.ts
+++ /dev/null
@@ -1,407 +0,0 @@
-import {
- MetaDescriptionField,
- MetaImageField,
- MetaTitleField,
- OverviewField,
- PreviewField,
-} from '@payloadcms/plugin-seo/fields'
-import {
- BlocksFeature,
- FixedToolbarFeature,
- HeadingFeature,
- HorizontalRuleFeature,
- InlineToolbarFeature,
- lexicalEditor,
-} from '@payloadcms/richtext-lexical'
-import type { CollectionConfig } from 'payload'
-
-import { isAnyone } from '../../access/isAnyone.ts'
-import { isAuthenticated } from '../../access/isAuthenticated.ts'
-import { Banner } from '../../blocks/Banner/config.ts'
-import { Code } from '../../blocks/Code/config.ts'
-import { MediaBlock } from '../../blocks/MediaBlock/config.ts'
-import { Quote } from '../../blocks/Quote/config.ts'
-import { YouTube } from '../../blocks/YouTube/config.ts'
-import { slugField } from '../../fields/slug/index.ts'
-import { WWW_SITE_ORIGIN } from '../../utilities/constants.ts'
-import { timezoneOptions } from '../../utilities/timezones.ts'
-import { revalidateDelete, revalidateEvent } from './hooks/revalidateEvent.ts'
-
-const eventTypeOptions = [
- { label: 'Conference', value: 'conference' },
- { label: 'Hackathon', value: 'hackathon' },
- { label: 'Launch Week', value: 'launch-week' },
- { label: 'Meetup', value: 'meetup' },
- { label: 'Office Hours', value: 'office-hours' },
- { label: 'Talk', value: 'talk' },
- { label: 'Webinar', value: 'webinar' },
- { label: 'Workshop', value: 'workshop' },
- { label: 'Other', value: 'other' },
-]
-
-export const Events: CollectionConfig = {
- slug: 'events',
- admin: {
- useAsTitle: 'title',
- defaultColumns: ['title', 'slug', 'updatedAt'],
- preview: (data) => {
- const baseUrl = WWW_SITE_ORIGIN || 'http://localhost:3000'
- // Always use the preview route to ensure draft mode is enabled
- return `${baseUrl}/api-v2/cms/preview?slug=${data?.slug}&path=events&secret=${process.env.PREVIEW_SECRET || 'secret'}`
- },
- },
- access: {
- // create: isAuthenticated,
- // delete: isAuthenticated,
- // read: isAnyone,
- // update: isAuthenticated,
- create: () => false,
- delete: () => false,
- read: () => false,
- update: () => false,
- },
- defaultPopulate: {
- title: true,
- slug: true,
- categories: true,
- meta: {
- image: true,
- description: true,
- },
- },
- fields: [
- {
- name: 'title',
- type: 'text',
- required: true,
- },
- ...slugField(),
- {
- name: 'subtitle',
- type: 'text',
- admin: {
- description: 'Used in the event page as subtitle.',
- },
- },
- {
- type: 'tabs',
- tabs: [
- {
- label: 'Content',
- fields: [
- {
- name: 'content',
- type: 'richText',
- editor: lexicalEditor({
- features: ({ rootFeatures }) => {
- return [
- ...rootFeatures,
- HeadingFeature({ enabledHeadingSizes: ['h1', 'h2', 'h3', 'h4'] }),
- BlocksFeature({ blocks: [Banner, Code, MediaBlock, Quote, YouTube] }),
- FixedToolbarFeature(),
- InlineToolbarFeature(),
- HorizontalRuleFeature(),
- ]
- },
- }),
- label: false,
- required: false,
- },
- ],
- },
- {
- label: 'Metadata',
- fields: [
- {
- name: 'thumb',
- type: 'upload',
- relationTo: 'media',
- required: false,
- },
- {
- name: 'image',
- type: 'upload',
- relationTo: 'media',
- required: false,
- },
- {
- name: 'type',
- type: 'select',
- hasMany: true,
- options: eventTypeOptions,
- admin: {
- description: 'Event type',
- },
- },
- {
- name: 'date',
- type: 'date',
- admin: {
- date: {
- pickerAppearance: 'dayAndTime',
- },
- },
- },
- {
- name: 'timezone',
- type: 'select',
- options: timezoneOptions,
- },
- {
- name: 'showEndDate',
- type: 'checkbox',
- defaultValue: false,
- admin: {},
- },
- {
- name: 'endDate',
- type: 'date',
- admin: {
- description:
- 'If "showEndDate" is true, this will define when the event terminates.',
- condition: (data) => {
- return data.showEndDate
- },
- },
- },
- {
- name: 'duration',
- type: 'text',
- admin: {
- description:
- 'Text string to display on the event page to indicate the duration of the event. (e.g. "45 mins", "2 days")',
- },
- },
- {
- name: 'onDemand',
- type: 'checkbox',
- defaultValue: false,
- admin: {
- description:
- 'Events that are will remain available on the events page after the event has ended.',
- },
- },
- {
- name: 'disablePageBuild',
- type: 'checkbox',
- defaultValue: false,
- admin: {
- description:
- 'When true, the event page will not be built. It will link directly to an external event page (requires Link to be set)',
- },
- },
- {
- name: 'link',
- type: 'group',
- admin: {
- description:
- 'Used on event previews to link to a custom page if "disablePageBuild" is true.',
- condition: (data) => {
- return data.disablePageBuild
- },
- },
- fields: [
- {
- name: 'href',
- type: 'text',
- required: false,
- },
- {
- name: 'target',
- type: 'select',
- options: [
- { label: 'Same window', value: '_self' },
- { label: 'New window', value: '_blank' },
- ],
- defaultValue: '_blank',
- },
- ],
- },
- {
- name: 'mainCta',
- type: 'group',
- admin: {
- description: 'Main CTA button on the event page',
- },
- fields: [
- {
- name: 'href',
- type: 'text',
- required: false,
- },
- {
- name: 'target',
- type: 'select',
- options: [
- { label: 'Same window', value: '_self' },
- { label: 'New window', value: '_blank' },
- ],
- defaultValue: '_blank',
- },
- {
- name: 'label',
- type: 'text',
- },
- {
- name: 'disabled',
- type: 'checkbox',
- defaultValue: false,
- },
- {
- name: 'disabled_label',
- type: 'text',
- admin: {
- description: 'Text for the main CTA button if "mainCta.disabled" is true.',
- condition: (data) => data.mainCta.disabled,
- },
- },
- ],
- },
- ],
- },
- {
- label: 'Participants',
- fields: [
- {
- name: 'company',
- type: 'group',
- fields: [
- {
- name: 'showCompany',
- type: 'checkbox',
- defaultValue: false,
- admin: {
- description:
- 'If an external company is collaborating with the event, this will display their logo on the event page.',
- },
- },
- {
- name: 'name',
- type: 'text',
- required: false,
- admin: {
- condition: (data) => data.company.showCompany,
- },
- },
- {
- name: 'websiteUrl',
- type: 'text',
- admin: {
- condition: (data) => data.company.showCompany,
- },
- },
- {
- name: 'logo',
- type: 'upload',
- relationTo: 'media',
- required: false,
- admin: {
- condition: (data) => data.company.showCompany,
- },
- },
- {
- name: 'logo_light',
- type: 'upload',
- relationTo: 'media',
- required: false,
- admin: {
- description: 'Light mode logo',
- condition: (data) => data.company.showCompany,
- },
- },
- ],
- },
- {
- name: 'participants',
- type: 'group',
- fields: [
- {
- name: 'showParticipants',
- type: 'checkbox',
- defaultValue: false,
- admin: {
- description:
- 'Could be speakers, authors, guests, etc. It would source from Authors collections.',
- },
- },
- {
- name: 'participants',
- type: 'relationship',
- relationTo: 'authors',
- hasMany: true,
- admin: {
- condition: (data) => data.participants.showParticipants,
- },
- },
- ],
- },
- ],
- },
- {
- name: 'meta',
- label: 'SEO',
- fields: [
- OverviewField({
- titlePath: 'meta.title',
- descriptionPath: 'meta.description',
- imagePath: 'meta.image',
- }),
- MetaTitleField({
- hasGenerateFn: true,
- }),
- MetaImageField({
- relationTo: 'media',
- }),
-
- MetaDescriptionField({}),
- PreviewField({
- // if the `generateUrl` function is configured
- hasGenerateFn: true,
-
- // field paths to match the target field for data
- titlePath: 'meta.title',
- descriptionPath: 'meta.description',
- }),
- ],
- },
- ],
- },
- {
- name: 'publishedAt',
- type: 'date',
- admin: {
- date: {
- pickerAppearance: 'dayAndTime',
- },
- position: 'sidebar',
- },
- hooks: {
- beforeChange: [
- ({ siblingData, value }) => {
- if (siblingData._status === 'published' && !value) {
- return new Date()
- }
- return value
- },
- ],
- },
- },
- ],
- timestamps: true,
- hooks: {
- afterChange: [revalidateEvent],
- // afterRead: [populateAuthors],
- afterDelete: [revalidateDelete],
- },
- versions: {
- drafts: {
- // autosave: {
- // interval: 100,
- // },
- schedulePublish: true,
- },
- maxPerDoc: 50,
- },
-}
-
-export default Events
diff --git a/apps/cms/src/collections/Media.ts b/apps/cms/src/collections/Media.ts
deleted file mode 100644
index 2d29b0ac2a4..00000000000
--- a/apps/cms/src/collections/Media.ts
+++ /dev/null
@@ -1,71 +0,0 @@
-import {
- FixedToolbarFeature,
- InlineToolbarFeature,
- lexicalEditor,
-} from '@payloadcms/richtext-lexical'
-import type { CollectionConfig } from 'payload'
-
-import { isAnyone } from '../access/isAnyone.ts'
-import { isAuthenticated } from '../access/isAuthenticated.ts'
-
-export const Media: CollectionConfig = {
- slug: 'media',
- access: {
- create: isAuthenticated,
- delete: isAuthenticated,
- read: isAnyone,
- update: isAuthenticated,
- },
- fields: [
- {
- name: 'alt',
- type: 'text',
- },
- {
- name: 'caption',
- type: 'richText',
- editor: lexicalEditor({
- features: ({ rootFeatures }) => {
- return [...rootFeatures, FixedToolbarFeature(), InlineToolbarFeature()]
- },
- }),
- },
- ],
- upload: {
- adminThumbnail: 'thumbnail',
- focalPoint: true,
- imageSizes: [
- {
- name: 'thumbnail',
- width: 300,
- },
- {
- name: 'square',
- width: 500,
- height: 500,
- },
- {
- name: 'small',
- width: 600,
- },
- {
- name: 'medium',
- width: 900,
- },
- {
- name: 'large',
- width: 1400,
- },
- {
- name: 'xlarge',
- width: 1920,
- },
- {
- name: 'og',
- width: 1200,
- height: 630,
- crop: 'center',
- },
- ],
- },
-}
diff --git a/apps/cms/src/collections/Posts/hooks/populateAuthors.ts b/apps/cms/src/collections/Posts/hooks/populateAuthors.ts
deleted file mode 100644
index 8d854d65d26..00000000000
--- a/apps/cms/src/collections/Posts/hooks/populateAuthors.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import type { CollectionAfterReadHook } from 'payload'
-
-import type { Author } from '../../../payload-types'
-
-export const populateAuthors: CollectionAfterReadHook = async ({ doc, req: { payload } }) => {
- if (doc?.authors && doc?.authors?.length > 0) {
- const authorDocs: Author[] = []
-
- for (const author of doc.authors) {
- try {
- const authorDoc = await payload.findByID({
- id: typeof author === 'object' ? author?.id : author,
- collection: 'authors',
- depth: 0,
- })
-
- if (authorDoc) {
- authorDocs.push(authorDoc)
- }
-
- if (authorDocs.length > 0) {
- doc.populatedAuthors = authorDocs.map((authorDoc) => ({
- id: authorDoc.id,
- name: authorDoc.author,
- }))
- }
- } catch {
- // swallow error
- }
- }
- }
-
- return doc
-}
diff --git a/apps/cms/src/collections/Posts/hooks/revalidatePost.ts b/apps/cms/src/collections/Posts/hooks/revalidatePost.ts
deleted file mode 100644
index 018f7b9cb41..00000000000
--- a/apps/cms/src/collections/Posts/hooks/revalidatePost.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-import type { CollectionAfterChangeHook, CollectionAfterDeleteHook } from 'payload'
-
-// Avoid importing next/cache at module scope so migrations can run in a plain Node env
-
-import type { Post } from '../../../payload-types'
-
-export const revalidatePost: CollectionAfterChangeHook<Post> = async ({
- doc,
- previousDoc,
- req: { payload, context },
-}) => {
- if (!context.disableRevalidate) {
- if (doc._status === 'published') {
- const path = `/posts/${doc.slug}`
-
- payload.logger.info(`Revalidating post at path: ${path}`)
- try {
- const { revalidatePath, revalidateTag } = await import('next/cache')
- revalidatePath(path)
- revalidateTag('posts-sitemap')
- } catch {}
- }
-
- // If the post was previously published, we need to revalidate the old path
- if (previousDoc._status === 'published' && doc._status !== 'published') {
- const oldPath = `/posts/${previousDoc.slug}`
-
- payload.logger.info(`Revalidating old post at path: ${oldPath}`)
-
- try {
- const { revalidatePath, revalidateTag } = await import('next/cache')
- revalidatePath(oldPath)
- revalidateTag('posts-sitemap')
- } catch {}
- }
- }
- return doc
-}
-
-export const revalidateDelete: CollectionAfterDeleteHook<Post> = async ({
- doc,
- req: { context },
-}) => {
- if (!context.disableRevalidate) {
- const path = `/posts/${doc?.slug}`
- try {
- const { revalidatePath, revalidateTag } = await import('next/cache')
- revalidatePath(path)
- revalidateTag('posts-sitemap')
- } catch {}
- }
-
- return doc
-}
diff --git a/apps/cms/src/collections/Posts/index.ts b/apps/cms/src/collections/Posts/index.ts
deleted file mode 100644
index 51fc3534420..00000000000
--- a/apps/cms/src/collections/Posts/index.ts
+++ /dev/null
@@ -1,285 +0,0 @@
-import {
- MetaDescriptionField,
- MetaImageField,
- MetaTitleField,
- OverviewField,
- PreviewField,
-} from '@payloadcms/plugin-seo/fields'
-import {
- BlocksFeature,
- FixedToolbarFeature,
- HeadingFeature,
- HorizontalRuleFeature,
- InlineToolbarFeature,
- lexicalEditor,
-} from '@payloadcms/richtext-lexical'
-import type { CollectionConfig } from 'payload'
-
-import { isAnyone } from '../../access/isAnyone.ts'
-import { isAuthenticated } from '../../access/isAuthenticated.ts'
-import { Banner } from '../../blocks/Banner/config.ts'
-import { Code } from '../../blocks/Code/config.ts'
-import { MediaBlock } from '../../blocks/MediaBlock/config.ts'
-import { Quote } from '../../blocks/Quote/config.ts'
-import { YouTube } from '../../blocks/YouTube/config.ts'
-import { slugField } from '../../fields/slug/index.ts'
-import { WWW_SITE_ORIGIN } from '../../utilities/constants.ts'
-import { populateAuthors } from './hooks/populateAuthors.ts'
-import { revalidateDelete, revalidatePost } from './hooks/revalidatePost.ts'
-
-const launchweekOptions = [
- { label: '6', value: '6' },
- { label: '7', value: '7' },
- { label: '8', value: '8' },
- { label: 'x', value: 'x' },
- { label: 'ga', value: 'ga' },
- { label: '12', value: '12' },
- { label: '13', value: '13' },
- { label: '14', value: '14' },
- { label: '15', value: '15' },
-]
-
-export const Posts: CollectionConfig = {
- slug: 'posts',
- admin: {
- useAsTitle: 'title',
- defaultColumns: ['title', 'slug', 'updatedAt', 'publishedAt'],
- preview: (data) => {
- const baseUrl = WWW_SITE_ORIGIN || 'http://localhost:3000'
- // Always use the preview route to ensure draft mode is enabled
- return `${baseUrl}/api-v2/cms/preview?slug=${data?.slug}&secret=${process.env.PREVIEW_SECRET || 'secret'}`
- },
- },
- access: {
- create: isAuthenticated,
- delete: isAuthenticated,
- read: isAnyone,
- update: isAuthenticated,
- },
- defaultPopulate: {
- title: true,
- slug: true,
- categories: true,
- meta: {
- image: true,
- description: true,
- },
- },
- fields: [
- {
- name: 'title',
- type: 'text',
- required: true,
- index: true,
- },
- ...slugField(),
- {
- name: 'description',
- type: 'textarea',
- label: 'Description / subtitle',
- admin: {
- description: 'Appears as subheading in the blog post preview.',
- },
- },
- {
- type: 'tabs',
- tabs: [
- {
- fields: [
- {
- name: 'content',
- type: 'richText',
- editor: lexicalEditor({
- features: ({ rootFeatures }) => {
- return [
- ...rootFeatures,
- HeadingFeature({ enabledHeadingSizes: ['h1', 'h2', 'h3', 'h4'] }),
- BlocksFeature({ blocks: [Banner, Code, MediaBlock, Quote, YouTube] }),
- FixedToolbarFeature(),
- InlineToolbarFeature(),
- HorizontalRuleFeature(),
- ]
- },
- }),
- label: false,
- required: true,
- },
- ],
- label: 'Content',
- },
- {
- fields: [
- {
- name: 'thumb',
- type: 'upload',
- relationTo: 'media',
- required: false,
- admin: {
- description: 'Will show up as the blog post cover. Required.',
- },
- },
- {
- name: 'authors',
- type: 'relationship',
- relationTo: 'authors',
- hasMany: true,
- admin: {
- description: 'Authors must be one or more. Required.',
- },
- },
- {
- name: 'categories',
- type: 'relationship',
- hasMany: true,
- relationTo: 'categories',
- admin: {
- description: 'Select only one category. Required.',
- },
- },
- {
- name: 'readingTime',
- type: 'number',
- admin: {
- hidden: true,
- },
- },
- {
- name: 'tags',
- type: 'relationship',
- relationTo: 'tags',
- hasMany: true,
- admin: {
- description: 'Tags can be one or more. Optional.',
- },
- },
- {
- name: 'toc_depth',
- type: 'number',
- defaultValue: 3,
- admin: {
- hidden: true,
- },
- },
- {
- name: 'launchweek',
- type: 'select',
- options: launchweekOptions,
- admin: {
- description:
- 'Select a launch week to show launch week summary at the bottom of the blog post. Optional.',
- },
- },
- ],
- label: 'Metadata',
- },
- {
- name: 'meta',
- label: 'SEO',
- fields: [
- OverviewField({
- titlePath: 'meta.title',
- descriptionPath: 'meta.description',
- imagePath: 'meta.image',
- }),
- MetaTitleField({
- hasGenerateFn: true,
- overrides: {
- admin: {
- description: 'Defaults to the title of the post, if not set.',
- },
- },
- }),
- MetaImageField({
- relationTo: 'media',
- overrides: {
- admin: {
- description: 'Defaults to the "thumb" image, if not set.',
- },
- },
- }),
-
- MetaDescriptionField({
- overrides: {
- admin: {
- description: 'Defaults to the description of the post, if not set.',
- },
- },
- }),
- PreviewField({
- // if the `generateUrl` function is configured
- hasGenerateFn: true,
-
- // field paths to match the target field for data
- titlePath: 'meta.title',
- descriptionPath: 'meta.description',
- }),
- ],
- },
- ],
- },
- /**
- * "publishedAt" is only internal to cms to determine if the blog post is published or not, but it's not used for sorting blog posts in www
- * */
- {
- name: 'publishedAt',
- type: 'date',
- admin: {
- date: {
- pickerAppearance: 'dayAndTime',
- },
- position: 'sidebar',
- hidden: true,
- },
- hooks: {
- beforeChange: [
- ({ siblingData, value }) => {
- /**
- * Set the "date" field to the current date if user doesn't set it
- */
- if (!siblingData.date) {
- siblingData.date = new Date()
- }
- if (siblingData._status === 'published' && !value) {
- return new Date()
- }
- return value
- },
- ],
- },
- },
- /**
- * "date" is used to determine the chronological order of the blog post in www
- */
- {
- name: 'date',
- type: 'date',
- label: 'Blog Post Date',
- admin: {
- date: {
- pickerAppearance: 'dayAndTime',
- },
- description: 'This date will determine the chronological order of the blog post. Required.',
- position: 'sidebar',
- },
- },
- ],
- timestamps: true,
- hooks: {
- afterChange: [revalidatePost],
- afterRead: [populateAuthors],
- afterDelete: [revalidateDelete],
- },
- versions: {
- drafts: {
- // NOTE: disabled autosave as it might overload connections if many users are editing at the same time
- // autosave: {
- // interval: 200,
- // },
- // TODO: enable schedulePublish to work with cron job
- // schedulePublish: true,
- },
- maxPerDoc: 50,
- },
-}
-
-export default Posts
diff --git a/apps/cms/src/collections/Tags.ts b/apps/cms/src/collections/Tags.ts
deleted file mode 100644
index c3570155bdd..00000000000
--- a/apps/cms/src/collections/Tags.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import type { CollectionConfig } from 'payload'
-
-export const Tags: CollectionConfig = {
- slug: 'tags',
- admin: {
- useAsTitle: 'name',
- },
- access: {
- read: () => true,
- },
- fields: [
- {
- name: 'name',
- type: 'text',
- required: true,
- index: true,
- },
- ],
- timestamps: true,
-}
-
-export default Tags
diff --git a/apps/cms/src/collections/Users.ts b/apps/cms/src/collections/Users.ts
deleted file mode 100644
index e7d8db53cbf..00000000000
--- a/apps/cms/src/collections/Users.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-import type { CollectionConfig } from 'payload'
-
-import { isAdmin, isAdminFieldLevel } from '../access/isAdmin.ts'
-import { isAdminOrSelf } from '../access/isAdminOrSelf.ts'
-
-export const Users: CollectionConfig = {
- slug: 'users',
- admin: {
- useAsTitle: 'email',
- },
- auth: true,
- access: {
- // Only admins can create users
- create: isAdmin,
- // Admins can read all, but any other logged in user can only read themselves
- read: isAdminOrSelf,
- // Admins can update all, but any other logged in user can only update themselves
- update: isAdminOrSelf,
- // Only admins can delete
- delete: isAdmin,
- },
- fields: [
- {
- name: 'roles',
- // Save this field to JWT so we can use from `req.user`
- saveToJWT: true,
- type: 'select',
- hasMany: true,
- defaultValue: ['editor'],
- access: {
- // Only admins can create or update a value for this field
- create: isAdminFieldLevel,
- update: isAdminFieldLevel,
- },
- options: [
- {
- label: 'Admin',
- value: 'admin',
- },
- {
- label: 'Editor',
- value: 'editor',
- },
- ],
- },
- ],
-}
diff --git a/apps/cms/src/components/AdminBar/index.scss b/apps/cms/src/components/AdminBar/index.scss
deleted file mode 100644
index 54060c5ba48..00000000000
--- a/apps/cms/src/components/AdminBar/index.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-@import '~@payloadcms/ui/scss';
-
-.admin-bar {
- @include small-break {
- display: none;
- }
-}
diff --git a/apps/cms/src/components/AdminBar/index.tsx b/apps/cms/src/components/AdminBar/index.tsx
deleted file mode 100644
index f2d320a5f61..00000000000
--- a/apps/cms/src/components/AdminBar/index.tsx
+++ /dev/null
@@ -1,88 +0,0 @@
-'use client'
-
-import type { PayloadAdminBarProps, PayloadMeUser } from '@payloadcms/admin-bar'
-import { PayloadAdminBar } from '@payloadcms/admin-bar'
-import { useRouter, useSelectedLayoutSegments } from 'next/navigation'
-import React, { useState } from 'react'
-
-import { cn } from '@/utilities/ui'
-
-import './index.scss'
-
-import { getClientSideURL } from '@/utilities/getURL'
-
-const baseClass = 'admin-bar'
-
-const collectionLabels = {
- pages: {
- plural: 'Pages',
- singular: 'Page',
- },
- posts: {
- plural: 'Posts',
- singular: 'Post',
- },
- projects: {
- plural: 'Projects',
- singular: 'Project',
- },
-}
-
-const Title: React.FC = () => <span>Dashboard</span>
-
-export const AdminBar: React.FC<{
- adminBarProps?: PayloadAdminBarProps
-}> = (props) => {
- const { adminBarProps } = props || {}
- const segments = useSelectedLayoutSegments()
- const [show, setShow] = useState(false)
- const collection = (
- collectionLabels[segments?.[1] as keyof typeof collectionLabels] ? segments[1] : 'pages'
- ) as keyof typeof collectionLabels
- const router = useRouter()
-
- const onAuthChange = React.useCallback((user: PayloadMeUser) => {
- setShow(Boolean(user?.id))
- }, [])
-
- return (
- <div
- className={cn(baseClass, 'py-2 bg-black text-white', {
- block: show,
- hidden: !show,
- })}
- >
- <div className="container">
- <PayloadAdminBar
- {...adminBarProps}
- className="py-2 text-white"
- classNames={{
- controls: 'font-medium text-white',
- logo: 'text-white',
- user: 'text-white',
- }}
- cmsURL={getClientSideURL()}
- collectionSlug={collection}
- collectionLabels={{
- plural: collectionLabels[collection]?.plural || 'Pages',
- singular: collectionLabels[collection]?.singular || 'Page',
- }}
- logo={<Title />}
- onAuthChange={onAuthChange}
- onPreviewExit={() => {
- fetch('/next/exit-preview').then(() => {
- router.push('/')
- router.refresh()
- })
- }}
- style={{
- backgroundColor: 'transparent',
- padding: 0,
- position: 'relative',
- zIndex: 'unset',
- }}
- />
- </div>
- </div>
- )
-}
diff --git a/apps/cms/src/components/BeforeDashboard/index.scss b/apps/cms/src/components/BeforeDashboard/index.scss
deleted file mode 100644
index 7169b4f620e..00000000000
--- a/apps/cms/src/components/BeforeDashboard/index.scss
+++ /dev/null
@@ -1,24 +0,0 @@
-@import '~@payloadcms/ui/scss';
-
-.dashboard .before-dashboard {
- margin-bottom: base(1.5);
-
- &__banner {
- & h4 {
- margin: 0;
- }
- }
-
- &__instructions {
- list-style: decimal;
- margin-bottom: base(0.5);
-
- & li {
- width: 100%;
- }
- }
-
- & a:hover {
- opacity: 0.85;
- }
-}
diff --git a/apps/cms/src/components/BeforeDashboard/index.tsx b/apps/cms/src/components/BeforeDashboard/index.tsx
deleted file mode 100644
index 78bb10241e6..00000000000
--- a/apps/cms/src/components/BeforeDashboard/index.tsx
+++ /dev/null
@@ -1,72 +0,0 @@
-import { Banner } from '@payloadcms/ui/elements/Banner'
-import React from 'react'
-
-import './index.scss'
-
-const baseClass = 'before-dashboard'
-
-const BeforeDashboard: React.FC = () => {
- return (
- <div className={baseClass}>
- <Banner className={`${baseClass}__banner`} type="success">
- <h4>Welcome to your dashboard!</h4>
- </Banner>
- Here&apos;s what to do next:
- <ul className={`${baseClass}__instructions`}>
- <li>
- {' with a few pages, posts, and projects to jump-start your new site, then '}
- <a href="/" target="_blank">
- visit your website
- </a>
- {' to see the results.'}
- </li>
- <li>
- If you created this repo using Payload Cloud, head over to GitHub and clone it to your
- local machine. It will be under the <i>GitHub Scope</i> that you selected when creating
- this project.
- </li>
- <li>
- {'Modify your '}
- <a
- href="https://payloadcms.com/docs/configuration/collections"
- rel="noopener noreferrer"
- target="_blank"
- >
- collections
- </a>
- {' and add more '}
- <a
- href="https://payloadcms.com/docs/fields/overview"
- rel="noopener noreferrer"
- target="_blank"
- >
- fields
- </a>
- {' as needed. If you are new to Payload, we also recommend you check out the '}
- <a
- href="https://payloadcms.com/docs/getting-started/what-is-payload"
- rel="noopener noreferrer"
- target="_blank"
- >
- Getting Started
- </a>
- {' docs.'}
- </li>
- <li>
- Commit and push your changes to the repository to trigger a redeployment of your project.
- </li>
- </ul>
- {'Pro Tip: This block is a '}
- <a
- href="https://payloadcms.com/docs/admin/custom-components/overview#base-component-overrides"
- rel="noopener noreferrer"
- target="_blank"
- >
- custom component
- </a>
- , you can remove it at any time by updating your <strong>payload.config</strong>.
- </div>
- )
-}
-
-export default BeforeDashboard
diff --git a/apps/cms/src/components/BeforeLogin/index.tsx b/apps/cms/src/components/BeforeLogin/index.tsx
deleted file mode 100644
index 8768831c820..00000000000
--- a/apps/cms/src/components/BeforeLogin/index.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react'
-
-const BeforeLogin: React.FC = () => {
- return (
- <div>
- <p>
- <b>Welcome to your dashboard!</b>
- {' This is where site admins will log in to manage your website.'}
- </p>
- </div>
- )
-}
-
-export default BeforeLogin
diff --git a/apps/cms/src/components/Card/index.tsx b/apps/cms/src/components/Card/index.tsx
deleted file mode 100644
index 23f5aa30afb..00000000000
--- a/apps/cms/src/components/Card/index.tsx
+++ /dev/null
@@ -1,88 +0,0 @@
-'use client'
-
-import Link from 'next/link'
-import React, { Fragment } from 'react'
-
-import { Media } from '@/components/Media'
-import type { Post } from '@/payload-types'
-import { cn } from '@/utilities/ui'
-import useClickableCard from '@/utilities/useClickableCard'
-
-export type CardPostData = Pick<Post, 'slug' | 'categories' | 'meta' | 'title'>
-
-export const Card: React.FC<{
- alignItems?: 'center'
- className?: string
- doc?: CardPostData
- relationTo?: 'posts'
- showCategories?: boolean
- title?: string
-}> = (props) => {
- const { card, link } = useClickableCard({})
- const { className, doc, relationTo, showCategories, title: titleFromProps } = props
-
- const { slug, categories, meta, title } = doc || {}
- const { description, image: metaImage } = meta || {}
-
- const hasCategories = categories && Array.isArray(categories) && categories.length > 0
- const titleToUse = titleFromProps || title
- const sanitizedDescription = description?.replace(/\s/g, ' ') // replace non-breaking space with white space
- const href = `/${relationTo}/${slug}`
-
- return (
- <article
- className={cn(
- 'border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer',
- className
- )}
- ref={card.ref as React.Ref<HTMLDivElement>}
- >
- <div className="relative w-full ">
- {!metaImage && <div className="">No image</div>}
- {metaImage && typeof metaImage !== 'string' && <Media resource={metaImage} size="33vw" />}
- </div>
- <div className="p-4">
- {showCategories && hasCategories && (
- <div className="uppercase text-sm mb-4">
- {showCategories && hasCategories && (
- <div>
- {categories?.map((category, index) => {
- if (typeof category === 'object') {
- const { name: nameFromCategory } = category
-
- const categoryName = nameFromCategory || 'Untitled category'
-
- const isLast = index === categories.length - 1
-
- return (
- <Fragment key={index}>
- {categoryName}
- {!isLast && <Fragment>, &nbsp;</Fragment>}
- </Fragment>
- )
- }
-
- return null
- })}
- </div>
- )}
- </div>
- )}
- {titleToUse && (
- <div className="prose">
- <h3>
- <Link
- className="not-prose"
- href={href}
- ref={link.ref as React.Ref<HTMLAnchorElement>}
- >
- {titleToUse}
- </Link>
- </h3>
- </div>
- )}
- {description && <div className="mt-2">{description && <p>{sanitizedDescription}</p>}</div>}
- </div>
- </article>
- )
-}
diff --git a/apps/cms/src/components/CollectionArchive/index.tsx b/apps/cms/src/components/CollectionArchive/index.tsx
deleted file mode 100644
index c88528f365c..00000000000
--- a/apps/cms/src/components/CollectionArchive/index.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import React from 'react'
-
-import { Card, CardPostData } from '@/components/Card'
-import { cn } from '@/utilities/ui'
-
-export type Props = {
- posts: CardPostData[]
-}
-
-export const CollectionArchive: React.FC<Props> = (props) => {
- const { posts } = props
-
- return (
- <div className={cn('container')}>
- <div>
- <div className="grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8">
- {posts?.map((result, index) => {
- if (typeof result === 'object' && result !== null) {
- return (
- <div className="col-span-4" key={index}>
- <Card className="h-full" doc={result} relationTo="posts" showCategories />
- </div>
- )
- }
-
- return null
- })}
- </div>
- </div>
- </div>
- )
-}
diff --git a/apps/cms/src/components/Link/index.tsx b/apps/cms/src/components/Link/index.tsx
deleted file mode 100644
index 39a429b40cc..00000000000
--- a/apps/cms/src/components/Link/index.tsx
+++ /dev/null
@@ -1,64 +0,0 @@
-import Link from 'next/link'
-import React from 'react'
-
-import { Button, type ButtonProps } from '@/components/ui/button'
-import type { Post } from '@/payload-types'
-import { cn } from '@/utilities/ui'
-
-type CMSLinkType = {
- appearance?: 'inline' | ButtonProps['variant']
- children?: React.ReactNode
- className?: string
- label?: string | null
- newTab?: boolean | null
- reference?: {
- relationTo: 'posts'
- value: Post | string | number
- } | null
- size?: ButtonProps['size'] | null
- type?: 'custom' | 'reference' | null
- url?: string | null
-}
-
-export const CMSLink: React.FC<CMSLinkType> = (props) => {
- const {
- type,
- appearance = 'inline',
- children,
- className,
- label,
- newTab,
- reference,
- size: sizeFromProps,
- url,
- } = props
-
- const href =
- type === 'reference' && typeof reference?.value === 'object' && reference.value.slug
- ? `/${reference.value.slug}`
- : url
-
- if (!href) return null
-
- const size = appearance === 'link' ? 'clear' : sizeFromProps
- const newTabProps = newTab ? { rel: 'noopener noreferrer', target: '_blank' } : {}
-
- /* Ensure we don't break any styles set by richText */
- if (appearance === 'inline') {
- return (
- <Link className={cn(className)} href={href || url || ''} {...newTabProps}>
- {label && label}
- {children && children}
- </Link>
- )
- }
-
- return (
- <Button asChild className={className} size={size} variant={appearance}>
- <Link className={cn(className)} href={href || url || ''} {...newTabProps}>
- {label && label}
- {children && children}
- </Link>
- </Button>
- )
-}
diff --git a/apps/cms/src/components/LivePreviewListener/index.tsx b/apps/cms/src/components/LivePreviewListener/index.tsx
deleted file mode 100644
index 856d773acd4..00000000000
--- a/apps/cms/src/components/LivePreviewListener/index.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-'use client'
-
-import { RefreshRouteOnSave as PayloadLivePreview } from '@payloadcms/live-preview-react'
-import { useRouter } from 'next/navigation'
-import React from 'react'
-
-import { getClientSideURL } from '@/utilities/getURL'
-
-export const LivePreviewListener: React.FC = () => {
- const router = useRouter()
- return <PayloadLivePreview refresh={router.refresh} serverURL={getClientSideURL()} />
-}
diff --git a/apps/cms/src/components/Logo/Logo.tsx b/apps/cms/src/components/Logo/Logo.tsx
deleted file mode 100644
index 660cf3867a3..00000000000
--- a/apps/cms/src/components/Logo/Logo.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import clsx from 'clsx'
-import React from 'react'
-
-interface Props {
- className?: string
- loading?: 'lazy' | 'eager'
- priority?: 'auto' | 'high' | 'low'
-}
-
-export const Logo = (props: Props) => {
- const { loading: loadingFromProps, priority: priorityFromProps, className } = props
-
- const loading = loadingFromProps || 'lazy'
- const priority = priorityFromProps || 'low'
-
- return (
- /* eslint-disable @next/next/no-img-element */
- <img
- alt="Supabase Logo"
- width={193}
- height={34}
- loading={loading}
- fetchPriority={priority}
- decoding="async"
- className={clsx('max-w-[9.375rem] w-full h-[34px]', className)}
- src="https://supabase.com/_next/image?url=https%3A%2F%2Ffrontend-assets.supabase.com%2Fwww%2F34022bd5708c%2F_next%2Fstatic%2Fmedia%2Fsupabase-logo-wordmark--dark.b36ebb5f.png&w=256&q=75&dpl=dpl_EbjEEHsJWQ5nbTaMsQgJBoZ7tBCD"
- />
- )
-}
diff --git a/apps/cms/src/components/Media/ImageMedia/index.tsx b/apps/cms/src/components/Media/ImageMedia/index.tsx
deleted file mode 100644
index 5cd28b8e23d..00000000000
--- a/apps/cms/src/components/Media/ImageMedia/index.tsx
+++ /dev/null
@@ -1,75 +0,0 @@
-'use client'
-
-import type { StaticImageData } from 'next/image'
-import NextImage from 'next/image'
-import React from 'react'
-
-import type { Props as MediaProps } from '../types'
-import { cssVariables } from '@/cssVariables'
-import { getClientSideURL } from '@/utilities/getURL'
-import { cn } from '@/utilities/ui'
-
-const { breakpoints } = cssVariables
-
-// A base64 encoded image to use as a placeholder while the image is loading
-const placeholderBlur =
- 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII='
-
-export const ImageMedia: React.FC<MediaProps> = (props) => {
- const {
- alt: altFromProps,
- fill,
- pictureClassName,
- imgClassName,
- priority,
- resource,
- size: sizeFromProps,
- src: srcFromProps,
- loading: loadingFromProps,
- } = props
-
- let width: number | undefined
- let height: number | undefined
- let alt = altFromProps
- let src: StaticImageData | string = srcFromProps || ''
-
- if (!src && resource && typeof resource === 'object') {
- const { alt: altFromResource, height: fullHeight, url, width: fullWidth } = resource
-
- width = fullWidth!
- height = fullHeight!
- alt = altFromResource || ''
-
- const cacheTag = resource.updatedAt
-
- src = `${getClientSideURL()}${url}?${cacheTag}`
- }
-
- const loading = loadingFromProps || (!priority ? 'lazy' : undefined)
-
- // NOTE: this is used by the browser to determine which image to download at different screen sizes
- const sizes = sizeFromProps
- ? sizeFromProps
- : Object.entries(breakpoints)
- .map(([, value]) => `(max-width: ${value}px) ${value * 2}w`)
- .join(', ')
-
- return (
- <picture className={cn(pictureClassName)}>
- <NextImage
- alt={alt || ''}
- className={cn(imgClassName)}
- fill={fill}
- height={!fill ? height : undefined}
- placeholder="blur"
- blurDataURL={placeholderBlur}
- priority={priority}
- quality={100}
- loading={loading}
- sizes={sizes}
- src={src}
- width={!fill ? width : undefined}
- />
- </picture>
- )
-}
diff --git a/apps/cms/src/components/Media/VideoMedia/index.tsx b/apps/cms/src/components/Media/VideoMedia/index.tsx
deleted file mode 100644
index 93632475505..00000000000
--- a/apps/cms/src/components/Media/VideoMedia/index.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-'use client'
-
-import React, { useEffect, useRef } from 'react'
-
-import type { Props as MediaProps } from '../types'
-import { getClientSideURL } from '@/utilities/getURL'
-import { cn } from '@/utilities/ui'
-
-export const VideoMedia: React.FC<MediaProps> = (props) => {
- const { onClick, resource, videoClassName } = props
-
- const videoRef = useRef<HTMLVideoElement>(null)
- // const [showFallback] = useState<boolean>()
-
- useEffect(() => {
- const { current: video } = videoRef
- if (video) {
- video.addEventListener('suspend', () => {
- // setShowFallback(true);
- // console.warn('Video was suspended, rendering fallback image.')
- })
- }
- }, [])
-
- if (resource && typeof resource === 'object') {
- const { filename } = resource
-
- return (
- <video
- autoPlay
- className={cn(videoClassName)}
- controls={false}
- loop
- muted
- onClick={onClick}
- playsInline
- ref={videoRef}
- >
- <source src={`${getClientSideURL()}/media/${filename}`} />
- </video>
- )
- }
-
- return null
-}
diff --git a/apps/cms/src/components/Media/index.tsx b/apps/cms/src/components/Media/index.tsx
deleted file mode 100644
index 56bf75d872e..00000000000
--- a/apps/cms/src/components/Media/index.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import React, { Fragment } from 'react'
-
-import { ImageMedia } from './ImageMedia'
-import type { Props } from './types'
-import { VideoMedia } from './VideoMedia'
-
-export const Media: React.FC<Props> = (props) => {
- const { className, htmlElement = 'div', resource } = props
-
- const isVideo = typeof resource === 'object' && resource?.mimeType?.includes('video')
- const Tag = htmlElement || Fragment
-
- return (
- <Tag
- {...(htmlElement !== null
- ? {
- className,
- }
- : {})}
- >
- {isVideo ? <VideoMedia {...props} /> : <ImageMedia {...props} />}
- </Tag>
- )
-}
diff --git a/apps/cms/src/components/Media/types.ts b/apps/cms/src/components/Media/types.ts
deleted file mode 100644
index 3bbbf225878..00000000000
--- a/apps/cms/src/components/Media/types.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import type { StaticImageData } from 'next/image'
-import type { ElementType, Ref } from 'react'
-
-import type { Media as MediaType } from '@/payload-types'
-
-export interface Props {
- alt?: string
- className?: string
- fill?: boolean // for NextImage only
- htmlElement?: ElementType | null
- pictureClassName?: string
- imgClassName?: string
- onClick?: () => void
- onLoad?: () => void
- loading?: 'lazy' | 'eager' // for NextImage only
- priority?: boolean // for NextImage only
- ref?: Ref<HTMLImageElement | HTMLVideoElement | null>
- resource?: MediaType | string | number | null // for Payload media
- size?: string // for NextImage only
- src?: StaticImageData // for static media
- videoClassName?: string
-}
diff --git a/apps/cms/src/components/PageRange/index.tsx b/apps/cms/src/components/PageRange/index.tsx
deleted file mode 100644
index 2a3a39ddabe..00000000000
--- a/apps/cms/src/components/PageRange/index.tsx
+++ /dev/null
@@ -1,57 +0,0 @@
-import React from 'react'
-
-const defaultLabels = {
- plural: 'Docs',
- singular: 'Doc',
-}
-
-const defaultCollectionLabels = {
- posts: {
- plural: 'Posts',
- singular: 'Post',
- },
-}
-
-export const PageRange: React.FC<{
- className?: string
- collection?: keyof typeof defaultCollectionLabels
- collectionLabels?: {
- plural?: string
- singular?: string
- }
- currentPage?: number
- limit?: number
- totalDocs?: number
-}> = (props) => {
- const {
- className,
- collection,
- collectionLabels: collectionLabelsFromProps,
- currentPage,
- limit,
- totalDocs,
- } = props
-
- let indexStart = (currentPage ? currentPage - 1 : 1) * (limit || 1) + 1
- if (totalDocs && indexStart > totalDocs) indexStart = 0
-
- let indexEnd = (currentPage || 1) * (limit || 1)
- if (totalDocs && indexEnd > totalDocs) indexEnd = totalDocs
-
- const { plural, singular } =
- collectionLabelsFromProps ||
- (collection ? defaultCollectionLabels[collection] : undefined) ||
- defaultLabels ||
- {}
-
- return (
- <div className={[className, 'font-semibold'].filter(Boolean).join(' ')}>
- {(typeof totalDocs === 'undefined' || totalDocs === 0) && 'Search produced no results.'}
- {typeof totalDocs !== 'undefined' &&
- totalDocs > 0 &&
- `Showing ${indexStart}${indexStart > 0 ? ` - ${indexEnd}` : ''} of ${totalDocs} ${
- totalDocs > 1 ? plural : singular
- }`}
- </div>
- )
-}
diff --git a/apps/cms/src/components/Pagination/index.tsx b/apps/cms/src/components/Pagination/index.tsx
deleted file mode 100644
index bac01a968c4..00000000000
--- a/apps/cms/src/components/Pagination/index.tsx
+++ /dev/null
@@ -1,103 +0,0 @@
-'use client'
-
-import { useRouter } from 'next/navigation'
-import React from 'react'
-
-import {
- Pagination as PaginationComponent,
- PaginationContent,
- PaginationEllipsis,
- PaginationItem,
- PaginationLink,
- PaginationNext,
- PaginationPrevious,
-} from '@/components/ui/pagination'
-import { cn } from '@/utilities/ui'
-
-export const Pagination: React.FC<{
- className?: string
- page: number
- totalPages: number
-}> = (props) => {
- const router = useRouter()
-
- const { className, page, totalPages } = props
- const hasNextPage = page < totalPages
- const hasPrevPage = page > 1
-
- const hasExtraPrevPages = page - 1 > 1
- const hasExtraNextPages = page + 1 < totalPages
-
- return (
- <div className={cn('my-12', className)}>
- <PaginationComponent>
- <PaginationContent>
- <PaginationItem>
- <PaginationPrevious
- disabled={!hasPrevPage}
- onClick={() => {
- router.push(`/posts/page/${page - 1}`)
- }}
- />
- </PaginationItem>
-
- {hasExtraPrevPages && (
- <PaginationItem>
- <PaginationEllipsis />
- </PaginationItem>
- )}
-
- {hasPrevPage && (
- <PaginationItem>
- <PaginationLink
- onClick={() => {
- router.push(`/posts/page/${page - 1}`)
- }}
- >
- {page - 1}
- </PaginationLink>
- </PaginationItem>
- )}
-
- <PaginationItem>
- <PaginationLink
- isActive
- onClick={() => {
- router.push(`/posts/page/${page}`)
- }}
- >
- {page}
- </PaginationLink>
- </PaginationItem>
-
- {hasNextPage && (
- <PaginationItem>
- <PaginationLink
- onClick={() => {
- router.push(`/posts/page/${page + 1}`)
- }}
- >
- {page + 1}
- </PaginationLink>
- </PaginationItem>
- )}
-
- {hasExtraNextPages && (
- <PaginationItem>
- <PaginationEllipsis />
- </PaginationItem>
- )}
-
- <PaginationItem>
- <PaginationNext
- disabled={!hasNextPage}
- onClick={() => {
- router.push(`/posts/page/${page + 1}`)
- }}
- />
- </PaginationItem>
- </PaginationContent>
- </PaginationComponent>
- </div>
- )
-}
diff --git a/apps/cms/src/components/RichText/index.tsx b/apps/cms/src/components/RichText/index.tsx
deleted file mode 100644
index 50a48615ffb..00000000000
--- a/apps/cms/src/components/RichText/index.tsx
+++ /dev/null
@@ -1,85 +0,0 @@
-import {
- DefaultNodeTypes,
- SerializedBlockNode,
- SerializedLinkNode,
- type DefaultTypedEditorState,
-} from '@payloadcms/richtext-lexical'
-import {
- RichText as ConvertRichText,
- JSXConvertersFunction,
- LinkJSXConverter,
-} from '@payloadcms/richtext-lexical/react'
-
-import { BannerBlock } from '@/blocks/Banner/Component'
-import { CodeBlock, CodeBlockProps } from '@/blocks/Code/Component'
-import { MediaBlock } from '@/blocks/MediaBlock/Component'
-import { QuoteBlock } from '@/blocks/Quote/Component'
-import { YouTubeBlock } from '@/blocks/YouTube/Component'
-import type {
- BannerBlock as BannerBlockProps,
- MediaBlock as MediaBlockProps,
- QuoteBlock as QuoteBlockProps,
- YouTubeBlock as YouTubeBlockProps,
-} from '@/payload-types'
-import { cn } from '@/utilities/ui'
-
-type NodeTypes =
- | DefaultNodeTypes
- | SerializedBlockNode<
- MediaBlockProps | BannerBlockProps | CodeBlockProps | QuoteBlockProps | YouTubeBlockProps
- >
-
-const internalDocToHref = ({ linkNode }: { linkNode: SerializedLinkNode }) => {
- const { value, relationTo } = linkNode.fields.doc!
- if (typeof value !== 'object') {
- throw new Error('Expected value to be an object')
- }
- const slug = value.slug
- return relationTo === 'posts' ? `/posts/${slug}` : `/${slug}`
-}
-
-const jsxConverters: JSXConvertersFunction<NodeTypes> = ({ defaultConverters }) => ({
- ...defaultConverters,
- ...LinkJSXConverter({ internalDocToHref }),
- blocks: {
- banner: ({ node }) => <BannerBlock className="col-start-2 mb-4" {...node.fields} />,
- mediaBlock: ({ node }) => (
- <MediaBlock
- className="col-start-1 col-span-3"
- imgClassName="m-0"
- {...node.fields}
- captionClassName="mx-auto max-w-[48rem]"
- enableGutter={false}
- disableInnerContainer={true}
- />
- ),
- code: ({ node }) => <CodeBlock className="col-start-2" {...node.fields} />,
- quote: ({ node }) => <QuoteBlock className="col-start-2" {...node.fields} />,
- youtube: ({ node }) => <YouTubeBlock className="col-start-2" {...node.fields} />,
- },
-})
-
-type Props = {
- data: DefaultTypedEditorState
- enableGutter?: boolean
- enableProse?: boolean
-} & React.HTMLAttributes<HTMLDivElement>
-
-export default function RichText(props: Props) {
- const { className, enableProse = true, enableGutter = true, ...rest } = props
- return (
- <ConvertRichText
- converters={jsxConverters}
- className={cn(
- 'payload-richtext',
- {
- container: enableGutter,
- 'max-w-none': !enableGutter,
- 'mx-auto prose md:prose-md dark:prose-invert': enableProse,
- },
- className
- )}
- {...rest}
- />
- )
-}
diff --git a/apps/cms/src/components/ui/button.tsx b/apps/cms/src/components/ui/button.tsx
deleted file mode 100644
index 34e2a4435fa..00000000000
--- a/apps/cms/src/components/ui/button.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-import { Slot } from '@radix-ui/react-slot'
-import { cva, type VariantProps } from 'class-variance-authority'
-import * as React from 'react'
-
-import { cn } from '@/utilities/ui'
-
-const buttonVariants = cva(
- 'inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
- {
- defaultVariants: {
- size: 'default',
- variant: 'default',
- },
- variants: {
- size: {
- clear: '',
- default: 'h-10 px-4 py-2',
- icon: 'h-10 w-10',
- lg: 'h-11 rounded px-8',
- sm: 'h-9 rounded px-3',
- },
- variant: {
- default: 'bg-primary text-primary-foreground hover:bg-primary/90',
- destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
- ghost: 'hover:bg-card hover:text-accent-foreground',
- link: 'text-primary items-start justify-start underline-offset-4 hover:underline',
- outline: 'border border-border bg-background hover:bg-card hover:text-accent-foreground',
- secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
- },
- },
- }
-)
-
-export interface ButtonProps
- extends React.ButtonHTMLAttributes<HTMLButtonElement>,
- VariantProps<typeof buttonVariants> {
- asChild?: boolean
- ref?: React.Ref<HTMLButtonElement>
-}
-
-const Button: React.FC<ButtonProps> = ({
- asChild = false,
- className,
- size,
- variant,
- ref,
- ...props
-}) => {
- const Comp = asChild ? Slot : 'button'
- return <Comp className={cn(buttonVariants({ className, size, variant }))} ref={ref} {...props} />
-}
-
-export { Button, buttonVariants }
diff --git a/apps/cms/src/components/ui/card.tsx b/apps/cms/src/components/ui/card.tsx
deleted file mode 100644
index 7a37960d69f..00000000000
--- a/apps/cms/src/components/ui/card.tsx
+++ /dev/null
@@ -1,49 +0,0 @@
-import * as React from 'react'
-
-import { cn } from '@/utilities/ui'
-
-const Card: React.FC<
- { ref?: React.Ref<HTMLDivElement> } & React.HTMLAttributes<HTMLDivElement>
-> = ({ className, ref, ...props }) => (
- <div
- className={cn('rounded-lg border bg-card text-card-foreground shadow-sm', className)}
- ref={ref}
- {...props}
- />
-)
-
-const CardHeader: React.FC<
- { ref?: React.Ref<HTMLDivElement> } & React.HTMLAttributes<HTMLDivElement>
-> = ({ className, ref, ...props }) => (
- <div className={cn('flex flex-col space-y-1.5 p-6', className)} ref={ref} {...props} />
-)
-
-const CardTitle: React.FC<
- { ref?: React.Ref<HTMLHeadingElement> } & React.HTMLAttributes<HTMLHeadingElement>
-> = ({ className, ref, ...props }) => (
- <h3
- className={cn('text-2xl font-semibold leading-none tracking-tight', className)}
- ref={ref}
- {...props}
- />
-)
-
-const CardDescription: React.FC<
- { ref?: React.Ref<HTMLParagraphElement> } & React.HTMLAttributes<HTMLParagraphElement>
-> = ({ className, ref, ...props }) => (
- <p className={cn('text-sm text-muted-foreground', className)} ref={ref} {...props} />
-)
-
-const CardContent: React.FC<
- { ref?: React.Ref<HTMLDivElement> } & React.HTMLAttributes<HTMLDivElement>
-> = ({ className, ref, ...props }) => (
- <div className={cn('p-6 pt-0', className)} ref={ref} {...props} />
-)
-
-const CardFooter: React.FC<
- { ref?: React.Ref<HTMLDivElement> } & React.HTMLAttributes<HTMLDivElement>
-> = ({ className, ref, ...props }) => (
- <div className={cn('flex items-center p-6 pt-0', className)} ref={ref} {...props} />
-)
-
-export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
diff --git a/apps/cms/src/components/ui/checkbox.tsx b/apps/cms/src/components/ui/checkbox.tsx
deleted file mode 100644
index 0a83952d88e..00000000000
--- a/apps/cms/src/components/ui/checkbox.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-'use client'
-
-import * as CheckboxPrimitive from '@radix-ui/react-checkbox'
-import { Check } from 'lucide-react'
-import * as React from 'react'
-
-import { cn } from '@/utilities/ui'
-
-const Checkbox: React.FC<
- {
- ref?: React.Ref<HTMLButtonElement>
- } & React.ComponentProps<typeof CheckboxPrimitive.Root>
-> = ({ className, ref, ...props }) => (
- <CheckboxPrimitive.Root
- className={cn(
- 'peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground',
- className
- )}
- ref={ref}
- {...props}
- >
- <CheckboxPrimitive.Indicator className={cn('flex items-center justify-center text-current')}>
- <Check className="h-4 w-4" />
- </CheckboxPrimitive.Indicator>
- </CheckboxPrimitive.Root>
-)
-
-export { Checkbox }
diff --git a/apps/cms/src/components/ui/input.tsx b/apps/cms/src/components/ui/input.tsx
deleted file mode 100644
index b8a2213b694..00000000000
--- a/apps/cms/src/components/ui/input.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import * as React from 'react'
-
-import { cn } from '@/utilities/ui'
-
-const Input: React.FC<
- {
- ref?: React.Ref<HTMLInputElement>
- } & React.InputHTMLAttributes<HTMLInputElement>
-> = ({ type, className, ref, ...props }) => {
- return (
- <input
- className={cn(
- 'flex h-10 w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
- className
- )}
- ref={ref}
- type={type}
- {...props}
- />
- )
-}
-
-export { Input }
diff --git a/apps/cms/src/components/ui/label.tsx b/apps/cms/src/components/ui/label.tsx
deleted file mode 100644
index 270f65df45f..00000000000
--- a/apps/cms/src/components/ui/label.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-'use client'
-
-import * as LabelPrimitive from '@radix-ui/react-label'
-import { cva, type VariantProps } from 'class-variance-authority'
-import * as React from 'react'
-
-import { cn } from '@/utilities/ui'
-
-const labelVariants = cva(
- 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70'
-)
-
-const Label: React.FC<
- { ref?: React.Ref<HTMLLabelElement> } & React.ComponentProps<typeof LabelPrimitive.Root> &
- VariantProps<typeof labelVariants>
-> = ({ className, ref, ...props }) => (
- <LabelPrimitive.Root className={cn(labelVariants(), className)} ref={ref} {...props} />
-)
-
-export { Label }
diff --git a/apps/cms/src/components/ui/pagination.tsx b/apps/cms/src/components/ui/pagination.tsx
deleted file mode 100644
index 37f29bf5ac3..00000000000
--- a/apps/cms/src/components/ui/pagination.tsx
+++ /dev/null
@@ -1,92 +0,0 @@
-import { ChevronLeft, ChevronRight, MoreHorizontal } from 'lucide-react'
-import * as React from 'react'
-
-import type { ButtonProps } from '@/components/ui/button'
-import { buttonVariants } from '@/components/ui/button'
-import { cn } from '@/utilities/ui'
-
-const Pagination = ({ className, ...props }: React.ComponentProps<'nav'>) => (
- <nav
- aria-label="pagination"
- className={cn('mx-auto flex w-full justify-center', className)}
- role="navigation"
- {...props}
- />
-)
-
-const PaginationContent: React.FC<
- { ref?: React.Ref<HTMLUListElement> } & React.HTMLAttributes<HTMLUListElement>
-> = ({ className, ref, ...props }) => (
- <ul className={cn('flex flex-row items-center gap-1', className)} ref={ref} {...props} />
-)
-
-const PaginationItem: React.FC<
- { ref?: React.Ref<HTMLLIElement> } & React.HTMLAttributes<HTMLLIElement>
-> = ({ className, ref, ...props }) => <li className={cn('', className)} ref={ref} {...props} />
-
-type PaginationLinkProps = {
- isActive?: boolean
-} & Pick<ButtonProps, 'size'> &
- React.ComponentProps<'button'>
-
-const PaginationLink = ({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) => (
- <button
- aria-current={isActive ? 'page' : undefined}
- className={cn(
- buttonVariants({
- size,
- variant: isActive ? 'outline' : 'ghost',
- }),
- className
- )}
- {...props}
- />
-)
-
-const PaginationPrevious = ({
- className,
- ...props
-}: React.ComponentProps<typeof PaginationLink>) => (
- <PaginationLink
- aria-label="Go to previous page"
- className={cn('gap-1 pl-2.5', className)}
- size="default"
- {...props}
- >
- <ChevronLeft className="h-4 w-4" />
- <span>Previous</span>
- </PaginationLink>
-)
-
-const PaginationNext = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (
- <PaginationLink
- aria-label="Go to next page"
- className={cn('gap-1 pr-2.5', className)}
- size="default"
- {...props}
- >
- <span>Next</span>
- <ChevronRight className="h-4 w-4" />
- </PaginationLink>
-)
-
-const PaginationEllipsis = ({ className, ...props }: React.ComponentProps<'span'>) => (
- <span
- aria-hidden
- className={cn('flex h-9 w-9 items-center justify-center', className)}
- {...props}
- >
- <MoreHorizontal className="h-4 w-4" />
- <span className="sr-only">More pages</span>
- </span>
-)
-
-export {
- Pagination,
- PaginationContent,
- PaginationEllipsis,
- PaginationItem,
- PaginationLink,
- PaginationNext,
- PaginationPrevious,
-}
diff --git a/apps/cms/src/components/ui/select.tsx b/apps/cms/src/components/ui/select.tsx
deleted file mode 100644
index 08ed592cbb2..00000000000
--- a/apps/cms/src/components/ui/select.tsx
+++ /dev/null
@@ -1,145 +0,0 @@
-'use client'
-
-import * as SelectPrimitive from '@radix-ui/react-select'
-import { Check, ChevronDown, ChevronUp } from 'lucide-react'
-import * as React from 'react'
-
-import { cn } from '@/utilities/ui'
-
-const Select = SelectPrimitive.Root
-
-const SelectGroup = SelectPrimitive.Group
-
-const SelectValue = SelectPrimitive.Value
-
-const SelectTrigger: React.FC<
- { ref?: React.Ref<HTMLButtonElement> } & React.ComponentProps<typeof SelectPrimitive.Trigger>
-> = ({ children, className, ref, ...props }) => (
- <SelectPrimitive.Trigger
- className={cn(
- 'flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1',
- className
- )}
- ref={ref}
- {...props}
- >
- {children}
- <SelectPrimitive.Icon asChild>
- <ChevronDown className="h-4 w-4 opacity-50" />
- </SelectPrimitive.Icon>
- </SelectPrimitive.Trigger>
-)
-
-const SelectScrollUpButton: React.FC<
- { ref?: React.Ref<HTMLDivElement> } & React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>
-> = ({ className, ref, ...props }) => (
- <SelectPrimitive.ScrollUpButton
- className={cn('flex cursor-default items-center justify-center py-1', className)}
- ref={ref}
- {...props}
- >
- <ChevronUp className="h-4 w-4" />
- </SelectPrimitive.ScrollUpButton>
-)
-
-const SelectScrollDownButton: React.FC<
- { ref?: React.Ref<HTMLDivElement> } & React.ComponentProps<
- typeof SelectPrimitive.ScrollDownButton
- >
-> = ({ className, ref, ...props }) => (
- <SelectPrimitive.ScrollDownButton
- className={cn('flex cursor-default items-center justify-center py-1', className)}
- ref={ref}
- {...props}
- >
- <ChevronDown className="h-4 w-4" />
- </SelectPrimitive.ScrollDownButton>
-)
-
-const SelectContent: React.FC<
- {
- ref?: React.Ref<HTMLDivElement>
- } & React.ComponentProps<typeof SelectPrimitive.Content>
-> = ({ children, className, position = 'popper', ref, ...props }) => (
- <SelectPrimitive.Portal>
- <SelectPrimitive.Content
- className={cn(
- 'relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
- position === 'popper' &&
- 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',
- className
- )}
- position={position}
- ref={ref}
- {...props}
- >
- <SelectScrollUpButton />
- <SelectPrimitive.Viewport
- className={cn(
- 'p-1',
- position === 'popper' &&
- 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]'
- )}
- >
- {children}
- </SelectPrimitive.Viewport>
- <SelectScrollDownButton />
- </SelectPrimitive.Content>
- </SelectPrimitive.Portal>
-)
-
-const SelectLabel: React.FC<
- { ref?: React.Ref<HTMLDivElement> } & React.ComponentProps<typeof SelectPrimitive.Label>
-> = ({ className, ref, ...props }) => (
- <SelectPrimitive.Label
- className={cn('py-1.5 pl-8 pr-2 text-sm font-semibold', className)}
- ref={ref}
- {...props}
- />
-)
-
-const SelectItem: React.FC<
- { ref?: React.Ref<HTMLDivElement>; value: string } & React.ComponentProps<
- typeof SelectPrimitive.Item
- >
-> = ({ children, className, ref, ...props }) => (
- <SelectPrimitive.Item
- className={cn(
- 'relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
- className
- )}
- ref={ref}
- {...props}
- >
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
- <SelectPrimitive.ItemIndicator>
- <Check className="h-4 w-4" />
- </SelectPrimitive.ItemIndicator>
- </span>
-
- <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
- </SelectPrimitive.Item>
-)
-
-const SelectSeparator: React.FC<
- { ref?: React.Ref<HTMLDivElement> } & React.ComponentProps<typeof SelectPrimitive.Separator>
-> = ({ className, ref, ...props }) => (
- <SelectPrimitive.Separator
- className={cn('-mx-1 my-1 h-px bg-muted', className)}
- ref={ref}
- {...props}
- />
-)
-
-export {
- Select,
- SelectContent,
- SelectGroup,
- SelectItem,
- SelectLabel,
- SelectScrollDownButton,
- SelectScrollUpButton,
- SelectSeparator,
- SelectTrigger,
- SelectValue,
-}
diff --git a/apps/cms/src/components/ui/textarea.tsx b/apps/cms/src/components/ui/textarea.tsx
deleted file mode 100644
index d20af6f0950..00000000000
--- a/apps/cms/src/components/ui/textarea.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-import * as React from 'react'
-
-import { cn } from '@/utilities/ui'
-
-const Textarea: React.FC<
- {
- ref?: React.Ref<HTMLTextAreaElement>
- } & React.TextareaHTMLAttributes<HTMLTextAreaElement>
-> = ({ className, ref, ...props }) => {
- return (
- <textarea
- className={cn(
- 'flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
- className
- )}
- ref={ref}
- {...props}
- />
- )
-}
-
-export { Textarea }
diff --git a/apps/cms/src/cssVariables.js b/apps/cms/src/cssVariables.js
deleted file mode 100644
index e29a2bcf731..00000000000
--- a/apps/cms/src/cssVariables.js
+++ /dev/null
@@ -1,12 +0,0 @@
-// Keep these in sync with the CSS variables in your tailwind configuration
-
-export const cssVariables = {
- breakpoints: {
- '3xl': 1920,
- '2xl': 1536,
- xl: 1280,
- lg: 1024,
- md: 768,
- sm: 640,
- },
-}
diff --git a/apps/cms/src/environment.d.ts b/apps/cms/src/environment.d.ts
deleted file mode 100644
index b8ce4e1fa6c..00000000000
--- a/apps/cms/src/environment.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-declare global {
- namespace NodeJS {
- interface ProcessEnv {
- PAYLOAD_SECRET: string
- DATABASE_URI: string
- WWW_SITE_ORIGIN: string
- VERCEL_PROJECT_PRODUCTION_URL: string
- }
- }
-}
-
-// If this file has no import/export statements (i.e. is a script)
-// convert it into a module by adding an empty export statement.
-export {}
diff --git a/apps/cms/src/fields/defaultLexical.ts b/apps/cms/src/fields/defaultLexical.ts
deleted file mode 100644
index eab19e6a35e..00000000000
--- a/apps/cms/src/fields/defaultLexical.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-import {
- BoldFeature,
- ItalicFeature,
- lexicalEditor,
- LinkFeature,
- ParagraphFeature,
- UnderlineFeature,
- type LinkFields,
-} from '@payloadcms/richtext-lexical'
-import type { TextFieldSingleValidation } from 'payload'
-
-export const defaultLexical = lexicalEditor({
- features: [
- ParagraphFeature(),
- UnderlineFeature(),
- BoldFeature(),
- ItalicFeature(),
- LinkFeature({
- enabledCollections: ['posts'],
- fields: ({ defaultFields }) => {
- const defaultFieldsWithoutUrl = defaultFields.filter((field) => {
- if ('name' in field && field.name === 'url') return false
- return true
- })
-
- return [
- ...defaultFieldsWithoutUrl,
- {
- name: 'url',
- type: 'text',
- admin: {
- condition: (_data, siblingData) => siblingData?.linkType !== 'internal',
- },
- label: ({ t }) => t('fields:enterURL'),
- required: true,
- validate: ((value, options) => {
- if ((options?.siblingData as LinkFields)?.linkType === 'internal') {
- return true // no validation needed, as no url should exist for internal links
- }
- return value ? true : 'URL is required'
- }) as TextFieldSingleValidation,
- },
- ]
- },
- }),
- ],
-})
diff --git a/apps/cms/src/fields/link.ts b/apps/cms/src/fields/link.ts
deleted file mode 100644
index 5b6b1a185b7..00000000000
--- a/apps/cms/src/fields/link.ts
+++ /dev/null
@@ -1,139 +0,0 @@
-import type { Field, GroupField } from 'payload'
-
-import deepMerge from '../utilities/deepMerge.ts'
-
-export type LinkAppearances = 'default' | 'outline'
-
-export const appearanceOptions: Record<LinkAppearances, { label: string; value: string }> = {
- default: {
- label: 'Default',
- value: 'default',
- },
- outline: {
- label: 'Outline',
- value: 'outline',
- },
-}
-
-type LinkType = (options?: {
- appearances?: LinkAppearances[] | false
- disableLabel?: boolean
- overrides?: Partial<GroupField>
-}) => Field
-
-export const link: LinkType = ({ appearances, disableLabel = false, overrides = {} } = {}) => {
- const linkResult: GroupField = {
- name: 'link',
- type: 'group',
- admin: {
- hideGutter: true,
- },
- fields: [
- {
- type: 'row',
- fields: [
- {
- name: 'type',
- type: 'radio',
- admin: {
- layout: 'horizontal',
- width: '50%',
- },
- defaultValue: 'reference',
- options: [
- {
- label: 'Internal link',
- value: 'reference',
- },
- {
- label: 'Custom URL',
- value: 'custom',
- },
- ],
- },
- {
- name: 'newTab',
- type: 'checkbox',
- admin: {
- style: {
- alignSelf: 'flex-end',
- },
- width: '50%',
- },
- label: 'Open in new tab',
- },
- ],
- },
- ],
- }
-
- const linkTypes: Field[] = [
- {
- name: 'reference',
- type: 'relationship',
- admin: {
- condition: (_, siblingData) => siblingData?.type === 'reference',
- },
- label: 'Document to link to',
- relationTo: ['posts'],
- required: true,
- },
- {
- name: 'url',
- type: 'text',
- admin: {
- condition: (_, siblingData) => siblingData?.type === 'custom',
- },
- label: 'Custom URL',
- required: true,
- },
- ]
-
- if (!disableLabel) {
- linkTypes.map((linkType) => ({
- ...linkType,
- admin: {
- ...linkType.admin,
- width: '50%',
- },
- }))
-
- linkResult.fields.push({
- type: 'row',
- fields: [
- ...linkTypes,
- {
- name: 'label',
- type: 'text',
- admin: {
- width: '50%',
- },
- label: 'Label',
- required: true,
- },
- ],
- })
- } else {
- linkResult.fields = [...linkResult.fields, ...linkTypes]
- }
-
- if (appearances !== false) {
- let appearanceOptionsToUse = [appearanceOptions.default, appearanceOptions.outline]
-
- if (appearances) {
- appearanceOptionsToUse = appearances.map((appearance) => appearanceOptions[appearance])
- }
-
- linkResult.fields.push({
- name: 'appearance',
- type: 'select',
- admin: {
- description: 'Choose how the link should be rendered.',
- },
- defaultValue: 'default',
- options: appearanceOptionsToUse,
- })
- }
-
- return deepMerge(linkResult, overrides)
-}
diff --git a/apps/cms/src/fields/linkGroup.ts b/apps/cms/src/fields/linkGroup.ts
deleted file mode 100644
index 248d977d3e5..00000000000
--- a/apps/cms/src/fields/linkGroup.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { ArrayField, Field } from 'payload'
-
-import deepMerge from '../utilities/deepMerge.ts'
-import type { LinkAppearances } from './link.ts'
-import { link } from './link.ts'
-
-type LinkGroupType = (options?: {
- appearances?: LinkAppearances[] | false
- overrides?: Partial<ArrayField>
-}) => Field
-
-export const linkGroup: LinkGroupType = ({ appearances, overrides = {} } = {}) => {
- const generatedLinkGroup: Field = {
- name: 'links',
- type: 'array',
- fields: [
- link({
- appearances,
- }),
- ],
- admin: {
- initCollapsed: true,
- },
- }
-
- return deepMerge(generatedLinkGroup, overrides)
-}
diff --git a/apps/cms/src/fields/slug/SlugComponent.tsx b/apps/cms/src/fields/slug/SlugComponent.tsx
deleted file mode 100644
index d247a59ec39..00000000000
--- a/apps/cms/src/fields/slug/SlugComponent.tsx
+++ /dev/null
@@ -1,89 +0,0 @@
-'use client'
-
-import { Button, FieldLabel, TextInput, useField, useForm, useFormFields } from '@payloadcms/ui'
-import { TextFieldClientProps } from 'payload'
-import React, { useCallback, useEffect } from 'react'
-
-import { formatSlug } from './formatSlug'
-
-import './index.scss'
-
-type SlugComponentProps = {
- fieldToUse: string
- checkboxFieldPath: string
-} & TextFieldClientProps
-
-export const SlugComponent: React.FC<SlugComponentProps> = ({
- field,
- fieldToUse,
- checkboxFieldPath: checkboxFieldPathFromProps,
- path,
- readOnly: readOnlyFromProps,
-}) => {
- const { label } = field
-
- const checkboxFieldPath = path?.includes('.')
- ? `${path}.${checkboxFieldPathFromProps}`
- : checkboxFieldPathFromProps
-
- const { value, setValue } = useField<string>({ path: path || field.name })
-
- const { dispatchFields } = useForm()
-
- // The value of the checkbox
- // We're using separate useFormFields to minimise re-renders
- const checkboxValue = useFormFields(([fields]) => {
- return fields[checkboxFieldPath]?.value as string
- })
-
- // The value of the field we're listening to for the slug
- const targetFieldValue = useFormFields(([fields]) => {
- return fields[fieldToUse]?.value as string
- })
-
- useEffect(() => {
- if (checkboxValue) {
- if (targetFieldValue) {
- const formattedSlug = formatSlug(targetFieldValue)
-
- if (value !== formattedSlug) setValue(formattedSlug)
- } else {
- if (value !== '') setValue('')
- }
- }
- }, [targetFieldValue, checkboxValue, setValue, value])
-
- const handleLock = useCallback(
- (e: React.MouseEvent<Element>) => {
- e.preventDefault()
-
- dispatchFields({
- type: 'UPDATE',
- path: checkboxFieldPath,
- value: !checkboxValue,
- })
- },
- [checkboxValue, checkboxFieldPath, dispatchFields]
- )
-
- const readOnly = readOnlyFromProps || checkboxValue
-
- return (
- <div className="field-type slug-field-component">
- <div className="label-wrapper">
- <FieldLabel htmlFor={`field-${path}`} label={label} />
-
- <Button className="lock-button" buttonStyle="none" onClick={handleLock}>
- {checkboxValue ? 'Unlock' : 'Lock'}
- </Button>
- </div>
-
- <TextInput
- value={value}
- onChange={setValue}
- path={path || field.name}
- readOnly={Boolean(readOnly)}
- />
- </div>
- )
-}
diff --git a/apps/cms/src/fields/slug/formatSlug.ts b/apps/cms/src/fields/slug/formatSlug.ts
deleted file mode 100644
index 9129de8932d..00000000000
--- a/apps/cms/src/fields/slug/formatSlug.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import type { FieldHook } from 'payload'
-
-export const formatSlug = (val: string): string =>
- val
- .replace(/ /g, '-')
- .replace(/[^\w-]+/g, '')
- .toLowerCase()
-
-export const formatSlugHook =
- (fallback: string): FieldHook =>
- ({ data, operation, value }) => {
- if (typeof value === 'string') {
- return formatSlug(value)
- }
-
- if (operation === 'create' || !data?.slug) {
- const fallbackData = data?.[fallback] || data?.[fallback]
-
- if (fallbackData && typeof fallbackData === 'string') {
- return formatSlug(fallbackData)
- }
- }
-
- return value
- }
diff --git a/apps/cms/src/fields/slug/index.scss b/apps/cms/src/fields/slug/index.scss
deleted file mode 100644
index e3dd2d8369b..00000000000
--- a/apps/cms/src/fields/slug/index.scss
+++ /dev/null
@@ -1,12 +0,0 @@
-.slug-field-component {
- .label-wrapper {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
-
- .lock-button {
- margin: 0;
- padding-bottom: 0.3125rem;
- }
-}
diff --git a/apps/cms/src/fields/slug/index.ts b/apps/cms/src/fields/slug/index.ts
deleted file mode 100644
index 9cbdfda8181..00000000000
--- a/apps/cms/src/fields/slug/index.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-import type { CheckboxField, TextField } from 'payload'
-
-import { formatSlugHook } from './formatSlug.ts'
-
-type Overrides = {
- slugOverrides?: Partial<TextField>
- checkboxOverrides?: Partial<CheckboxField>
-}
-
-type Slug = (fieldToUse?: string, overrides?: Overrides) => [TextField, CheckboxField]
-
-export const slugField: Slug = (fieldToUse = 'title', overrides = {}) => {
- const { slugOverrides, checkboxOverrides } = overrides
-
- const checkBoxField: CheckboxField = {
- name: 'slugLock',
- type: 'checkbox',
- defaultValue: true,
- admin: {
- hidden: true,
- position: 'sidebar',
- },
- ...checkboxOverrides,
- }
-
- // @ts-expect-error - ts mismatch Partial<TextField> with TextField
- const slugField: TextField = {
- name: 'slug',
- type: 'text',
- index: true,
- label: 'Slug',
- ...(slugOverrides || {}),
- hooks: {
- // Kept this in for hook or API based updates
- beforeValidate: [formatSlugHook(fieldToUse)],
- },
- admin: {
- // position: 'sidebar',
- ...(slugOverrides?.admin || {}),
- components: {
- Field: {
- path: '@/fields/slug/SlugComponent#SlugComponent',
- clientProps: {
- fieldToUse,
- checkboxFieldPath: checkBoxField.name,
- },
- },
- },
- },
- }
-
- return [slugField, checkBoxField]
-}
diff --git a/apps/cms/src/hooks/formatSlug.ts b/apps/cms/src/hooks/formatSlug.ts
deleted file mode 100644
index 43190f88cc2..00000000000
--- a/apps/cms/src/hooks/formatSlug.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { FieldHook } from 'payload'
-
-const format = (val: string): string =>
- val
- .replace(/ /g, '-')
- .replace(/[^\w-]+/g, '')
- .toLowerCase()
-
-const formatSlug =
- (fallback: string): FieldHook =>
- ({ data, operation, originalDoc, value }) => {
- if (typeof value === 'string') {
- return format(value)
- }
-
- if (operation === 'create') {
- const fallbackData = data?.[fallback] || originalDoc?.[fallback]
-
- if (fallbackData && typeof fallbackData === 'string') {
- return format(fallbackData)
- }
- }
-
- return value
- }
-
-export default formatSlug
diff --git a/apps/cms/src/hooks/populatePublishedAt.ts b/apps/cms/src/hooks/populatePublishedAt.ts
deleted file mode 100644
index de974f7b67a..00000000000
--- a/apps/cms/src/hooks/populatePublishedAt.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { CollectionBeforeChangeHook } from 'payload'
-
-export const populatePublishedAt: CollectionBeforeChangeHook = ({ data, operation, req }) => {
- if (operation === 'create' || operation === 'update') {
- if (req.data && !req.data.publishedAt) {
- const now = new Date()
- return {
- ...data,
- publishedAt: now,
- }
- }
- }
-
- return data
-}
diff --git a/apps/cms/src/hooks/revalidateRedirects.ts b/apps/cms/src/hooks/revalidateRedirects.ts
deleted file mode 100644
index f1bcc977c5f..00000000000
--- a/apps/cms/src/hooks/revalidateRedirects.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { revalidateTag } from 'next/cache'
-import type { CollectionAfterChangeHook } from 'payload'
-
-export const revalidateRedirects: CollectionAfterChangeHook = ({ doc, req: { payload } }) => {
- payload.logger.info(`Revalidating redirects`)
-
- revalidateTag('redirects')
-
- return doc
-}
diff --git a/apps/cms/src/migrations/20250619_155345.json b/apps/cms/src/migrations/20250619_155345.json
deleted file mode 100644
index 7fec1a1285b..00000000000
--- a/apps/cms/src/migrations/20250619_155345.json
+++ /dev/null
@@ -1,7330 +0,0 @@
-{
- "id": "46141a51-8524-466d-9e94-70fe5c73221c",
- "prevId": "00000000-0000-0000-0000-000000000000",
- "version": "7",
- "dialect": "postgresql",
- "tables": {
- "public.authors": {
- "name": "authors",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "author": {
- "name": "author",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "author_id": {
- "name": "author_id",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "position": {
- "name": "position",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_url": {
- "name": "author_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_image_url_id": {
- "name": "author_image_url_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "username": {
- "name": "username",
- "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": {
- "authors_author_image_url_idx": {
- "name": "authors_author_image_url_idx",
- "columns": [
- {
- "expression": "author_image_url_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_updated_at_idx": {
- "name": "authors_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_created_at_idx": {
- "name": "authors_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "authors_author_image_url_id_media_id_fk": {
- "name": "authors_author_image_url_id_media_id_fk",
- "tableFrom": "authors",
- "tableTo": "media",
- "columnsFrom": [
- "author_image_url_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories_breadcrumbs": {
- "name": "categories_breadcrumbs",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "doc_id": {
- "name": "doc_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "categories_breadcrumbs_order_idx": {
- "name": "categories_breadcrumbs_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_parent_id_idx": {
- "name": "categories_breadcrumbs_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_doc_idx": {
- "name": "categories_breadcrumbs_doc_idx",
- "columns": [
- {
- "expression": "doc_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_breadcrumbs_doc_id_categories_id_fk": {
- "name": "categories_breadcrumbs_doc_id_categories_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "doc_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "categories_breadcrumbs_parent_id_fk": {
- "name": "categories_breadcrumbs_parent_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories": {
- "name": "categories",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "categories_parent_idx": {
- "name": "categories_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_updated_at_idx": {
- "name": "categories_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_created_at_idx": {
- "name": "categories_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_parent_id_categories_id_fk": {
- "name": "categories_parent_id_categories_id_fk",
- "tableFrom": "categories",
- "tableTo": "categories",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_stats": {
- "name": "customers_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_stats_order_idx": {
- "name": "customers_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_stats_parent_id_idx": {
- "name": "customers_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_stats_parent_id_fk": {
- "name": "customers_stats_parent_id_fk",
- "tableFrom": "customers_stats",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_misc": {
- "name": "customers_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_misc_order_idx": {
- "name": "customers_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_misc_parent_id_idx": {
- "name": "customers_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_misc_parent_id_fk": {
- "name": "customers_misc_parent_id_fk",
- "tableFrom": "customers_misc",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_industry": {
- "name": "customers_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_industry_order_idx": {
- "name": "customers_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_industry_parent_idx": {
- "name": "customers_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_industry_parent_fk": {
- "name": "customers_industry_parent_fk",
- "tableFrom": "customers_industry",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_supabase_products": {
- "name": "customers_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_supabase_products_order_idx": {
- "name": "customers_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_supabase_products_parent_idx": {
- "name": "customers_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_supabase_products_parent_fk": {
- "name": "customers_supabase_products_parent_fk",
- "tableFrom": "customers_supabase_products",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers": {
- "name": "customers",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "about": {
- "name": "about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_url": {
- "name": "company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_size": {
- "name": "company_size",
- "type": "enum_customers_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "region": {
- "name": "region",
- "type": "enum_customers_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "logo_id": {
- "name": "logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "logo_inverse_id": {
- "name": "logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_customers_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "customers_slug_idx": {
- "name": "customers_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_meta_meta_image_idx": {
- "name": "customers_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_idx": {
- "name": "customers_logo_idx",
- "columns": [
- {
- "expression": "logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_inverse_idx": {
- "name": "customers_logo_inverse_idx",
- "columns": [
- {
- "expression": "logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_updated_at_idx": {
- "name": "customers_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_created_at_idx": {
- "name": "customers_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers__status_idx": {
- "name": "customers__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_meta_image_id_media_id_fk": {
- "name": "customers_meta_image_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_id_media_id_fk": {
- "name": "customers_logo_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_inverse_id_media_id_fk": {
- "name": "customers_logo_inverse_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_stats": {
- "name": "_customers_v_version_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_stats_order_idx": {
- "name": "_customers_v_version_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_stats_parent_id_idx": {
- "name": "_customers_v_version_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_stats_parent_id_fk": {
- "name": "_customers_v_version_stats_parent_id_fk",
- "tableFrom": "_customers_v_version_stats",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_misc": {
- "name": "_customers_v_version_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_misc_order_idx": {
- "name": "_customers_v_version_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_misc_parent_id_idx": {
- "name": "_customers_v_version_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_misc_parent_id_fk": {
- "name": "_customers_v_version_misc_parent_id_fk",
- "tableFrom": "_customers_v_version_misc",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_industry": {
- "name": "_customers_v_version_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_industry_order_idx": {
- "name": "_customers_v_version_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_industry_parent_idx": {
- "name": "_customers_v_version_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_industry_parent_fk": {
- "name": "_customers_v_version_industry_parent_fk",
- "tableFrom": "_customers_v_version_industry",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_supabase_products": {
- "name": "_customers_v_version_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_supabase_products_order_idx": {
- "name": "_customers_v_version_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_supabase_products_parent_idx": {
- "name": "_customers_v_version_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_supabase_products_parent_fk": {
- "name": "_customers_v_version_supabase_products_parent_fk",
- "tableFrom": "_customers_v_version_supabase_products",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v": {
- "name": "_customers_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_name": {
- "name": "version_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_about": {
- "name": "version_about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_url": {
- "name": "version_company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_size": {
- "name": "version_company_size",
- "type": "enum__customers_v_version_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_region": {
- "name": "version_region",
- "type": "enum__customers_v_version_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_id": {
- "name": "version_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_inverse_id": {
- "name": "version_logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__customers_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_parent_idx": {
- "name": "_customers_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_slug_idx": {
- "name": "_customers_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_meta_version_meta_image_idx": {
- "name": "_customers_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_idx": {
- "name": "_customers_v_version_version_logo_idx",
- "columns": [
- {
- "expression": "version_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_inverse_idx": {
- "name": "_customers_v_version_version_logo_inverse_idx",
- "columns": [
- {
- "expression": "version_logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_updated_at_idx": {
- "name": "_customers_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_created_at_idx": {
- "name": "_customers_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version__status_idx": {
- "name": "_customers_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_created_at_idx": {
- "name": "_customers_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_updated_at_idx": {
- "name": "_customers_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_latest_idx": {
- "name": "_customers_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_autosave_idx": {
- "name": "_customers_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_parent_id_customers_id_fk": {
- "name": "_customers_v_parent_id_customers_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_meta_image_id_media_id_fk": {
- "name": "_customers_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_id_media_id_fk": {
- "name": "_customers_v_version_logo_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_inverse_id_media_id_fk": {
- "name": "_customers_v_version_logo_inverse_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_type": {
- "name": "events_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_events_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "events_type_order_idx": {
- "name": "events_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_type_parent_idx": {
- "name": "events_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_type_parent_fk": {
- "name": "events_type_parent_fk",
- "tableFrom": "events_type",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events": {
- "name": "events",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "subtitle": {
- "name": "subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "timezone": {
- "name": "timezone",
- "type": "enum_events_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "show_end_date": {
- "name": "show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "end_date": {
- "name": "end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "duration": {
- "name": "duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "on_demand": {
- "name": "on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "disable_page_build": {
- "name": "disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "link_href": {
- "name": "link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "link_target": {
- "name": "link_target",
- "type": "enum_events_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_href": {
- "name": "main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_target": {
- "name": "main_cta_target",
- "type": "enum_events_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_label": {
- "name": "main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_disabled": {
- "name": "main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "main_cta_disabled_label": {
- "name": "main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_show_company": {
- "name": "company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "company_name": {
- "name": "company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_website_url": {
- "name": "company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_id": {
- "name": "company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_light_id": {
- "name": "company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "participants_show_participants": {
- "name": "participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_events_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "events_slug_idx": {
- "name": "events_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_thumb_idx": {
- "name": "events_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_image_idx": {
- "name": "events_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_idx": {
- "name": "events_company_company_logo_idx",
- "columns": [
- {
- "expression": "company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_light_idx": {
- "name": "events_company_company_logo_light_idx",
- "columns": [
- {
- "expression": "company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_meta_meta_image_idx": {
- "name": "events_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_updated_at_idx": {
- "name": "events_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_created_at_idx": {
- "name": "events_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events__status_idx": {
- "name": "events__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_thumb_id_media_id_fk": {
- "name": "events_thumb_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_image_id_media_id_fk": {
- "name": "events_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_id_media_id_fk": {
- "name": "events_company_logo_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_light_id_media_id_fk": {
- "name": "events_company_logo_light_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_meta_image_id_media_id_fk": {
- "name": "events_meta_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_rels": {
- "name": "events_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
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "events_rels_order_idx": {
- "name": "events_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_parent_idx": {
- "name": "events_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_path_idx": {
- "name": "events_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_authors_id_idx": {
- "name": "events_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_rels_parent_fk": {
- "name": "events_rels_parent_fk",
- "tableFrom": "events_rels",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "events_rels_authors_fk": {
- "name": "events_rels_authors_fk",
- "tableFrom": "events_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_version_type": {
- "name": "_events_v_version_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__events_v_version_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_events_v_version_type_order_idx": {
- "name": "_events_v_version_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_type_parent_idx": {
- "name": "_events_v_version_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_version_type_parent_fk": {
- "name": "_events_v_version_type_parent_fk",
- "tableFrom": "_events_v_version_type",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v": {
- "name": "_events_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_subtitle": {
- "name": "version_subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_timezone": {
- "name": "version_timezone",
- "type": "enum__events_v_version_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_show_end_date": {
- "name": "version_show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_end_date": {
- "name": "version_end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_duration": {
- "name": "version_duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_on_demand": {
- "name": "version_on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_disable_page_build": {
- "name": "version_disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_link_href": {
- "name": "version_link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_link_target": {
- "name": "version_link_target",
- "type": "enum__events_v_version_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_href": {
- "name": "version_main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_target": {
- "name": "version_main_cta_target",
- "type": "enum__events_v_version_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_label": {
- "name": "version_main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_disabled": {
- "name": "version_main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_main_cta_disabled_label": {
- "name": "version_main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_show_company": {
- "name": "version_company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_company_name": {
- "name": "version_company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_website_url": {
- "name": "version_company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_id": {
- "name": "version_company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_light_id": {
- "name": "version_company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_participants_show_participants": {
- "name": "version_participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__events_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_parent_idx": {
- "name": "_events_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_slug_idx": {
- "name": "_events_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_thumb_idx": {
- "name": "_events_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_image_idx": {
- "name": "_events_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_idx": {
- "name": "_events_v_version_company_version_company_logo_idx",
- "columns": [
- {
- "expression": "version_company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_light_idx": {
- "name": "_events_v_version_company_version_company_logo_light_idx",
- "columns": [
- {
- "expression": "version_company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_meta_version_meta_image_idx": {
- "name": "_events_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_updated_at_idx": {
- "name": "_events_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_created_at_idx": {
- "name": "_events_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version__status_idx": {
- "name": "_events_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_created_at_idx": {
- "name": "_events_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_updated_at_idx": {
- "name": "_events_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_latest_idx": {
- "name": "_events_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_autosave_idx": {
- "name": "_events_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_parent_id_events_id_fk": {
- "name": "_events_v_parent_id_events_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_thumb_id_media_id_fk": {
- "name": "_events_v_version_thumb_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_image_id_media_id_fk": {
- "name": "_events_v_version_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_id_media_id_fk": {
- "name": "_events_v_version_company_logo_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_light_id_media_id_fk": {
- "name": "_events_v_version_company_logo_light_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_meta_image_id_media_id_fk": {
- "name": "_events_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_rels": {
- "name": "_events_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_rels_order_idx": {
- "name": "_events_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_parent_idx": {
- "name": "_events_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_path_idx": {
- "name": "_events_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_authors_id_idx": {
- "name": "_events_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_rels_parent_fk": {
- "name": "_events_v_rels_parent_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_events_v_rels_authors_fk": {
- "name": "_events_v_rels_authors_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.media": {
- "name": "media",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "alt": {
- "name": "alt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "caption": {
- "name": "caption",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "prefix": {
- "name": "prefix",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'media'"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "thumbnail_u_r_l": {
- "name": "thumbnail_u_r_l",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filename": {
- "name": "filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "mime_type": {
- "name": "mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filesize": {
- "name": "filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "width": {
- "name": "width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "height": {
- "name": "height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_x": {
- "name": "focal_x",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_y": {
- "name": "focal_y",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_url": {
- "name": "sizes_thumbnail_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_width": {
- "name": "sizes_thumbnail_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_height": {
- "name": "sizes_thumbnail_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_mime_type": {
- "name": "sizes_thumbnail_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filesize": {
- "name": "sizes_thumbnail_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filename": {
- "name": "sizes_thumbnail_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_url": {
- "name": "sizes_square_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_width": {
- "name": "sizes_square_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_height": {
- "name": "sizes_square_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_mime_type": {
- "name": "sizes_square_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filesize": {
- "name": "sizes_square_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filename": {
- "name": "sizes_square_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_url": {
- "name": "sizes_small_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_width": {
- "name": "sizes_small_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_height": {
- "name": "sizes_small_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_mime_type": {
- "name": "sizes_small_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filesize": {
- "name": "sizes_small_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filename": {
- "name": "sizes_small_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_url": {
- "name": "sizes_medium_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_width": {
- "name": "sizes_medium_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_height": {
- "name": "sizes_medium_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_mime_type": {
- "name": "sizes_medium_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filesize": {
- "name": "sizes_medium_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filename": {
- "name": "sizes_medium_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_url": {
- "name": "sizes_large_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_width": {
- "name": "sizes_large_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_height": {
- "name": "sizes_large_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_mime_type": {
- "name": "sizes_large_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filesize": {
- "name": "sizes_large_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filename": {
- "name": "sizes_large_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_url": {
- "name": "sizes_xlarge_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_width": {
- "name": "sizes_xlarge_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_height": {
- "name": "sizes_xlarge_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_mime_type": {
- "name": "sizes_xlarge_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filesize": {
- "name": "sizes_xlarge_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filename": {
- "name": "sizes_xlarge_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_url": {
- "name": "sizes_og_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_width": {
- "name": "sizes_og_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_height": {
- "name": "sizes_og_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_mime_type": {
- "name": "sizes_og_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filesize": {
- "name": "sizes_og_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filename": {
- "name": "sizes_og_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "media_updated_at_idx": {
- "name": "media_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_created_at_idx": {
- "name": "media_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_filename_idx": {
- "name": "media_filename_idx",
- "columns": [
- {
- "expression": "filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {
- "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",
- "columns": [
- {
- "expression": "sizes_thumbnail_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_square_sizes_square_filename_idx": {
- "name": "media_sizes_square_sizes_square_filename_idx",
- "columns": [
- {
- "expression": "sizes_square_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_small_sizes_small_filename_idx": {
- "name": "media_sizes_small_sizes_small_filename_idx",
- "columns": [
- {
- "expression": "sizes_small_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_medium_sizes_medium_filename_idx": {
- "name": "media_sizes_medium_sizes_medium_filename_idx",
- "columns": [
- {
- "expression": "sizes_medium_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_large_sizes_large_filename_idx": {
- "name": "media_sizes_large_sizes_large_filename_idx",
- "columns": [
- {
- "expression": "sizes_large_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_xlarge_sizes_xlarge_filename_idx": {
- "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",
- "columns": [
- {
- "expression": "sizes_xlarge_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_og_sizes_og_filename_idx": {
- "name": "media_sizes_og_sizes_og_filename_idx",
- "columns": [
- {
- "expression": "sizes_og_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts": {
- "name": "posts",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "launchweek": {
- "name": "launchweek",
- "type": "enum_posts_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "reading_time": {
- "name": "reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "toc_depth": {
- "name": "toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 2
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_posts_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "posts_slug_idx": {
- "name": "posts_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_thumb_idx": {
- "name": "posts_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_image_idx": {
- "name": "posts_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_meta_meta_image_idx": {
- "name": "posts_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_updated_at_idx": {
- "name": "posts_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_created_at_idx": {
- "name": "posts_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts__status_idx": {
- "name": "posts__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_thumb_id_media_id_fk": {
- "name": "posts_thumb_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_image_id_media_id_fk": {
- "name": "posts_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_meta_image_id_media_id_fk": {
- "name": "posts_meta_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts_rels": {
- "name": "posts_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "posts_rels_order_idx": {
- "name": "posts_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_parent_idx": {
- "name": "posts_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_path_idx": {
- "name": "posts_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_categories_id_idx": {
- "name": "posts_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_authors_id_idx": {
- "name": "posts_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_tags_id_idx": {
- "name": "posts_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_rels_parent_fk": {
- "name": "posts_rels_parent_fk",
- "tableFrom": "posts_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_categories_fk": {
- "name": "posts_rels_categories_fk",
- "tableFrom": "posts_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_authors_fk": {
- "name": "posts_rels_authors_fk",
- "tableFrom": "posts_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_tags_fk": {
- "name": "posts_rels_tags_fk",
- "tableFrom": "posts_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v": {
- "name": "_posts_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_launchweek": {
- "name": "version_launchweek",
- "type": "enum__posts_v_version_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_reading_time": {
- "name": "version_reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_toc_depth": {
- "name": "version_toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 2
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__posts_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_parent_idx": {
- "name": "_posts_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_slug_idx": {
- "name": "_posts_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_thumb_idx": {
- "name": "_posts_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_image_idx": {
- "name": "_posts_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_meta_version_meta_image_idx": {
- "name": "_posts_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_updated_at_idx": {
- "name": "_posts_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_created_at_idx": {
- "name": "_posts_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version__status_idx": {
- "name": "_posts_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_created_at_idx": {
- "name": "_posts_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_updated_at_idx": {
- "name": "_posts_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_latest_idx": {
- "name": "_posts_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_autosave_idx": {
- "name": "_posts_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_parent_id_posts_id_fk": {
- "name": "_posts_v_parent_id_posts_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_thumb_id_media_id_fk": {
- "name": "_posts_v_version_thumb_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_image_id_media_id_fk": {
- "name": "_posts_v_version_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_meta_image_id_media_id_fk": {
- "name": "_posts_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v_rels": {
- "name": "_posts_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_rels_order_idx": {
- "name": "_posts_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_parent_idx": {
- "name": "_posts_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_path_idx": {
- "name": "_posts_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_categories_id_idx": {
- "name": "_posts_v_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_authors_id_idx": {
- "name": "_posts_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_tags_id_idx": {
- "name": "_posts_v_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_rels_parent_fk": {
- "name": "_posts_v_rels_parent_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "_posts_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_categories_fk": {
- "name": "_posts_v_rels_categories_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_authors_fk": {
- "name": "_posts_v_rels_authors_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_tags_fk": {
- "name": "_posts_v_rels_tags_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.tags": {
- "name": "tags",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "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()"
- }
- },
- "indexes": {
- "tags_updated_at_idx": {
- "name": "tags_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_created_at_idx": {
- "name": "tags_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.users_roles": {
- "name": "users_roles",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_users_roles",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "users_roles_order_idx": {
- "name": "users_roles_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_roles_parent_idx": {
- "name": "users_roles_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_roles_parent_fk": {
- "name": "users_roles_parent_fk",
- "tableFrom": "users_roles",
- "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()"
- },
- "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.payload_jobs_log": {
- "name": "payload_jobs_log",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "executed_at": {
- "name": "executed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_log_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "task_i_d": {
- "name": "task_i_d",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "output": {
- "name": "output",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "state": {
- "name": "state",
- "type": "enum_payload_jobs_log_state",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "payload_jobs_log_order_idx": {
- "name": "payload_jobs_log_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_log_parent_id_idx": {
- "name": "payload_jobs_log_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "payload_jobs_log_parent_id_fk": {
- "name": "payload_jobs_log_parent_id_fk",
- "tableFrom": "payload_jobs_log",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_jobs": {
- "name": "payload_jobs",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "total_tried": {
- "name": "total_tried",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "has_error": {
- "name": "has_error",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "queue": {
- "name": "queue",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'default'"
- },
- "wait_until": {
- "name": "wait_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "processing": {
- "name": "processing",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_jobs_completed_at_idx": {
- "name": "payload_jobs_completed_at_idx",
- "columns": [
- {
- "expression": "completed_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_total_tried_idx": {
- "name": "payload_jobs_total_tried_idx",
- "columns": [
- {
- "expression": "total_tried",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_has_error_idx": {
- "name": "payload_jobs_has_error_idx",
- "columns": [
- {
- "expression": "has_error",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_task_slug_idx": {
- "name": "payload_jobs_task_slug_idx",
- "columns": [
- {
- "expression": "task_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_queue_idx": {
- "name": "payload_jobs_queue_idx",
- "columns": [
- {
- "expression": "queue",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_wait_until_idx": {
- "name": "payload_jobs_wait_until_idx",
- "columns": [
- {
- "expression": "wait_until",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_processing_idx": {
- "name": "payload_jobs_processing_idx",
- "columns": [
- {
- "expression": "processing",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_updated_at_idx": {
- "name": "payload_jobs_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_created_at_idx": {
- "name": "payload_jobs_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents": {
- "name": "payload_locked_documents",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "global_slug": {
- "name": "global_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_locked_documents_global_slug_idx": {
- "name": "payload_locked_documents_global_slug_idx",
- "columns": [
- {
- "expression": "global_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_updated_at_idx": {
- "name": "payload_locked_documents_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_created_at_idx": {
- "name": "payload_locked_documents_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents_rels": {
- "name": "payload_locked_documents_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "customers_id": {
- "name": "customers_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "events_id": {
- "name": "events_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "media_id": {
- "name": "media_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "posts_id": {
- "name": "posts_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "users_id": {
- "name": "users_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "payload_jobs_id": {
- "name": "payload_jobs_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_authors_id_idx": {
- "name": "payload_locked_documents_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_categories_id_idx": {
- "name": "payload_locked_documents_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_customers_id_idx": {
- "name": "payload_locked_documents_rels_customers_id_idx",
- "columns": [
- {
- "expression": "customers_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_events_id_idx": {
- "name": "payload_locked_documents_rels_events_id_idx",
- "columns": [
- {
- "expression": "events_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_posts_id_idx": {
- "name": "payload_locked_documents_rels_posts_id_idx",
- "columns": [
- {
- "expression": "posts_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_tags_id_idx": {
- "name": "payload_locked_documents_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_users_id_idx": {
- "name": "payload_locked_documents_rels_users_id_idx",
- "columns": [
- {
- "expression": "users_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_payload_jobs_id_idx": {
- "name": "payload_locked_documents_rels_payload_jobs_id_idx",
- "columns": [
- {
- "expression": "payload_jobs_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_authors_fk": {
- "name": "payload_locked_documents_rels_authors_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_categories_fk": {
- "name": "payload_locked_documents_rels_categories_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_customers_fk": {
- "name": "payload_locked_documents_rels_customers_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "customers",
- "columnsFrom": [
- "customers_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_events_fk": {
- "name": "payload_locked_documents_rels_events_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "events",
- "columnsFrom": [
- "events_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_posts_fk": {
- "name": "payload_locked_documents_rels_posts_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "posts_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_tags_fk": {
- "name": "payload_locked_documents_rels_tags_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_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_payload_jobs_fk": {
- "name": "payload_locked_documents_rels_payload_jobs_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "payload_jobs_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
- }
- },
- "enums": {
- "public.enum_customers_industry": {
- "name": "enum_customers_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum_customers_supabase_products": {
- "name": "enum_customers_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum_customers_company_size": {
- "name": "enum_customers_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum_customers_region": {
- "name": "enum_customers_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum_customers_status": {
- "name": "enum_customers_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__customers_v_version_industry": {
- "name": "enum__customers_v_version_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum__customers_v_version_supabase_products": {
- "name": "enum__customers_v_version_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum__customers_v_version_company_size": {
- "name": "enum__customers_v_version_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum__customers_v_version_region": {
- "name": "enum__customers_v_version_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum__customers_v_version_status": {
- "name": "enum__customers_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_events_type": {
- "name": "enum_events_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum_events_timezone": {
- "name": "enum_events_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum_events_link_target": {
- "name": "enum_events_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_main_cta_target": {
- "name": "enum_events_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_status": {
- "name": "enum_events_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__events_v_version_type": {
- "name": "enum__events_v_version_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum__events_v_version_timezone": {
- "name": "enum__events_v_version_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum__events_v_version_link_target": {
- "name": "enum__events_v_version_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_main_cta_target": {
- "name": "enum__events_v_version_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_status": {
- "name": "enum__events_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_posts_launchweek": {
- "name": "enum_posts_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum_posts_status": {
- "name": "enum_posts_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__posts_v_version_launchweek": {
- "name": "enum__posts_v_version_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum__posts_v_version_status": {
- "name": "enum__posts_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_users_roles": {
- "name": "enum_users_roles",
- "schema": "public",
- "values": [
- "admin",
- "editor"
- ]
- },
- "public.enum_payload_jobs_log_task_slug": {
- "name": "enum_payload_jobs_log_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- },
- "public.enum_payload_jobs_log_state": {
- "name": "enum_payload_jobs_log_state",
- "schema": "public",
- "values": [
- "failed",
- "succeeded"
- ]
- },
- "public.enum_payload_jobs_task_slug": {
- "name": "enum_payload_jobs_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- }
- },
- "schemas": {},
- "sequences": {},
- "roles": {},
- "policies": {},
- "views": {},
- "_meta": {
- "schemas": {},
- "tables": {},
- "columns": {}
- }
-}
\ No newline at end of file
diff --git a/apps/cms/src/migrations/20250619_155345.ts b/apps/cms/src/migrations/20250619_155345.ts
deleted file mode 100644
index 65af423d602..00000000000
--- a/apps/cms/src/migrations/20250619_155345.ts
+++ /dev/null
@@ -1,1136 +0,0 @@
-import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'
-
-export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
- await db.execute(sql`
- CREATE TYPE "public"."enum_customers_industry" AS ENUM('healthcare', 'fintech', 'ecommerce', 'education', 'gaming', 'media', 'real-estate', 'saas', 'social', 'analytics', 'ai', 'developer-tools');
- CREATE TYPE "public"."enum_customers_supabase_products" AS ENUM('database', 'auth', 'storage', 'realtime', 'functions', 'vector');
- CREATE TYPE "public"."enum_customers_company_size" AS ENUM('startup', 'enterprise', 'indie_dev');
- CREATE TYPE "public"."enum_customers_region" AS ENUM('Asia', 'Europe', 'North America', 'South America', 'Africa', 'Oceania');
- CREATE TYPE "public"."enum_customers_status" AS ENUM('draft', 'published');
- CREATE TYPE "public"."enum__customers_v_version_industry" AS ENUM('healthcare', 'fintech', 'ecommerce', 'education', 'gaming', 'media', 'real-estate', 'saas', 'social', 'analytics', 'ai', 'developer-tools');
- CREATE TYPE "public"."enum__customers_v_version_supabase_products" AS ENUM('database', 'auth', 'storage', 'realtime', 'functions', 'vector');
- CREATE TYPE "public"."enum__customers_v_version_company_size" AS ENUM('startup', 'enterprise', 'indie_dev');
- CREATE TYPE "public"."enum__customers_v_version_region" AS ENUM('Asia', 'Europe', 'North America', 'South America', 'Africa', 'Oceania');
- CREATE TYPE "public"."enum__customers_v_version_status" AS ENUM('draft', 'published');
- CREATE TYPE "public"."enum_events_type" AS ENUM('conference', 'hackathon', 'launch-week', 'meetup', 'office-hours', 'talk', 'webinar', 'workshop', 'other');
- CREATE TYPE "public"."enum_events_timezone" AS ENUM('Africa/Abidjan', 'Africa/Accra', 'Africa/Addis_Ababa', 'Africa/Algiers', 'Africa/Asmara', 'Africa/Bamako', 'Africa/Bangui', 'Africa/Banjul', 'Africa/Bissau', 'Africa/Blantyre', 'Africa/Brazzaville', 'Africa/Bujumbura', 'Africa/Cairo', 'Africa/Casablanca', 'Africa/Ceuta', 'Africa/Conakry', 'Africa/Dakar', 'Africa/Dar_es_Salaam', 'Africa/Djibouti', 'Africa/Douala', 'Africa/El_Aaiun', 'Africa/Freetown', 'Africa/Gaborone', 'Africa/Harare', 'Africa/Johannesburg', 'Africa/Juba', 'Africa/Kampala', 'Africa/Khartoum', 'Africa/Kigali', 'Africa/Kinshasa', 'Africa/Lagos', 'Africa/Libreville', 'Africa/Lome', 'Africa/Luanda', 'Africa/Lubumbashi', 'Africa/Lusaka', 'Africa/Malabo', 'Africa/Maputo', 'Africa/Maseru', 'Africa/Mbabane', 'Africa/Mogadishu', 'Africa/Monrovia', 'Africa/Nairobi', 'Africa/Ndjamena', 'Africa/Niamey', 'Africa/Nouakchott', 'Africa/Ouagadougou', 'Africa/Porto-Novo', 'Africa/Sao_Tome', 'Africa/Tripoli', 'Africa/Tunis', 'Africa/Windhoek', 'America/Adak', 'America/Anchorage', 'America/Anguilla', 'America/Antigua', 'America/Araguaina', 'America/Argentina/Buenos_Aires', 'America/Argentina/Catamarca', 'America/Argentina/Cordoba', 'America/Argentina/Jujuy', 'America/Argentina/La_Rioja', 'America/Argentina/Mendoza', 'America/Argentina/Rio_Gallegos', 'America/Argentina/Salta', 'America/Argentina/San_Juan', 'America/Argentina/San_Luis', 'America/Argentina/Tucuman', 'America/Argentina/Ushuaia', 'America/Aruba', 'America/Asuncion', 'America/Atikokan', 'America/Bahia', 'America/Bahia_Banderas', 'America/Barbados', 'America/Belem', 'America/Belize', 'America/Blanc-Sablon', 'America/Boa_Vista', 'America/Bogota', 'America/Boise', 'America/Cambridge_Bay', 'America/Campo_Grande', 'America/Cancun', 'America/Caracas', 'America/Cayenne', 'America/Cayman', 'America/Chicago', 'America/Chihuahua', 'America/Costa_Rica', 'America/Creston', 'America/Cuiaba', 'America/Curacao', 'America/Danmarkshavn', 'America/Dawson', 'America/Dawson_Creek', 'America/Denver', 'America/Detroit', 'America/Dominica', 'America/Edmonton', 'America/Eirunepe', 'America/El_Salvador', 'America/Fort_Nelson', 'America/Fortaleza', 'America/Glace_Bay', 'America/Godthab', 'America/Goose_Bay', 'America/Grand_Turk', 'America/Grenada', 'America/Guadeloupe', 'America/Guatemala', 'America/Guayaquil', 'America/Guyana', 'America/Halifax', 'America/Havana', 'America/Hermosillo', 'America/Indiana/Indianapolis', 'America/Indiana/Knox', 'America/Indiana/Marengo', 'America/Indiana/Petersburg', 'America/Indiana/Tell_City', 'America/Indiana/Vevay', 'America/Indiana/Vincennes', 'America/Indiana/Winamac', 'America/Inuvik', 'America/Iqaluit', 'America/Jamaica', 'America/Juneau', 'America/Kentucky/Louisville', 'America/Kentucky/Monticello', 'America/Kralendijk', 'America/La_Paz', 'America/Lima', 'America/Los_Angeles', 'America/Lower_Princes', 'America/Maceio', 'America/Managua', 'America/Manaus', 'America/Marigot', 'America/Martinique', 'America/Matamoros', 'America/Mazatlan', 'America/Menominee', 'America/Merida', 'America/Metlakatla', 'America/Mexico_City', 'America/Miquelon', 'America/Moncton', 'America/Monterrey', 'America/Montevideo', 'America/Montserrat', 'America/Nassau', 'America/New_York', 'America/Nipigon', 'America/Nome', 'America/Noronha', 'America/North_Dakota/Beulah', 'America/North_Dakota/Center', 'America/North_Dakota/New_Salem', 'America/Ojinaga', 'America/Panama', 'America/Pangnirtung', 'America/Paramaribo', 'America/Phoenix', 'America/Port-au-Prince', 'America/Port_of_Spain', 'America/Porto_Velho', 'America/Puerto_Rico', 'America/Punta_Arenas', 'America/Rainy_River', 'America/Rankin_Inlet', 'America/Recife', 'America/Regina', 'America/Resolute', 'America/Rio_Branco', 'America/Santarem', 'America/Santiago', 'America/Santo_Domingo', 'America/Sao_Paulo', 'America/Scoresbysund', 'America/Sitka', 'America/St_Barthelemy', 'America/St_Johns', 'America/St_Kitts', 'America/St_Lucia', 'America/St_Thomas', 'America/St_Vincent', 'America/Swift_Current', 'America/Tegucigalpa', 'America/Thule', 'America/Thunder_Bay', 'America/Tijuana', 'America/Toronto', 'America/Tortola', 'America/Vancouver', 'America/Whitehorse', 'America/Winnipeg', 'America/Yakutat', 'America/Yellowknife', 'Antarctica/Casey', 'Antarctica/Davis', 'Antarctica/DumontDUrville', 'Antarctica/Macquarie', 'Antarctica/Mawson', 'Antarctica/McMurdo', 'Antarctica/Palmer', 'Antarctica/Rothera', 'Antarctica/Syowa', 'Antarctica/Troll', 'Antarctica/Vostok', 'Arctic/Longyearbyen', 'Asia/Aden', 'Asia/Almaty', 'Asia/Amman', 'Asia/Anadyr', 'Asia/Aqtau', 'Asia/Aqtobe', 'Asia/Ashgabat', 'Asia/Atyrau', 'Asia/Baghdad', 'Asia/Bahrain', 'Asia/Baku', 'Asia/Bangkok', 'Asia/Barnaul', 'Asia/Beirut', 'Asia/Bishkek', 'Asia/Brunei', 'Asia/Chita', 'Asia/Choibalsan', 'Asia/Colombo', 'Asia/Damascus', 'Asia/Dhaka', 'Asia/Dili', 'Asia/Dubai', 'Asia/Dushanbe', 'Asia/Famagusta', 'Asia/Gaza', 'Asia/Hebron', 'Asia/Ho_Chi_Minh', 'Asia/Hong_Kong', 'Asia/Hovd', 'Asia/Irkutsk', 'Asia/Istanbul', 'Asia/Jakarta', 'Asia/Jayapura', 'Asia/Jerusalem', 'Asia/Kabul', 'Asia/Kamchatka', 'Asia/Karachi', 'Asia/Kathmandu', 'Asia/Khandyga', 'Asia/Kolkata', 'Asia/Krasnoyarsk', 'Asia/Kuala_Lumpur', 'Asia/Kuching', 'Asia/Kuwait', 'Asia/Macau', 'Asia/Magadan', 'Asia/Makassar', 'Asia/Manila', 'Asia/Muscat', 'Asia/Nicosia', 'Asia/Novokuznetsk', 'Asia/Novosibirsk', 'Asia/Omsk', 'Asia/Oral', 'Asia/Phnom_Penh', 'Asia/Pontianak', 'Asia/Pyongyang', 'Asia/Qatar', 'Asia/Qostanay', 'Asia/Qyzylorda', 'Asia/Riyadh', 'Asia/Sakhalin', 'Asia/Samarkand', 'Asia/Seoul', 'Asia/Shanghai', 'Asia/Singapore', 'Asia/Srednekolymsk', 'Asia/Taipei', 'Asia/Tashkent', 'Asia/Tbilisi', 'Asia/Tehran', 'Asia/Thimphu', 'Asia/Tokyo', 'Asia/Tomsk', 'Asia/Ulaanbaatar', 'Asia/Urumqi', 'Asia/Ust-Nera', 'Asia/Vientiane', 'Asia/Vladivostok', 'Asia/Yakutsk', 'Asia/Yangon', 'Asia/Yekaterinburg', 'Asia/Yerevan', 'Atlantic/Azores', 'Atlantic/Bermuda', 'Atlantic/Canary', 'Atlantic/Cape_Verde', 'Atlantic/Faroe', 'Atlantic/Madeira', 'Atlantic/Reykjavik', 'Atlantic/South_Georgia', 'Atlantic/St_Helena', 'Atlantic/Stanley', 'Australia/Adelaide', 'Australia/Brisbane', 'Australia/Broken_Hill', 'Australia/Currie', 'Australia/Darwin', 'Australia/Eucla', 'Australia/Hobart', 'Australia/Lindeman', 'Australia/Lord_Howe', 'Australia/Melbourne', 'Australia/Perth', 'Australia/Sydney', 'Europe/Amsterdam', 'Europe/Andorra', 'Europe/Astrakhan', 'Europe/Athens', 'Europe/Belgrade', 'Europe/Berlin', 'Europe/Bratislava', 'Europe/Brussels', 'Europe/Bucharest', 'Europe/Budapest', 'Europe/Busingen', 'Europe/Chisinau', 'Europe/Copenhagen', 'Europe/Dublin', 'Europe/Gibraltar', 'Europe/Guernsey', 'Europe/Helsinki', 'Europe/Isle_of_Man', 'Europe/Istanbul', 'Europe/Jersey', 'Europe/Kaliningrad', 'Europe/Kiev', 'Europe/Kirov', 'Europe/Lisbon', 'Europe/Ljubljana', 'Europe/London', 'Europe/Luxembourg', 'Europe/Madrid', 'Europe/Malta', 'Europe/Mariehamn', 'Europe/Minsk', 'Europe/Monaco', 'Europe/Moscow', 'Europe/Oslo', 'Europe/Paris', 'Europe/Podgorica', 'Europe/Prague', 'Europe/Riga', 'Europe/Rome', 'Europe/Samara', 'Europe/San_Marino', 'Europe/Sarajevo', 'Europe/Saratov', 'Europe/Simferopol', 'Europe/Skopje', 'Europe/Sofia', 'Europe/Stockholm', 'Europe/Tallinn', 'Europe/Tirane', 'Europe/Ulyanovsk', 'Europe/Uzhgorod', 'Europe/Vaduz', 'Europe/Vatican', 'Europe/Vienna', 'Europe/Vilnius', 'Europe/Volgograd', 'Europe/Warsaw', 'Europe/Zagreb', 'Europe/Zaporozhye', 'Europe/Zurich', 'Indian/Antananarivo', 'Indian/Chagos', 'Indian/Christmas', 'Indian/Cocos', 'Indian/Comoro', 'Indian/Kerguelen', 'Indian/Mahe', 'Indian/Maldives', 'Indian/Mauritius', 'Indian/Mayotte', 'Indian/Reunion', 'Pacific/Apia', 'Pacific/Auckland', 'Pacific/Bougainville', 'Pacific/Chatham', 'Pacific/Chuuk', 'Pacific/Easter', 'Pacific/Efate', 'Pacific/Enderbury', 'Pacific/Fakaofo', 'Pacific/Fiji', 'Pacific/Funafuti', 'Pacific/Galapagos', 'Pacific/Gambier', 'Pacific/Guadalcanal', 'Pacific/Guam', 'Pacific/Honolulu', 'Pacific/Kiritimati', 'Pacific/Kosrae', 'Pacific/Kwajalein', 'Pacific/Majuro', 'Pacific/Marquesas', 'Pacific/Midway', 'Pacific/Nauru', 'Pacific/Niue', 'Pacific/Norfolk', 'Pacific/Noumea', 'Pacific/Pago_Pago', 'Pacific/Palau', 'Pacific/Pitcairn', 'Pacific/Pohnpei', 'Pacific/Port_Moresby', 'Pacific/Rarotonga', 'Pacific/Saipan', 'Pacific/Tahiti', 'Pacific/Tarawa', 'Pacific/Tongatapu', 'Pacific/Wake', 'Pacific/Wallis', 'UTC');
- CREATE TYPE "public"."enum_events_link_target" AS ENUM('_self', '_blank');
- CREATE TYPE "public"."enum_events_main_cta_target" AS ENUM('_self', '_blank');
- CREATE TYPE "public"."enum_events_status" AS ENUM('draft', 'published');
- CREATE TYPE "public"."enum__events_v_version_type" AS ENUM('conference', 'hackathon', 'launch-week', 'meetup', 'office-hours', 'talk', 'webinar', 'workshop', 'other');
- CREATE TYPE "public"."enum__events_v_version_timezone" AS ENUM('Africa/Abidjan', 'Africa/Accra', 'Africa/Addis_Ababa', 'Africa/Algiers', 'Africa/Asmara', 'Africa/Bamako', 'Africa/Bangui', 'Africa/Banjul', 'Africa/Bissau', 'Africa/Blantyre', 'Africa/Brazzaville', 'Africa/Bujumbura', 'Africa/Cairo', 'Africa/Casablanca', 'Africa/Ceuta', 'Africa/Conakry', 'Africa/Dakar', 'Africa/Dar_es_Salaam', 'Africa/Djibouti', 'Africa/Douala', 'Africa/El_Aaiun', 'Africa/Freetown', 'Africa/Gaborone', 'Africa/Harare', 'Africa/Johannesburg', 'Africa/Juba', 'Africa/Kampala', 'Africa/Khartoum', 'Africa/Kigali', 'Africa/Kinshasa', 'Africa/Lagos', 'Africa/Libreville', 'Africa/Lome', 'Africa/Luanda', 'Africa/Lubumbashi', 'Africa/Lusaka', 'Africa/Malabo', 'Africa/Maputo', 'Africa/Maseru', 'Africa/Mbabane', 'Africa/Mogadishu', 'Africa/Monrovia', 'Africa/Nairobi', 'Africa/Ndjamena', 'Africa/Niamey', 'Africa/Nouakchott', 'Africa/Ouagadougou', 'Africa/Porto-Novo', 'Africa/Sao_Tome', 'Africa/Tripoli', 'Africa/Tunis', 'Africa/Windhoek', 'America/Adak', 'America/Anchorage', 'America/Anguilla', 'America/Antigua', 'America/Araguaina', 'America/Argentina/Buenos_Aires', 'America/Argentina/Catamarca', 'America/Argentina/Cordoba', 'America/Argentina/Jujuy', 'America/Argentina/La_Rioja', 'America/Argentina/Mendoza', 'America/Argentina/Rio_Gallegos', 'America/Argentina/Salta', 'America/Argentina/San_Juan', 'America/Argentina/San_Luis', 'America/Argentina/Tucuman', 'America/Argentina/Ushuaia', 'America/Aruba', 'America/Asuncion', 'America/Atikokan', 'America/Bahia', 'America/Bahia_Banderas', 'America/Barbados', 'America/Belem', 'America/Belize', 'America/Blanc-Sablon', 'America/Boa_Vista', 'America/Bogota', 'America/Boise', 'America/Cambridge_Bay', 'America/Campo_Grande', 'America/Cancun', 'America/Caracas', 'America/Cayenne', 'America/Cayman', 'America/Chicago', 'America/Chihuahua', 'America/Costa_Rica', 'America/Creston', 'America/Cuiaba', 'America/Curacao', 'America/Danmarkshavn', 'America/Dawson', 'America/Dawson_Creek', 'America/Denver', 'America/Detroit', 'America/Dominica', 'America/Edmonton', 'America/Eirunepe', 'America/El_Salvador', 'America/Fort_Nelson', 'America/Fortaleza', 'America/Glace_Bay', 'America/Godthab', 'America/Goose_Bay', 'America/Grand_Turk', 'America/Grenada', 'America/Guadeloupe', 'America/Guatemala', 'America/Guayaquil', 'America/Guyana', 'America/Halifax', 'America/Havana', 'America/Hermosillo', 'America/Indiana/Indianapolis', 'America/Indiana/Knox', 'America/Indiana/Marengo', 'America/Indiana/Petersburg', 'America/Indiana/Tell_City', 'America/Indiana/Vevay', 'America/Indiana/Vincennes', 'America/Indiana/Winamac', 'America/Inuvik', 'America/Iqaluit', 'America/Jamaica', 'America/Juneau', 'America/Kentucky/Louisville', 'America/Kentucky/Monticello', 'America/Kralendijk', 'America/La_Paz', 'America/Lima', 'America/Los_Angeles', 'America/Lower_Princes', 'America/Maceio', 'America/Managua', 'America/Manaus', 'America/Marigot', 'America/Martinique', 'America/Matamoros', 'America/Mazatlan', 'America/Menominee', 'America/Merida', 'America/Metlakatla', 'America/Mexico_City', 'America/Miquelon', 'America/Moncton', 'America/Monterrey', 'America/Montevideo', 'America/Montserrat', 'America/Nassau', 'America/New_York', 'America/Nipigon', 'America/Nome', 'America/Noronha', 'America/North_Dakota/Beulah', 'America/North_Dakota/Center', 'America/North_Dakota/New_Salem', 'America/Ojinaga', 'America/Panama', 'America/Pangnirtung', 'America/Paramaribo', 'America/Phoenix', 'America/Port-au-Prince', 'America/Port_of_Spain', 'America/Porto_Velho', 'America/Puerto_Rico', 'America/Punta_Arenas', 'America/Rainy_River', 'America/Rankin_Inlet', 'America/Recife', 'America/Regina', 'America/Resolute', 'America/Rio_Branco', 'America/Santarem', 'America/Santiago', 'America/Santo_Domingo', 'America/Sao_Paulo', 'America/Scoresbysund', 'America/Sitka', 'America/St_Barthelemy', 'America/St_Johns', 'America/St_Kitts', 'America/St_Lucia', 'America/St_Thomas', 'America/St_Vincent', 'America/Swift_Current', 'America/Tegucigalpa', 'America/Thule', 'America/Thunder_Bay', 'America/Tijuana', 'America/Toronto', 'America/Tortola', 'America/Vancouver', 'America/Whitehorse', 'America/Winnipeg', 'America/Yakutat', 'America/Yellowknife', 'Antarctica/Casey', 'Antarctica/Davis', 'Antarctica/DumontDUrville', 'Antarctica/Macquarie', 'Antarctica/Mawson', 'Antarctica/McMurdo', 'Antarctica/Palmer', 'Antarctica/Rothera', 'Antarctica/Syowa', 'Antarctica/Troll', 'Antarctica/Vostok', 'Arctic/Longyearbyen', 'Asia/Aden', 'Asia/Almaty', 'Asia/Amman', 'Asia/Anadyr', 'Asia/Aqtau', 'Asia/Aqtobe', 'Asia/Ashgabat', 'Asia/Atyrau', 'Asia/Baghdad', 'Asia/Bahrain', 'Asia/Baku', 'Asia/Bangkok', 'Asia/Barnaul', 'Asia/Beirut', 'Asia/Bishkek', 'Asia/Brunei', 'Asia/Chita', 'Asia/Choibalsan', 'Asia/Colombo', 'Asia/Damascus', 'Asia/Dhaka', 'Asia/Dili', 'Asia/Dubai', 'Asia/Dushanbe', 'Asia/Famagusta', 'Asia/Gaza', 'Asia/Hebron', 'Asia/Ho_Chi_Minh', 'Asia/Hong_Kong', 'Asia/Hovd', 'Asia/Irkutsk', 'Asia/Istanbul', 'Asia/Jakarta', 'Asia/Jayapura', 'Asia/Jerusalem', 'Asia/Kabul', 'Asia/Kamchatka', 'Asia/Karachi', 'Asia/Kathmandu', 'Asia/Khandyga', 'Asia/Kolkata', 'Asia/Krasnoyarsk', 'Asia/Kuala_Lumpur', 'Asia/Kuching', 'Asia/Kuwait', 'Asia/Macau', 'Asia/Magadan', 'Asia/Makassar', 'Asia/Manila', 'Asia/Muscat', 'Asia/Nicosia', 'Asia/Novokuznetsk', 'Asia/Novosibirsk', 'Asia/Omsk', 'Asia/Oral', 'Asia/Phnom_Penh', 'Asia/Pontianak', 'Asia/Pyongyang', 'Asia/Qatar', 'Asia/Qostanay', 'Asia/Qyzylorda', 'Asia/Riyadh', 'Asia/Sakhalin', 'Asia/Samarkand', 'Asia/Seoul', 'Asia/Shanghai', 'Asia/Singapore', 'Asia/Srednekolymsk', 'Asia/Taipei', 'Asia/Tashkent', 'Asia/Tbilisi', 'Asia/Tehran', 'Asia/Thimphu', 'Asia/Tokyo', 'Asia/Tomsk', 'Asia/Ulaanbaatar', 'Asia/Urumqi', 'Asia/Ust-Nera', 'Asia/Vientiane', 'Asia/Vladivostok', 'Asia/Yakutsk', 'Asia/Yangon', 'Asia/Yekaterinburg', 'Asia/Yerevan', 'Atlantic/Azores', 'Atlantic/Bermuda', 'Atlantic/Canary', 'Atlantic/Cape_Verde', 'Atlantic/Faroe', 'Atlantic/Madeira', 'Atlantic/Reykjavik', 'Atlantic/South_Georgia', 'Atlantic/St_Helena', 'Atlantic/Stanley', 'Australia/Adelaide', 'Australia/Brisbane', 'Australia/Broken_Hill', 'Australia/Currie', 'Australia/Darwin', 'Australia/Eucla', 'Australia/Hobart', 'Australia/Lindeman', 'Australia/Lord_Howe', 'Australia/Melbourne', 'Australia/Perth', 'Australia/Sydney', 'Europe/Amsterdam', 'Europe/Andorra', 'Europe/Astrakhan', 'Europe/Athens', 'Europe/Belgrade', 'Europe/Berlin', 'Europe/Bratislava', 'Europe/Brussels', 'Europe/Bucharest', 'Europe/Budapest', 'Europe/Busingen', 'Europe/Chisinau', 'Europe/Copenhagen', 'Europe/Dublin', 'Europe/Gibraltar', 'Europe/Guernsey', 'Europe/Helsinki', 'Europe/Isle_of_Man', 'Europe/Istanbul', 'Europe/Jersey', 'Europe/Kaliningrad', 'Europe/Kiev', 'Europe/Kirov', 'Europe/Lisbon', 'Europe/Ljubljana', 'Europe/London', 'Europe/Luxembourg', 'Europe/Madrid', 'Europe/Malta', 'Europe/Mariehamn', 'Europe/Minsk', 'Europe/Monaco', 'Europe/Moscow', 'Europe/Oslo', 'Europe/Paris', 'Europe/Podgorica', 'Europe/Prague', 'Europe/Riga', 'Europe/Rome', 'Europe/Samara', 'Europe/San_Marino', 'Europe/Sarajevo', 'Europe/Saratov', 'Europe/Simferopol', 'Europe/Skopje', 'Europe/Sofia', 'Europe/Stockholm', 'Europe/Tallinn', 'Europe/Tirane', 'Europe/Ulyanovsk', 'Europe/Uzhgorod', 'Europe/Vaduz', 'Europe/Vatican', 'Europe/Vienna', 'Europe/Vilnius', 'Europe/Volgograd', 'Europe/Warsaw', 'Europe/Zagreb', 'Europe/Zaporozhye', 'Europe/Zurich', 'Indian/Antananarivo', 'Indian/Chagos', 'Indian/Christmas', 'Indian/Cocos', 'Indian/Comoro', 'Indian/Kerguelen', 'Indian/Mahe', 'Indian/Maldives', 'Indian/Mauritius', 'Indian/Mayotte', 'Indian/Reunion', 'Pacific/Apia', 'Pacific/Auckland', 'Pacific/Bougainville', 'Pacific/Chatham', 'Pacific/Chuuk', 'Pacific/Easter', 'Pacific/Efate', 'Pacific/Enderbury', 'Pacific/Fakaofo', 'Pacific/Fiji', 'Pacific/Funafuti', 'Pacific/Galapagos', 'Pacific/Gambier', 'Pacific/Guadalcanal', 'Pacific/Guam', 'Pacific/Honolulu', 'Pacific/Kiritimati', 'Pacific/Kosrae', 'Pacific/Kwajalein', 'Pacific/Majuro', 'Pacific/Marquesas', 'Pacific/Midway', 'Pacific/Nauru', 'Pacific/Niue', 'Pacific/Norfolk', 'Pacific/Noumea', 'Pacific/Pago_Pago', 'Pacific/Palau', 'Pacific/Pitcairn', 'Pacific/Pohnpei', 'Pacific/Port_Moresby', 'Pacific/Rarotonga', 'Pacific/Saipan', 'Pacific/Tahiti', 'Pacific/Tarawa', 'Pacific/Tongatapu', 'Pacific/Wake', 'Pacific/Wallis', 'UTC');
- CREATE TYPE "public"."enum__events_v_version_link_target" AS ENUM('_self', '_blank');
- CREATE TYPE "public"."enum__events_v_version_main_cta_target" AS ENUM('_self', '_blank');
- CREATE TYPE "public"."enum__events_v_version_status" AS ENUM('draft', 'published');
- CREATE TYPE "public"."enum_posts_launchweek" AS ENUM('6', '7', '8', 'x', 'ga', '12', '13', '14', '15');
- CREATE TYPE "public"."enum_posts_status" AS ENUM('draft', 'published');
- CREATE TYPE "public"."enum__posts_v_version_launchweek" AS ENUM('6', '7', '8', 'x', 'ga', '12', '13', '14', '15');
- CREATE TYPE "public"."enum__posts_v_version_status" AS ENUM('draft', 'published');
- CREATE TYPE "public"."enum_users_roles" AS ENUM('admin', 'editor');
- CREATE TYPE "public"."enum_payload_jobs_log_task_slug" AS ENUM('inline', 'schedulePublish');
- CREATE TYPE "public"."enum_payload_jobs_log_state" AS ENUM('failed', 'succeeded');
- CREATE TYPE "public"."enum_payload_jobs_task_slug" AS ENUM('inline', 'schedulePublish');
- CREATE TABLE IF NOT EXISTS "authors" (
- "id" serial PRIMARY KEY NOT NULL,
- "author" varchar NOT NULL,
- "author_id" varchar,
- "position" varchar,
- "author_url" varchar,
- "author_image_url_id" integer,
- "username" 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 IF NOT EXISTS "categories_breadcrumbs" (
- "_order" integer NOT NULL,
- "_parent_id" integer NOT NULL,
- "id" varchar PRIMARY KEY NOT NULL,
- "doc_id" integer,
- "url" varchar,
- "label" varchar
- );
-
- CREATE TABLE IF NOT EXISTS "categories" (
- "id" serial PRIMARY KEY NOT NULL,
- "name" varchar NOT NULL,
- "parent_id" integer,
- "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL
- );
-
- CREATE TABLE IF NOT EXISTS "customers_stats" (
- "_order" integer NOT NULL,
- "_parent_id" integer NOT NULL,
- "id" varchar PRIMARY KEY NOT NULL,
- "stat" varchar,
- "label" varchar
- );
-
- CREATE TABLE IF NOT EXISTS "customers_misc" (
- "_order" integer NOT NULL,
- "_parent_id" integer NOT NULL,
- "id" varchar PRIMARY KEY NOT NULL,
- "label" varchar,
- "text" varchar
- );
-
- CREATE TABLE IF NOT EXISTS "customers_industry" (
- "order" integer NOT NULL,
- "parent_id" integer NOT NULL,
- "value" "enum_customers_industry",
- "id" serial PRIMARY KEY NOT NULL
- );
-
- CREATE TABLE IF NOT EXISTS "customers_supabase_products" (
- "order" integer NOT NULL,
- "parent_id" integer NOT NULL,
- "value" "enum_customers_supabase_products",
- "id" serial PRIMARY KEY NOT NULL
- );
-
- CREATE TABLE IF NOT EXISTS "customers" (
- "id" serial PRIMARY KEY NOT NULL,
- "name" varchar,
- "title" varchar,
- "slug" varchar,
- "slug_lock" boolean DEFAULT true,
- "content" jsonb,
- "description" varchar,
- "about" varchar,
- "company_url" varchar,
- "company_size" "enum_customers_company_size",
- "region" "enum_customers_region",
- "meta_title" varchar,
- "meta_image_id" integer,
- "meta_description" varchar,
- "published_at" timestamp(3) with time zone,
- "logo_id" integer,
- "logo_inverse_id" integer,
- "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "_status" "enum_customers_status" DEFAULT 'draft'
- );
-
- CREATE TABLE IF NOT EXISTS "_customers_v_version_stats" (
- "_order" integer NOT NULL,
- "_parent_id" integer NOT NULL,
- "id" serial PRIMARY KEY NOT NULL,
- "stat" varchar,
- "label" varchar,
- "_uuid" varchar
- );
-
- CREATE TABLE IF NOT EXISTS "_customers_v_version_misc" (
- "_order" integer NOT NULL,
- "_parent_id" integer NOT NULL,
- "id" serial PRIMARY KEY NOT NULL,
- "label" varchar,
- "text" varchar,
- "_uuid" varchar
- );
-
- CREATE TABLE IF NOT EXISTS "_customers_v_version_industry" (
- "order" integer NOT NULL,
- "parent_id" integer NOT NULL,
- "value" "enum__customers_v_version_industry",
- "id" serial PRIMARY KEY NOT NULL
- );
-
- CREATE TABLE IF NOT EXISTS "_customers_v_version_supabase_products" (
- "order" integer NOT NULL,
- "parent_id" integer NOT NULL,
- "value" "enum__customers_v_version_supabase_products",
- "id" serial PRIMARY KEY NOT NULL
- );
-
- CREATE TABLE IF NOT EXISTS "_customers_v" (
- "id" serial PRIMARY KEY NOT NULL,
- "parent_id" integer,
- "version_name" varchar,
- "version_title" varchar,
- "version_slug" varchar,
- "version_slug_lock" boolean DEFAULT true,
- "version_content" jsonb,
- "version_description" varchar,
- "version_about" varchar,
- "version_company_url" varchar,
- "version_company_size" "enum__customers_v_version_company_size",
- "version_region" "enum__customers_v_version_region",
- "version_meta_title" varchar,
- "version_meta_image_id" integer,
- "version_meta_description" varchar,
- "version_published_at" timestamp(3) with time zone,
- "version_logo_id" integer,
- "version_logo_inverse_id" integer,
- "version_updated_at" timestamp(3) with time zone,
- "version_created_at" timestamp(3) with time zone,
- "version__status" "enum__customers_v_version_status" DEFAULT 'draft',
- "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "latest" boolean,
- "autosave" boolean
- );
-
- CREATE TABLE IF NOT EXISTS "events_type" (
- "order" integer NOT NULL,
- "parent_id" integer NOT NULL,
- "value" "enum_events_type",
- "id" serial PRIMARY KEY NOT NULL
- );
-
- CREATE TABLE IF NOT EXISTS "events" (
- "id" serial PRIMARY KEY NOT NULL,
- "title" varchar,
- "slug" varchar,
- "slug_lock" boolean DEFAULT true,
- "subtitle" varchar,
- "content" jsonb,
- "thumb_id" integer,
- "image_id" integer,
- "date" timestamp(3) with time zone,
- "timezone" "enum_events_timezone",
- "show_end_date" boolean DEFAULT false,
- "end_date" timestamp(3) with time zone,
- "duration" varchar,
- "on_demand" boolean DEFAULT false,
- "disable_page_build" boolean DEFAULT false,
- "link_href" varchar,
- "link_target" "enum_events_link_target" DEFAULT '_blank',
- "main_cta_href" varchar,
- "main_cta_target" "enum_events_main_cta_target" DEFAULT '_blank',
- "main_cta_label" varchar,
- "main_cta_disabled" boolean DEFAULT false,
- "main_cta_disabled_label" varchar,
- "company_show_company" boolean DEFAULT false,
- "company_name" varchar,
- "company_website_url" varchar,
- "company_logo_id" integer,
- "company_logo_light_id" integer,
- "participants_show_participants" boolean DEFAULT false,
- "meta_title" varchar,
- "meta_image_id" integer,
- "meta_description" varchar,
- "published_at" timestamp(3) with time zone,
- "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "_status" "enum_events_status" DEFAULT 'draft'
- );
-
- CREATE TABLE IF NOT EXISTS "events_rels" (
- "id" serial PRIMARY KEY NOT NULL,
- "order" integer,
- "parent_id" integer NOT NULL,
- "path" varchar NOT NULL,
- "authors_id" integer
- );
-
- CREATE TABLE IF NOT EXISTS "_events_v_version_type" (
- "order" integer NOT NULL,
- "parent_id" integer NOT NULL,
- "value" "enum__events_v_version_type",
- "id" serial PRIMARY KEY NOT NULL
- );
-
- CREATE TABLE IF NOT EXISTS "_events_v" (
- "id" serial PRIMARY KEY NOT NULL,
- "parent_id" integer,
- "version_title" varchar,
- "version_slug" varchar,
- "version_slug_lock" boolean DEFAULT true,
- "version_subtitle" varchar,
- "version_content" jsonb,
- "version_thumb_id" integer,
- "version_image_id" integer,
- "version_date" timestamp(3) with time zone,
- "version_timezone" "enum__events_v_version_timezone",
- "version_show_end_date" boolean DEFAULT false,
- "version_end_date" timestamp(3) with time zone,
- "version_duration" varchar,
- "version_on_demand" boolean DEFAULT false,
- "version_disable_page_build" boolean DEFAULT false,
- "version_link_href" varchar,
- "version_link_target" "enum__events_v_version_link_target" DEFAULT '_blank',
- "version_main_cta_href" varchar,
- "version_main_cta_target" "enum__events_v_version_main_cta_target" DEFAULT '_blank',
- "version_main_cta_label" varchar,
- "version_main_cta_disabled" boolean DEFAULT false,
- "version_main_cta_disabled_label" varchar,
- "version_company_show_company" boolean DEFAULT false,
- "version_company_name" varchar,
- "version_company_website_url" varchar,
- "version_company_logo_id" integer,
- "version_company_logo_light_id" integer,
- "version_participants_show_participants" boolean DEFAULT false,
- "version_meta_title" varchar,
- "version_meta_image_id" integer,
- "version_meta_description" varchar,
- "version_published_at" timestamp(3) with time zone,
- "version_updated_at" timestamp(3) with time zone,
- "version_created_at" timestamp(3) with time zone,
- "version__status" "enum__events_v_version_status" DEFAULT 'draft',
- "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "latest" boolean,
- "autosave" boolean
- );
-
- CREATE TABLE IF NOT EXISTS "_events_v_rels" (
- "id" serial PRIMARY KEY NOT NULL,
- "order" integer,
- "parent_id" integer NOT NULL,
- "path" varchar NOT NULL,
- "authors_id" integer
- );
-
- CREATE TABLE IF NOT EXISTS "media" (
- "id" serial PRIMARY KEY NOT NULL,
- "alt" varchar,
- "caption" jsonb,
- "prefix" varchar DEFAULT 'media',
- "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,
- "sizes_thumbnail_url" varchar,
- "sizes_thumbnail_width" numeric,
- "sizes_thumbnail_height" numeric,
- "sizes_thumbnail_mime_type" varchar,
- "sizes_thumbnail_filesize" numeric,
- "sizes_thumbnail_filename" varchar,
- "sizes_square_url" varchar,
- "sizes_square_width" numeric,
- "sizes_square_height" numeric,
- "sizes_square_mime_type" varchar,
- "sizes_square_filesize" numeric,
- "sizes_square_filename" varchar,
- "sizes_small_url" varchar,
- "sizes_small_width" numeric,
- "sizes_small_height" numeric,
- "sizes_small_mime_type" varchar,
- "sizes_small_filesize" numeric,
- "sizes_small_filename" varchar,
- "sizes_medium_url" varchar,
- "sizes_medium_width" numeric,
- "sizes_medium_height" numeric,
- "sizes_medium_mime_type" varchar,
- "sizes_medium_filesize" numeric,
- "sizes_medium_filename" varchar,
- "sizes_large_url" varchar,
- "sizes_large_width" numeric,
- "sizes_large_height" numeric,
- "sizes_large_mime_type" varchar,
- "sizes_large_filesize" numeric,
- "sizes_large_filename" varchar,
- "sizes_xlarge_url" varchar,
- "sizes_xlarge_width" numeric,
- "sizes_xlarge_height" numeric,
- "sizes_xlarge_mime_type" varchar,
- "sizes_xlarge_filesize" numeric,
- "sizes_xlarge_filename" varchar,
- "sizes_og_url" varchar,
- "sizes_og_width" numeric,
- "sizes_og_height" numeric,
- "sizes_og_mime_type" varchar,
- "sizes_og_filesize" numeric,
- "sizes_og_filename" varchar
- );
-
- CREATE TABLE IF NOT EXISTS "posts" (
- "id" serial PRIMARY KEY NOT NULL,
- "title" varchar,
- "slug" varchar,
- "slug_lock" boolean DEFAULT true,
- "content" jsonb,
- "thumb_id" integer,
- "image_id" integer,
- "launchweek" "enum_posts_launchweek",
- "reading_time" numeric,
- "date" timestamp(3) with time zone,
- "toc_depth" numeric DEFAULT 2,
- "description" varchar,
- "meta_title" varchar,
- "meta_image_id" integer,
- "meta_description" varchar,
- "published_at" timestamp(3) with time zone,
- "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "_status" "enum_posts_status" DEFAULT 'draft'
- );
-
- CREATE TABLE IF NOT EXISTS "posts_rels" (
- "id" serial PRIMARY KEY NOT NULL,
- "order" integer,
- "parent_id" integer NOT NULL,
- "path" varchar NOT NULL,
- "categories_id" integer,
- "authors_id" integer,
- "tags_id" integer
- );
-
- CREATE TABLE IF NOT EXISTS "_posts_v" (
- "id" serial PRIMARY KEY NOT NULL,
- "parent_id" integer,
- "version_title" varchar,
- "version_slug" varchar,
- "version_slug_lock" boolean DEFAULT true,
- "version_content" jsonb,
- "version_thumb_id" integer,
- "version_image_id" integer,
- "version_launchweek" "enum__posts_v_version_launchweek",
- "version_reading_time" numeric,
- "version_date" timestamp(3) with time zone,
- "version_toc_depth" numeric DEFAULT 2,
- "version_description" varchar,
- "version_meta_title" varchar,
- "version_meta_image_id" integer,
- "version_meta_description" varchar,
- "version_published_at" timestamp(3) with time zone,
- "version_updated_at" timestamp(3) with time zone,
- "version_created_at" timestamp(3) with time zone,
- "version__status" "enum__posts_v_version_status" DEFAULT 'draft',
- "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "latest" boolean,
- "autosave" boolean
- );
-
- CREATE TABLE IF NOT EXISTS "_posts_v_rels" (
- "id" serial PRIMARY KEY NOT NULL,
- "order" integer,
- "parent_id" integer NOT NULL,
- "path" varchar NOT NULL,
- "categories_id" integer,
- "authors_id" integer,
- "tags_id" integer
- );
-
- CREATE TABLE IF NOT EXISTS "tags" (
- "id" serial PRIMARY KEY NOT NULL,
- "name" 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
- );
-
- CREATE TABLE IF NOT EXISTS "users_roles" (
- "order" integer NOT NULL,
- "parent_id" integer NOT NULL,
- "value" "enum_users_roles",
- "id" serial PRIMARY KEY NOT NULL
- );
-
- CREATE TABLE IF NOT EXISTS "users" (
- "id" serial PRIMARY KEY NOT NULL,
- "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "email" 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 IF NOT EXISTS "payload_jobs_log" (
- "_order" integer NOT NULL,
- "_parent_id" integer NOT NULL,
- "id" varchar PRIMARY KEY NOT NULL,
- "executed_at" timestamp(3) with time zone NOT NULL,
- "completed_at" timestamp(3) with time zone NOT NULL,
- "task_slug" "enum_payload_jobs_log_task_slug" NOT NULL,
- "task_i_d" varchar NOT NULL,
- "input" jsonb,
- "output" jsonb,
- "state" "enum_payload_jobs_log_state" NOT NULL,
- "error" jsonb
- );
-
- CREATE TABLE IF NOT EXISTS "payload_jobs" (
- "id" serial PRIMARY KEY NOT NULL,
- "input" jsonb,
- "completed_at" timestamp(3) with time zone,
- "total_tried" numeric DEFAULT 0,
- "has_error" boolean DEFAULT false,
- "error" jsonb,
- "task_slug" "enum_payload_jobs_task_slug",
- "queue" varchar DEFAULT 'default',
- "wait_until" timestamp(3) with time zone,
- "processing" boolean DEFAULT false,
- "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL,
- "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL
- );
-
- CREATE TABLE IF NOT EXISTS "payload_locked_documents" (
- "id" serial PRIMARY KEY 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 IF NOT EXISTS "payload_locked_documents_rels" (
- "id" serial PRIMARY KEY NOT NULL,
- "order" integer,
- "parent_id" integer NOT NULL,
- "path" varchar NOT NULL,
- "authors_id" integer,
- "categories_id" integer,
- "customers_id" integer,
- "events_id" integer,
- "media_id" integer,
- "posts_id" integer,
- "tags_id" integer,
- "users_id" integer,
- "payload_jobs_id" integer
- );
-
- CREATE TABLE IF NOT EXISTS "payload_preferences" (
- "id" serial PRIMARY KEY 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 IF NOT EXISTS "payload_preferences_rels" (
- "id" serial PRIMARY KEY NOT NULL,
- "order" integer,
- "parent_id" integer NOT NULL,
- "path" varchar NOT NULL,
- "users_id" integer
- );
-
- CREATE TABLE IF NOT EXISTS "payload_migrations" (
- "id" serial PRIMARY KEY 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
- );
-
- DO $$ BEGIN
- ALTER TABLE "authors" ADD CONSTRAINT "authors_author_image_url_id_media_id_fk" FOREIGN KEY ("author_image_url_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "categories_breadcrumbs" ADD CONSTRAINT "categories_breadcrumbs_doc_id_categories_id_fk" FOREIGN KEY ("doc_id") REFERENCES "public"."categories"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "categories_breadcrumbs" ADD CONSTRAINT "categories_breadcrumbs_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."categories"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "categories" ADD CONSTRAINT "categories_parent_id_categories_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."categories"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "customers_stats" ADD CONSTRAINT "customers_stats_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."customers"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "customers_misc" ADD CONSTRAINT "customers_misc_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."customers"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "customers_industry" ADD CONSTRAINT "customers_industry_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."customers"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "customers_supabase_products" ADD CONSTRAINT "customers_supabase_products_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."customers"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "customers" ADD CONSTRAINT "customers_meta_image_id_media_id_fk" FOREIGN KEY ("meta_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "customers" ADD CONSTRAINT "customers_logo_id_media_id_fk" FOREIGN KEY ("logo_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "customers" ADD CONSTRAINT "customers_logo_inverse_id_media_id_fk" FOREIGN KEY ("logo_inverse_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_customers_v_version_stats" ADD CONSTRAINT "_customers_v_version_stats_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_customers_v"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_customers_v_version_misc" ADD CONSTRAINT "_customers_v_version_misc_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_customers_v"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_customers_v_version_industry" ADD CONSTRAINT "_customers_v_version_industry_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."_customers_v"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_customers_v_version_supabase_products" ADD CONSTRAINT "_customers_v_version_supabase_products_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."_customers_v"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_customers_v" ADD CONSTRAINT "_customers_v_parent_id_customers_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."customers"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_customers_v" ADD CONSTRAINT "_customers_v_version_meta_image_id_media_id_fk" FOREIGN KEY ("version_meta_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_customers_v" ADD CONSTRAINT "_customers_v_version_logo_id_media_id_fk" FOREIGN KEY ("version_logo_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_customers_v" ADD CONSTRAINT "_customers_v_version_logo_inverse_id_media_id_fk" FOREIGN KEY ("version_logo_inverse_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "events_type" ADD CONSTRAINT "events_type_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."events"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "events" ADD CONSTRAINT "events_thumb_id_media_id_fk" FOREIGN KEY ("thumb_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "events" ADD CONSTRAINT "events_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "events" ADD CONSTRAINT "events_company_logo_id_media_id_fk" FOREIGN KEY ("company_logo_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "events" ADD CONSTRAINT "events_company_logo_light_id_media_id_fk" FOREIGN KEY ("company_logo_light_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "events" ADD CONSTRAINT "events_meta_image_id_media_id_fk" FOREIGN KEY ("meta_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "events_rels" ADD CONSTRAINT "events_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."events"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "events_rels" ADD CONSTRAINT "events_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "public"."authors"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_events_v_version_type" ADD CONSTRAINT "_events_v_version_type_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."_events_v"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_events_v" ADD CONSTRAINT "_events_v_parent_id_events_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."events"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_events_v" ADD CONSTRAINT "_events_v_version_thumb_id_media_id_fk" FOREIGN KEY ("version_thumb_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_events_v" ADD CONSTRAINT "_events_v_version_image_id_media_id_fk" FOREIGN KEY ("version_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_events_v" ADD CONSTRAINT "_events_v_version_company_logo_id_media_id_fk" FOREIGN KEY ("version_company_logo_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_events_v" ADD CONSTRAINT "_events_v_version_company_logo_light_id_media_id_fk" FOREIGN KEY ("version_company_logo_light_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_events_v" ADD CONSTRAINT "_events_v_version_meta_image_id_media_id_fk" FOREIGN KEY ("version_meta_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_events_v_rels" ADD CONSTRAINT "_events_v_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."_events_v"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_events_v_rels" ADD CONSTRAINT "_events_v_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "public"."authors"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "posts" ADD CONSTRAINT "posts_thumb_id_media_id_fk" FOREIGN KEY ("thumb_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "posts" ADD CONSTRAINT "posts_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "posts" ADD CONSTRAINT "posts_meta_image_id_media_id_fk" FOREIGN KEY ("meta_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "posts_rels" ADD CONSTRAINT "posts_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."posts"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "posts_rels" ADD CONSTRAINT "posts_rels_categories_fk" FOREIGN KEY ("categories_id") REFERENCES "public"."categories"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "posts_rels" ADD CONSTRAINT "posts_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "public"."authors"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "posts_rels" ADD CONSTRAINT "posts_rels_tags_fk" FOREIGN KEY ("tags_id") REFERENCES "public"."tags"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_posts_v" ADD CONSTRAINT "_posts_v_parent_id_posts_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."posts"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_posts_v" ADD CONSTRAINT "_posts_v_version_thumb_id_media_id_fk" FOREIGN KEY ("version_thumb_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_posts_v" ADD CONSTRAINT "_posts_v_version_image_id_media_id_fk" FOREIGN KEY ("version_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_posts_v" ADD CONSTRAINT "_posts_v_version_meta_image_id_media_id_fk" FOREIGN KEY ("version_meta_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_posts_v_rels" ADD CONSTRAINT "_posts_v_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."_posts_v"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_posts_v_rels" ADD CONSTRAINT "_posts_v_rels_categories_fk" FOREIGN KEY ("categories_id") REFERENCES "public"."categories"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_posts_v_rels" ADD CONSTRAINT "_posts_v_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "public"."authors"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "_posts_v_rels" ADD CONSTRAINT "_posts_v_rels_tags_fk" FOREIGN KEY ("tags_id") REFERENCES "public"."tags"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "users_roles" ADD CONSTRAINT "users_roles_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "payload_jobs_log" ADD CONSTRAINT "payload_jobs_log_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."payload_jobs"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- 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;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "public"."authors"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_categories_fk" FOREIGN KEY ("categories_id") REFERENCES "public"."categories"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_customers_fk" FOREIGN KEY ("customers_id") REFERENCES "public"."customers"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_events_fk" FOREIGN KEY ("events_id") REFERENCES "public"."events"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- 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;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_posts_fk" FOREIGN KEY ("posts_id") REFERENCES "public"."posts"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_tags_fk" FOREIGN KEY ("tags_id") REFERENCES "public"."tags"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- 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;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_payload_jobs_fk" FOREIGN KEY ("payload_jobs_id") REFERENCES "public"."payload_jobs"("id") ON DELETE cascade ON UPDATE no action;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- 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;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- DO $$ BEGIN
- 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;
- EXCEPTION
- WHEN duplicate_object THEN null;
- END $$;
-
- CREATE INDEX IF NOT EXISTS "authors_author_image_url_idx" ON "authors" USING btree ("author_image_url_id");
- CREATE INDEX IF NOT EXISTS "authors_updated_at_idx" ON "authors" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "authors_created_at_idx" ON "authors" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "categories_breadcrumbs_order_idx" ON "categories_breadcrumbs" USING btree ("_order");
- CREATE INDEX IF NOT EXISTS "categories_breadcrumbs_parent_id_idx" ON "categories_breadcrumbs" USING btree ("_parent_id");
- CREATE INDEX IF NOT EXISTS "categories_breadcrumbs_doc_idx" ON "categories_breadcrumbs" USING btree ("doc_id");
- CREATE INDEX IF NOT EXISTS "categories_parent_idx" ON "categories" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "categories_updated_at_idx" ON "categories" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "categories_created_at_idx" ON "categories" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "customers_stats_order_idx" ON "customers_stats" USING btree ("_order");
- CREATE INDEX IF NOT EXISTS "customers_stats_parent_id_idx" ON "customers_stats" USING btree ("_parent_id");
- CREATE INDEX IF NOT EXISTS "customers_misc_order_idx" ON "customers_misc" USING btree ("_order");
- CREATE INDEX IF NOT EXISTS "customers_misc_parent_id_idx" ON "customers_misc" USING btree ("_parent_id");
- CREATE INDEX IF NOT EXISTS "customers_industry_order_idx" ON "customers_industry" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "customers_industry_parent_idx" ON "customers_industry" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "customers_supabase_products_order_idx" ON "customers_supabase_products" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "customers_supabase_products_parent_idx" ON "customers_supabase_products" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "customers_slug_idx" ON "customers" USING btree ("slug");
- CREATE INDEX IF NOT EXISTS "customers_meta_meta_image_idx" ON "customers" USING btree ("meta_image_id");
- CREATE INDEX IF NOT EXISTS "customers_logo_idx" ON "customers" USING btree ("logo_id");
- CREATE INDEX IF NOT EXISTS "customers_logo_inverse_idx" ON "customers" USING btree ("logo_inverse_id");
- CREATE INDEX IF NOT EXISTS "customers_updated_at_idx" ON "customers" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "customers_created_at_idx" ON "customers" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "customers__status_idx" ON "customers" USING btree ("_status");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_stats_order_idx" ON "_customers_v_version_stats" USING btree ("_order");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_stats_parent_id_idx" ON "_customers_v_version_stats" USING btree ("_parent_id");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_misc_order_idx" ON "_customers_v_version_misc" USING btree ("_order");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_misc_parent_id_idx" ON "_customers_v_version_misc" USING btree ("_parent_id");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_industry_order_idx" ON "_customers_v_version_industry" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_industry_parent_idx" ON "_customers_v_version_industry" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_supabase_products_order_idx" ON "_customers_v_version_supabase_products" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_supabase_products_parent_idx" ON "_customers_v_version_supabase_products" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "_customers_v_parent_idx" ON "_customers_v" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_slug_idx" ON "_customers_v" USING btree ("version_slug");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_meta_version_meta_image_idx" ON "_customers_v" USING btree ("version_meta_image_id");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_logo_idx" ON "_customers_v" USING btree ("version_logo_id");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_logo_inverse_idx" ON "_customers_v" USING btree ("version_logo_inverse_id");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_updated_at_idx" ON "_customers_v" USING btree ("version_updated_at");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_created_at_idx" ON "_customers_v" USING btree ("version_created_at");
- CREATE INDEX IF NOT EXISTS "_customers_v_version_version__status_idx" ON "_customers_v" USING btree ("version__status");
- CREATE INDEX IF NOT EXISTS "_customers_v_created_at_idx" ON "_customers_v" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "_customers_v_updated_at_idx" ON "_customers_v" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "_customers_v_latest_idx" ON "_customers_v" USING btree ("latest");
- CREATE INDEX IF NOT EXISTS "_customers_v_autosave_idx" ON "_customers_v" USING btree ("autosave");
- CREATE INDEX IF NOT EXISTS "events_type_order_idx" ON "events_type" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "events_type_parent_idx" ON "events_type" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "events_slug_idx" ON "events" USING btree ("slug");
- CREATE INDEX IF NOT EXISTS "events_thumb_idx" ON "events" USING btree ("thumb_id");
- CREATE INDEX IF NOT EXISTS "events_image_idx" ON "events" USING btree ("image_id");
- CREATE INDEX IF NOT EXISTS "events_company_company_logo_idx" ON "events" USING btree ("company_logo_id");
- CREATE INDEX IF NOT EXISTS "events_company_company_logo_light_idx" ON "events" USING btree ("company_logo_light_id");
- CREATE INDEX IF NOT EXISTS "events_meta_meta_image_idx" ON "events" USING btree ("meta_image_id");
- CREATE INDEX IF NOT EXISTS "events_updated_at_idx" ON "events" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "events_created_at_idx" ON "events" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "events__status_idx" ON "events" USING btree ("_status");
- CREATE INDEX IF NOT EXISTS "events_rels_order_idx" ON "events_rels" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "events_rels_parent_idx" ON "events_rels" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "events_rels_path_idx" ON "events_rels" USING btree ("path");
- CREATE INDEX IF NOT EXISTS "events_rels_authors_id_idx" ON "events_rels" USING btree ("authors_id");
- CREATE INDEX IF NOT EXISTS "_events_v_version_type_order_idx" ON "_events_v_version_type" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "_events_v_version_type_parent_idx" ON "_events_v_version_type" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "_events_v_parent_idx" ON "_events_v" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "_events_v_version_version_slug_idx" ON "_events_v" USING btree ("version_slug");
- CREATE INDEX IF NOT EXISTS "_events_v_version_version_thumb_idx" ON "_events_v" USING btree ("version_thumb_id");
- CREATE INDEX IF NOT EXISTS "_events_v_version_version_image_idx" ON "_events_v" USING btree ("version_image_id");
- CREATE INDEX IF NOT EXISTS "_events_v_version_company_version_company_logo_idx" ON "_events_v" USING btree ("version_company_logo_id");
- CREATE INDEX IF NOT EXISTS "_events_v_version_company_version_company_logo_light_idx" ON "_events_v" USING btree ("version_company_logo_light_id");
- CREATE INDEX IF NOT EXISTS "_events_v_version_meta_version_meta_image_idx" ON "_events_v" USING btree ("version_meta_image_id");
- CREATE INDEX IF NOT EXISTS "_events_v_version_version_updated_at_idx" ON "_events_v" USING btree ("version_updated_at");
- CREATE INDEX IF NOT EXISTS "_events_v_version_version_created_at_idx" ON "_events_v" USING btree ("version_created_at");
- CREATE INDEX IF NOT EXISTS "_events_v_version_version__status_idx" ON "_events_v" USING btree ("version__status");
- CREATE INDEX IF NOT EXISTS "_events_v_created_at_idx" ON "_events_v" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "_events_v_updated_at_idx" ON "_events_v" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "_events_v_latest_idx" ON "_events_v" USING btree ("latest");
- CREATE INDEX IF NOT EXISTS "_events_v_autosave_idx" ON "_events_v" USING btree ("autosave");
- CREATE INDEX IF NOT EXISTS "_events_v_rels_order_idx" ON "_events_v_rels" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "_events_v_rels_parent_idx" ON "_events_v_rels" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "_events_v_rels_path_idx" ON "_events_v_rels" USING btree ("path");
- CREATE INDEX IF NOT EXISTS "_events_v_rels_authors_id_idx" ON "_events_v_rels" USING btree ("authors_id");
- CREATE INDEX IF NOT EXISTS "media_updated_at_idx" ON "media" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "media_created_at_idx" ON "media" USING btree ("created_at");
- CREATE UNIQUE INDEX IF NOT EXISTS "media_filename_idx" ON "media" USING btree ("filename");
- CREATE INDEX IF NOT EXISTS "media_sizes_thumbnail_sizes_thumbnail_filename_idx" ON "media" USING btree ("sizes_thumbnail_filename");
- CREATE INDEX IF NOT EXISTS "media_sizes_square_sizes_square_filename_idx" ON "media" USING btree ("sizes_square_filename");
- CREATE INDEX IF NOT EXISTS "media_sizes_small_sizes_small_filename_idx" ON "media" USING btree ("sizes_small_filename");
- CREATE INDEX IF NOT EXISTS "media_sizes_medium_sizes_medium_filename_idx" ON "media" USING btree ("sizes_medium_filename");
- CREATE INDEX IF NOT EXISTS "media_sizes_large_sizes_large_filename_idx" ON "media" USING btree ("sizes_large_filename");
- CREATE INDEX IF NOT EXISTS "media_sizes_xlarge_sizes_xlarge_filename_idx" ON "media" USING btree ("sizes_xlarge_filename");
- CREATE INDEX IF NOT EXISTS "media_sizes_og_sizes_og_filename_idx" ON "media" USING btree ("sizes_og_filename");
- CREATE INDEX IF NOT EXISTS "posts_slug_idx" ON "posts" USING btree ("slug");
- CREATE INDEX IF NOT EXISTS "posts_thumb_idx" ON "posts" USING btree ("thumb_id");
- CREATE INDEX IF NOT EXISTS "posts_image_idx" ON "posts" USING btree ("image_id");
- CREATE INDEX IF NOT EXISTS "posts_meta_meta_image_idx" ON "posts" USING btree ("meta_image_id");
- CREATE INDEX IF NOT EXISTS "posts_updated_at_idx" ON "posts" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "posts_created_at_idx" ON "posts" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "posts__status_idx" ON "posts" USING btree ("_status");
- CREATE INDEX IF NOT EXISTS "posts_rels_order_idx" ON "posts_rels" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "posts_rels_parent_idx" ON "posts_rels" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "posts_rels_path_idx" ON "posts_rels" USING btree ("path");
- CREATE INDEX IF NOT EXISTS "posts_rels_categories_id_idx" ON "posts_rels" USING btree ("categories_id");
- CREATE INDEX IF NOT EXISTS "posts_rels_authors_id_idx" ON "posts_rels" USING btree ("authors_id");
- CREATE INDEX IF NOT EXISTS "posts_rels_tags_id_idx" ON "posts_rels" USING btree ("tags_id");
- CREATE INDEX IF NOT EXISTS "_posts_v_parent_idx" ON "_posts_v" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_slug_idx" ON "_posts_v" USING btree ("version_slug");
- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_thumb_idx" ON "_posts_v" USING btree ("version_thumb_id");
- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_image_idx" ON "_posts_v" USING btree ("version_image_id");
- CREATE INDEX IF NOT EXISTS "_posts_v_version_meta_version_meta_image_idx" ON "_posts_v" USING btree ("version_meta_image_id");
- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_updated_at_idx" ON "_posts_v" USING btree ("version_updated_at");
- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_created_at_idx" ON "_posts_v" USING btree ("version_created_at");
- CREATE INDEX IF NOT EXISTS "_posts_v_version_version__status_idx" ON "_posts_v" USING btree ("version__status");
- CREATE INDEX IF NOT EXISTS "_posts_v_created_at_idx" ON "_posts_v" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "_posts_v_updated_at_idx" ON "_posts_v" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "_posts_v_latest_idx" ON "_posts_v" USING btree ("latest");
- CREATE INDEX IF NOT EXISTS "_posts_v_autosave_idx" ON "_posts_v" USING btree ("autosave");
- CREATE INDEX IF NOT EXISTS "_posts_v_rels_order_idx" ON "_posts_v_rels" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "_posts_v_rels_parent_idx" ON "_posts_v_rels" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "_posts_v_rels_path_idx" ON "_posts_v_rels" USING btree ("path");
- CREATE INDEX IF NOT EXISTS "_posts_v_rels_categories_id_idx" ON "_posts_v_rels" USING btree ("categories_id");
- CREATE INDEX IF NOT EXISTS "_posts_v_rels_authors_id_idx" ON "_posts_v_rels" USING btree ("authors_id");
- CREATE INDEX IF NOT EXISTS "_posts_v_rels_tags_id_idx" ON "_posts_v_rels" USING btree ("tags_id");
- CREATE INDEX IF NOT EXISTS "tags_updated_at_idx" ON "tags" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "tags_created_at_idx" ON "tags" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "users_roles_order_idx" ON "users_roles" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "users_roles_parent_idx" ON "users_roles" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "users_updated_at_idx" ON "users" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "users_created_at_idx" ON "users" USING btree ("created_at");
- CREATE UNIQUE INDEX IF NOT EXISTS "users_email_idx" ON "users" USING btree ("email");
- CREATE INDEX IF NOT EXISTS "payload_jobs_log_order_idx" ON "payload_jobs_log" USING btree ("_order");
- CREATE INDEX IF NOT EXISTS "payload_jobs_log_parent_id_idx" ON "payload_jobs_log" USING btree ("_parent_id");
- CREATE INDEX IF NOT EXISTS "payload_jobs_completed_at_idx" ON "payload_jobs" USING btree ("completed_at");
- CREATE INDEX IF NOT EXISTS "payload_jobs_total_tried_idx" ON "payload_jobs" USING btree ("total_tried");
- CREATE INDEX IF NOT EXISTS "payload_jobs_has_error_idx" ON "payload_jobs" USING btree ("has_error");
- CREATE INDEX IF NOT EXISTS "payload_jobs_task_slug_idx" ON "payload_jobs" USING btree ("task_slug");
- CREATE INDEX IF NOT EXISTS "payload_jobs_queue_idx" ON "payload_jobs" USING btree ("queue");
- CREATE INDEX IF NOT EXISTS "payload_jobs_wait_until_idx" ON "payload_jobs" USING btree ("wait_until");
- CREATE INDEX IF NOT EXISTS "payload_jobs_processing_idx" ON "payload_jobs" USING btree ("processing");
- CREATE INDEX IF NOT EXISTS "payload_jobs_updated_at_idx" ON "payload_jobs" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "payload_jobs_created_at_idx" ON "payload_jobs" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_global_slug_idx" ON "payload_locked_documents" USING btree ("global_slug");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_updated_at_idx" ON "payload_locked_documents" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_created_at_idx" ON "payload_locked_documents" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_order_idx" ON "payload_locked_documents_rels" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_parent_idx" ON "payload_locked_documents_rels" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_path_idx" ON "payload_locked_documents_rels" USING btree ("path");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_authors_id_idx" ON "payload_locked_documents_rels" USING btree ("authors_id");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_categories_id_idx" ON "payload_locked_documents_rels" USING btree ("categories_id");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_customers_id_idx" ON "payload_locked_documents_rels" USING btree ("customers_id");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_events_id_idx" ON "payload_locked_documents_rels" USING btree ("events_id");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_media_id_idx" ON "payload_locked_documents_rels" USING btree ("media_id");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_posts_id_idx" ON "payload_locked_documents_rels" USING btree ("posts_id");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_tags_id_idx" ON "payload_locked_documents_rels" USING btree ("tags_id");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_users_id_idx" ON "payload_locked_documents_rels" USING btree ("users_id");
- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_payload_jobs_id_idx" ON "payload_locked_documents_rels" USING btree ("payload_jobs_id");
- CREATE INDEX IF NOT EXISTS "payload_preferences_key_idx" ON "payload_preferences" USING btree ("key");
- CREATE INDEX IF NOT EXISTS "payload_preferences_updated_at_idx" ON "payload_preferences" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "payload_preferences_created_at_idx" ON "payload_preferences" USING btree ("created_at");
- CREATE INDEX IF NOT EXISTS "payload_preferences_rels_order_idx" ON "payload_preferences_rels" USING btree ("order");
- CREATE INDEX IF NOT EXISTS "payload_preferences_rels_parent_idx" ON "payload_preferences_rels" USING btree ("parent_id");
- CREATE INDEX IF NOT EXISTS "payload_preferences_rels_path_idx" ON "payload_preferences_rels" USING btree ("path");
- CREATE INDEX IF NOT EXISTS "payload_preferences_rels_users_id_idx" ON "payload_preferences_rels" USING btree ("users_id");
- CREATE INDEX IF NOT EXISTS "payload_migrations_updated_at_idx" ON "payload_migrations" USING btree ("updated_at");
- CREATE INDEX IF NOT EXISTS "payload_migrations_created_at_idx" ON "payload_migrations" USING btree ("created_at");`)
-}
-
-export async function down({ db, payload, req }: MigrateDownArgs): Promise<void> {
- await db.execute(sql`
- DROP TABLE "authors" CASCADE;
- DROP TABLE "categories_breadcrumbs" CASCADE;
- DROP TABLE "categories" CASCADE;
- DROP TABLE "customers_stats" CASCADE;
- DROP TABLE "customers_misc" CASCADE;
- DROP TABLE "customers_industry" CASCADE;
- DROP TABLE "customers_supabase_products" CASCADE;
- DROP TABLE "customers" CASCADE;
- DROP TABLE "_customers_v_version_stats" CASCADE;
- DROP TABLE "_customers_v_version_misc" CASCADE;
- DROP TABLE "_customers_v_version_industry" CASCADE;
- DROP TABLE "_customers_v_version_supabase_products" CASCADE;
- DROP TABLE "_customers_v" CASCADE;
- DROP TABLE "events_type" CASCADE;
- DROP TABLE "events" CASCADE;
- DROP TABLE "events_rels" CASCADE;
- DROP TABLE "_events_v_version_type" CASCADE;
- DROP TABLE "_events_v" CASCADE;
- DROP TABLE "_events_v_rels" CASCADE;
- DROP TABLE "media" CASCADE;
- DROP TABLE "posts" CASCADE;
- DROP TABLE "posts_rels" CASCADE;
- DROP TABLE "_posts_v" CASCADE;
- DROP TABLE "_posts_v_rels" CASCADE;
- DROP TABLE "tags" CASCADE;
- DROP TABLE "users_roles" CASCADE;
- DROP TABLE "users" CASCADE;
- DROP TABLE "payload_jobs_log" CASCADE;
- DROP TABLE "payload_jobs" 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 TYPE "public"."enum_customers_industry";
- DROP TYPE "public"."enum_customers_supabase_products";
- DROP TYPE "public"."enum_customers_company_size";
- DROP TYPE "public"."enum_customers_region";
- DROP TYPE "public"."enum_customers_status";
- DROP TYPE "public"."enum__customers_v_version_industry";
- DROP TYPE "public"."enum__customers_v_version_supabase_products";
- DROP TYPE "public"."enum__customers_v_version_company_size";
- DROP TYPE "public"."enum__customers_v_version_region";
- DROP TYPE "public"."enum__customers_v_version_status";
- DROP TYPE "public"."enum_events_type";
- DROP TYPE "public"."enum_events_timezone";
- DROP TYPE "public"."enum_events_link_target";
- DROP TYPE "public"."enum_events_main_cta_target";
- DROP TYPE "public"."enum_events_status";
- DROP TYPE "public"."enum__events_v_version_type";
- DROP TYPE "public"."enum__events_v_version_timezone";
- DROP TYPE "public"."enum__events_v_version_link_target";
- DROP TYPE "public"."enum__events_v_version_main_cta_target";
- DROP TYPE "public"."enum__events_v_version_status";
- DROP TYPE "public"."enum_posts_launchweek";
- DROP TYPE "public"."enum_posts_status";
- DROP TYPE "public"."enum__posts_v_version_launchweek";
- DROP TYPE "public"."enum__posts_v_version_status";
- DROP TYPE "public"."enum_users_roles";
- DROP TYPE "public"."enum_payload_jobs_log_task_slug";
- DROP TYPE "public"."enum_payload_jobs_log_state";
- DROP TYPE "public"."enum_payload_jobs_task_slug";`)
-}
diff --git a/apps/cms/src/migrations/20250619_160549.json b/apps/cms/src/migrations/20250619_160549.json
deleted file mode 100644
index ef0494db176..00000000000
--- a/apps/cms/src/migrations/20250619_160549.json
+++ /dev/null
@@ -1,7330 +0,0 @@
-{
- "id": "38bb76e1-daff-4133-8c6a-e751be8348e0",
- "prevId": "00000000-0000-0000-0000-000000000000",
- "version": "7",
- "dialect": "postgresql",
- "tables": {
- "public.authors": {
- "name": "authors",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "author": {
- "name": "author",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "author_id": {
- "name": "author_id",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "position": {
- "name": "position",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_url": {
- "name": "author_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_image_url_id": {
- "name": "author_image_url_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "username": {
- "name": "username",
- "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": {
- "authors_author_image_url_idx": {
- "name": "authors_author_image_url_idx",
- "columns": [
- {
- "expression": "author_image_url_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_updated_at_idx": {
- "name": "authors_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_created_at_idx": {
- "name": "authors_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "authors_author_image_url_id_media_id_fk": {
- "name": "authors_author_image_url_id_media_id_fk",
- "tableFrom": "authors",
- "tableTo": "media",
- "columnsFrom": [
- "author_image_url_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories_breadcrumbs": {
- "name": "categories_breadcrumbs",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "doc_id": {
- "name": "doc_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "categories_breadcrumbs_order_idx": {
- "name": "categories_breadcrumbs_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_parent_id_idx": {
- "name": "categories_breadcrumbs_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_doc_idx": {
- "name": "categories_breadcrumbs_doc_idx",
- "columns": [
- {
- "expression": "doc_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_breadcrumbs_doc_id_categories_id_fk": {
- "name": "categories_breadcrumbs_doc_id_categories_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "doc_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "categories_breadcrumbs_parent_id_fk": {
- "name": "categories_breadcrumbs_parent_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories": {
- "name": "categories",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "categories_parent_idx": {
- "name": "categories_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_updated_at_idx": {
- "name": "categories_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_created_at_idx": {
- "name": "categories_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_parent_id_categories_id_fk": {
- "name": "categories_parent_id_categories_id_fk",
- "tableFrom": "categories",
- "tableTo": "categories",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_stats": {
- "name": "customers_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_stats_order_idx": {
- "name": "customers_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_stats_parent_id_idx": {
- "name": "customers_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_stats_parent_id_fk": {
- "name": "customers_stats_parent_id_fk",
- "tableFrom": "customers_stats",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_misc": {
- "name": "customers_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_misc_order_idx": {
- "name": "customers_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_misc_parent_id_idx": {
- "name": "customers_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_misc_parent_id_fk": {
- "name": "customers_misc_parent_id_fk",
- "tableFrom": "customers_misc",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_industry": {
- "name": "customers_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_industry_order_idx": {
- "name": "customers_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_industry_parent_idx": {
- "name": "customers_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_industry_parent_fk": {
- "name": "customers_industry_parent_fk",
- "tableFrom": "customers_industry",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_supabase_products": {
- "name": "customers_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_supabase_products_order_idx": {
- "name": "customers_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_supabase_products_parent_idx": {
- "name": "customers_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_supabase_products_parent_fk": {
- "name": "customers_supabase_products_parent_fk",
- "tableFrom": "customers_supabase_products",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers": {
- "name": "customers",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "about": {
- "name": "about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_url": {
- "name": "company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_size": {
- "name": "company_size",
- "type": "enum_customers_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "region": {
- "name": "region",
- "type": "enum_customers_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "logo_id": {
- "name": "logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "logo_inverse_id": {
- "name": "logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_customers_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "customers_slug_idx": {
- "name": "customers_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_meta_meta_image_idx": {
- "name": "customers_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_idx": {
- "name": "customers_logo_idx",
- "columns": [
- {
- "expression": "logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_inverse_idx": {
- "name": "customers_logo_inverse_idx",
- "columns": [
- {
- "expression": "logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_updated_at_idx": {
- "name": "customers_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_created_at_idx": {
- "name": "customers_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers__status_idx": {
- "name": "customers__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_meta_image_id_media_id_fk": {
- "name": "customers_meta_image_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_id_media_id_fk": {
- "name": "customers_logo_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_inverse_id_media_id_fk": {
- "name": "customers_logo_inverse_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_stats": {
- "name": "_customers_v_version_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_stats_order_idx": {
- "name": "_customers_v_version_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_stats_parent_id_idx": {
- "name": "_customers_v_version_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_stats_parent_id_fk": {
- "name": "_customers_v_version_stats_parent_id_fk",
- "tableFrom": "_customers_v_version_stats",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_misc": {
- "name": "_customers_v_version_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_misc_order_idx": {
- "name": "_customers_v_version_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_misc_parent_id_idx": {
- "name": "_customers_v_version_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_misc_parent_id_fk": {
- "name": "_customers_v_version_misc_parent_id_fk",
- "tableFrom": "_customers_v_version_misc",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_industry": {
- "name": "_customers_v_version_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_industry_order_idx": {
- "name": "_customers_v_version_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_industry_parent_idx": {
- "name": "_customers_v_version_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_industry_parent_fk": {
- "name": "_customers_v_version_industry_parent_fk",
- "tableFrom": "_customers_v_version_industry",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_supabase_products": {
- "name": "_customers_v_version_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_supabase_products_order_idx": {
- "name": "_customers_v_version_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_supabase_products_parent_idx": {
- "name": "_customers_v_version_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_supabase_products_parent_fk": {
- "name": "_customers_v_version_supabase_products_parent_fk",
- "tableFrom": "_customers_v_version_supabase_products",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v": {
- "name": "_customers_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_name": {
- "name": "version_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_about": {
- "name": "version_about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_url": {
- "name": "version_company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_size": {
- "name": "version_company_size",
- "type": "enum__customers_v_version_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_region": {
- "name": "version_region",
- "type": "enum__customers_v_version_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_id": {
- "name": "version_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_inverse_id": {
- "name": "version_logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__customers_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_parent_idx": {
- "name": "_customers_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_slug_idx": {
- "name": "_customers_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_meta_version_meta_image_idx": {
- "name": "_customers_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_idx": {
- "name": "_customers_v_version_version_logo_idx",
- "columns": [
- {
- "expression": "version_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_inverse_idx": {
- "name": "_customers_v_version_version_logo_inverse_idx",
- "columns": [
- {
- "expression": "version_logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_updated_at_idx": {
- "name": "_customers_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_created_at_idx": {
- "name": "_customers_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version__status_idx": {
- "name": "_customers_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_created_at_idx": {
- "name": "_customers_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_updated_at_idx": {
- "name": "_customers_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_latest_idx": {
- "name": "_customers_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_autosave_idx": {
- "name": "_customers_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_parent_id_customers_id_fk": {
- "name": "_customers_v_parent_id_customers_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_meta_image_id_media_id_fk": {
- "name": "_customers_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_id_media_id_fk": {
- "name": "_customers_v_version_logo_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_inverse_id_media_id_fk": {
- "name": "_customers_v_version_logo_inverse_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_type": {
- "name": "events_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_events_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "events_type_order_idx": {
- "name": "events_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_type_parent_idx": {
- "name": "events_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_type_parent_fk": {
- "name": "events_type_parent_fk",
- "tableFrom": "events_type",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events": {
- "name": "events",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "subtitle": {
- "name": "subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "timezone": {
- "name": "timezone",
- "type": "enum_events_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "show_end_date": {
- "name": "show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "end_date": {
- "name": "end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "duration": {
- "name": "duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "on_demand": {
- "name": "on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "disable_page_build": {
- "name": "disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "link_href": {
- "name": "link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "link_target": {
- "name": "link_target",
- "type": "enum_events_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_href": {
- "name": "main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_target": {
- "name": "main_cta_target",
- "type": "enum_events_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_label": {
- "name": "main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_disabled": {
- "name": "main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "main_cta_disabled_label": {
- "name": "main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_show_company": {
- "name": "company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "company_name": {
- "name": "company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_website_url": {
- "name": "company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_id": {
- "name": "company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_light_id": {
- "name": "company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "participants_show_participants": {
- "name": "participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_events_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "events_slug_idx": {
- "name": "events_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_thumb_idx": {
- "name": "events_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_image_idx": {
- "name": "events_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_idx": {
- "name": "events_company_company_logo_idx",
- "columns": [
- {
- "expression": "company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_light_idx": {
- "name": "events_company_company_logo_light_idx",
- "columns": [
- {
- "expression": "company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_meta_meta_image_idx": {
- "name": "events_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_updated_at_idx": {
- "name": "events_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_created_at_idx": {
- "name": "events_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events__status_idx": {
- "name": "events__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_thumb_id_media_id_fk": {
- "name": "events_thumb_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_image_id_media_id_fk": {
- "name": "events_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_id_media_id_fk": {
- "name": "events_company_logo_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_light_id_media_id_fk": {
- "name": "events_company_logo_light_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_meta_image_id_media_id_fk": {
- "name": "events_meta_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_rels": {
- "name": "events_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
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "events_rels_order_idx": {
- "name": "events_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_parent_idx": {
- "name": "events_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_path_idx": {
- "name": "events_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_authors_id_idx": {
- "name": "events_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_rels_parent_fk": {
- "name": "events_rels_parent_fk",
- "tableFrom": "events_rels",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "events_rels_authors_fk": {
- "name": "events_rels_authors_fk",
- "tableFrom": "events_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_version_type": {
- "name": "_events_v_version_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__events_v_version_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_events_v_version_type_order_idx": {
- "name": "_events_v_version_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_type_parent_idx": {
- "name": "_events_v_version_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_version_type_parent_fk": {
- "name": "_events_v_version_type_parent_fk",
- "tableFrom": "_events_v_version_type",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v": {
- "name": "_events_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_subtitle": {
- "name": "version_subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_timezone": {
- "name": "version_timezone",
- "type": "enum__events_v_version_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_show_end_date": {
- "name": "version_show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_end_date": {
- "name": "version_end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_duration": {
- "name": "version_duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_on_demand": {
- "name": "version_on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_disable_page_build": {
- "name": "version_disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_link_href": {
- "name": "version_link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_link_target": {
- "name": "version_link_target",
- "type": "enum__events_v_version_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_href": {
- "name": "version_main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_target": {
- "name": "version_main_cta_target",
- "type": "enum__events_v_version_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_label": {
- "name": "version_main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_disabled": {
- "name": "version_main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_main_cta_disabled_label": {
- "name": "version_main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_show_company": {
- "name": "version_company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_company_name": {
- "name": "version_company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_website_url": {
- "name": "version_company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_id": {
- "name": "version_company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_light_id": {
- "name": "version_company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_participants_show_participants": {
- "name": "version_participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__events_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_parent_idx": {
- "name": "_events_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_slug_idx": {
- "name": "_events_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_thumb_idx": {
- "name": "_events_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_image_idx": {
- "name": "_events_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_idx": {
- "name": "_events_v_version_company_version_company_logo_idx",
- "columns": [
- {
- "expression": "version_company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_light_idx": {
- "name": "_events_v_version_company_version_company_logo_light_idx",
- "columns": [
- {
- "expression": "version_company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_meta_version_meta_image_idx": {
- "name": "_events_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_updated_at_idx": {
- "name": "_events_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_created_at_idx": {
- "name": "_events_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version__status_idx": {
- "name": "_events_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_created_at_idx": {
- "name": "_events_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_updated_at_idx": {
- "name": "_events_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_latest_idx": {
- "name": "_events_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_autosave_idx": {
- "name": "_events_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_parent_id_events_id_fk": {
- "name": "_events_v_parent_id_events_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_thumb_id_media_id_fk": {
- "name": "_events_v_version_thumb_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_image_id_media_id_fk": {
- "name": "_events_v_version_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_id_media_id_fk": {
- "name": "_events_v_version_company_logo_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_light_id_media_id_fk": {
- "name": "_events_v_version_company_logo_light_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_meta_image_id_media_id_fk": {
- "name": "_events_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_rels": {
- "name": "_events_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_rels_order_idx": {
- "name": "_events_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_parent_idx": {
- "name": "_events_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_path_idx": {
- "name": "_events_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_authors_id_idx": {
- "name": "_events_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_rels_parent_fk": {
- "name": "_events_v_rels_parent_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_events_v_rels_authors_fk": {
- "name": "_events_v_rels_authors_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.media": {
- "name": "media",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "alt": {
- "name": "alt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "caption": {
- "name": "caption",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "prefix": {
- "name": "prefix",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'media'"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "thumbnail_u_r_l": {
- "name": "thumbnail_u_r_l",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filename": {
- "name": "filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "mime_type": {
- "name": "mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filesize": {
- "name": "filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "width": {
- "name": "width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "height": {
- "name": "height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_x": {
- "name": "focal_x",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_y": {
- "name": "focal_y",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_url": {
- "name": "sizes_thumbnail_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_width": {
- "name": "sizes_thumbnail_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_height": {
- "name": "sizes_thumbnail_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_mime_type": {
- "name": "sizes_thumbnail_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filesize": {
- "name": "sizes_thumbnail_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filename": {
- "name": "sizes_thumbnail_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_url": {
- "name": "sizes_square_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_width": {
- "name": "sizes_square_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_height": {
- "name": "sizes_square_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_mime_type": {
- "name": "sizes_square_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filesize": {
- "name": "sizes_square_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filename": {
- "name": "sizes_square_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_url": {
- "name": "sizes_small_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_width": {
- "name": "sizes_small_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_height": {
- "name": "sizes_small_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_mime_type": {
- "name": "sizes_small_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filesize": {
- "name": "sizes_small_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filename": {
- "name": "sizes_small_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_url": {
- "name": "sizes_medium_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_width": {
- "name": "sizes_medium_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_height": {
- "name": "sizes_medium_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_mime_type": {
- "name": "sizes_medium_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filesize": {
- "name": "sizes_medium_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filename": {
- "name": "sizes_medium_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_url": {
- "name": "sizes_large_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_width": {
- "name": "sizes_large_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_height": {
- "name": "sizes_large_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_mime_type": {
- "name": "sizes_large_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filesize": {
- "name": "sizes_large_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filename": {
- "name": "sizes_large_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_url": {
- "name": "sizes_xlarge_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_width": {
- "name": "sizes_xlarge_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_height": {
- "name": "sizes_xlarge_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_mime_type": {
- "name": "sizes_xlarge_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filesize": {
- "name": "sizes_xlarge_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filename": {
- "name": "sizes_xlarge_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_url": {
- "name": "sizes_og_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_width": {
- "name": "sizes_og_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_height": {
- "name": "sizes_og_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_mime_type": {
- "name": "sizes_og_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filesize": {
- "name": "sizes_og_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filename": {
- "name": "sizes_og_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "media_updated_at_idx": {
- "name": "media_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_created_at_idx": {
- "name": "media_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_filename_idx": {
- "name": "media_filename_idx",
- "columns": [
- {
- "expression": "filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {
- "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",
- "columns": [
- {
- "expression": "sizes_thumbnail_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_square_sizes_square_filename_idx": {
- "name": "media_sizes_square_sizes_square_filename_idx",
- "columns": [
- {
- "expression": "sizes_square_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_small_sizes_small_filename_idx": {
- "name": "media_sizes_small_sizes_small_filename_idx",
- "columns": [
- {
- "expression": "sizes_small_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_medium_sizes_medium_filename_idx": {
- "name": "media_sizes_medium_sizes_medium_filename_idx",
- "columns": [
- {
- "expression": "sizes_medium_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_large_sizes_large_filename_idx": {
- "name": "media_sizes_large_sizes_large_filename_idx",
- "columns": [
- {
- "expression": "sizes_large_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_xlarge_sizes_xlarge_filename_idx": {
- "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",
- "columns": [
- {
- "expression": "sizes_xlarge_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_og_sizes_og_filename_idx": {
- "name": "media_sizes_og_sizes_og_filename_idx",
- "columns": [
- {
- "expression": "sizes_og_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts": {
- "name": "posts",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "launchweek": {
- "name": "launchweek",
- "type": "enum_posts_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "reading_time": {
- "name": "reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "toc_depth": {
- "name": "toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 2
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_posts_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "posts_slug_idx": {
- "name": "posts_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_thumb_idx": {
- "name": "posts_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_image_idx": {
- "name": "posts_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_meta_meta_image_idx": {
- "name": "posts_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_updated_at_idx": {
- "name": "posts_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_created_at_idx": {
- "name": "posts_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts__status_idx": {
- "name": "posts__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_thumb_id_media_id_fk": {
- "name": "posts_thumb_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_image_id_media_id_fk": {
- "name": "posts_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_meta_image_id_media_id_fk": {
- "name": "posts_meta_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts_rels": {
- "name": "posts_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "posts_rels_order_idx": {
- "name": "posts_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_parent_idx": {
- "name": "posts_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_path_idx": {
- "name": "posts_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_categories_id_idx": {
- "name": "posts_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_authors_id_idx": {
- "name": "posts_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_tags_id_idx": {
- "name": "posts_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_rels_parent_fk": {
- "name": "posts_rels_parent_fk",
- "tableFrom": "posts_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_categories_fk": {
- "name": "posts_rels_categories_fk",
- "tableFrom": "posts_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_authors_fk": {
- "name": "posts_rels_authors_fk",
- "tableFrom": "posts_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_tags_fk": {
- "name": "posts_rels_tags_fk",
- "tableFrom": "posts_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v": {
- "name": "_posts_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_launchweek": {
- "name": "version_launchweek",
- "type": "enum__posts_v_version_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_reading_time": {
- "name": "version_reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_toc_depth": {
- "name": "version_toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 2
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__posts_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_parent_idx": {
- "name": "_posts_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_slug_idx": {
- "name": "_posts_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_thumb_idx": {
- "name": "_posts_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_image_idx": {
- "name": "_posts_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_meta_version_meta_image_idx": {
- "name": "_posts_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_updated_at_idx": {
- "name": "_posts_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_created_at_idx": {
- "name": "_posts_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version__status_idx": {
- "name": "_posts_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_created_at_idx": {
- "name": "_posts_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_updated_at_idx": {
- "name": "_posts_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_latest_idx": {
- "name": "_posts_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_autosave_idx": {
- "name": "_posts_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_parent_id_posts_id_fk": {
- "name": "_posts_v_parent_id_posts_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_thumb_id_media_id_fk": {
- "name": "_posts_v_version_thumb_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_image_id_media_id_fk": {
- "name": "_posts_v_version_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_meta_image_id_media_id_fk": {
- "name": "_posts_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v_rels": {
- "name": "_posts_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_rels_order_idx": {
- "name": "_posts_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_parent_idx": {
- "name": "_posts_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_path_idx": {
- "name": "_posts_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_categories_id_idx": {
- "name": "_posts_v_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_authors_id_idx": {
- "name": "_posts_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_tags_id_idx": {
- "name": "_posts_v_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_rels_parent_fk": {
- "name": "_posts_v_rels_parent_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "_posts_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_categories_fk": {
- "name": "_posts_v_rels_categories_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_authors_fk": {
- "name": "_posts_v_rels_authors_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_tags_fk": {
- "name": "_posts_v_rels_tags_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.tags": {
- "name": "tags",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "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()"
- }
- },
- "indexes": {
- "tags_updated_at_idx": {
- "name": "tags_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_created_at_idx": {
- "name": "tags_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.users_roles": {
- "name": "users_roles",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_users_roles",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "users_roles_order_idx": {
- "name": "users_roles_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_roles_parent_idx": {
- "name": "users_roles_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_roles_parent_fk": {
- "name": "users_roles_parent_fk",
- "tableFrom": "users_roles",
- "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()"
- },
- "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.payload_jobs_log": {
- "name": "payload_jobs_log",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "executed_at": {
- "name": "executed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_log_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "task_i_d": {
- "name": "task_i_d",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "output": {
- "name": "output",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "state": {
- "name": "state",
- "type": "enum_payload_jobs_log_state",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "payload_jobs_log_order_idx": {
- "name": "payload_jobs_log_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_log_parent_id_idx": {
- "name": "payload_jobs_log_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "payload_jobs_log_parent_id_fk": {
- "name": "payload_jobs_log_parent_id_fk",
- "tableFrom": "payload_jobs_log",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_jobs": {
- "name": "payload_jobs",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "total_tried": {
- "name": "total_tried",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "has_error": {
- "name": "has_error",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "queue": {
- "name": "queue",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'default'"
- },
- "wait_until": {
- "name": "wait_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "processing": {
- "name": "processing",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_jobs_completed_at_idx": {
- "name": "payload_jobs_completed_at_idx",
- "columns": [
- {
- "expression": "completed_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_total_tried_idx": {
- "name": "payload_jobs_total_tried_idx",
- "columns": [
- {
- "expression": "total_tried",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_has_error_idx": {
- "name": "payload_jobs_has_error_idx",
- "columns": [
- {
- "expression": "has_error",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_task_slug_idx": {
- "name": "payload_jobs_task_slug_idx",
- "columns": [
- {
- "expression": "task_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_queue_idx": {
- "name": "payload_jobs_queue_idx",
- "columns": [
- {
- "expression": "queue",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_wait_until_idx": {
- "name": "payload_jobs_wait_until_idx",
- "columns": [
- {
- "expression": "wait_until",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_processing_idx": {
- "name": "payload_jobs_processing_idx",
- "columns": [
- {
- "expression": "processing",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_updated_at_idx": {
- "name": "payload_jobs_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_created_at_idx": {
- "name": "payload_jobs_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents": {
- "name": "payload_locked_documents",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "global_slug": {
- "name": "global_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_locked_documents_global_slug_idx": {
- "name": "payload_locked_documents_global_slug_idx",
- "columns": [
- {
- "expression": "global_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_updated_at_idx": {
- "name": "payload_locked_documents_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_created_at_idx": {
- "name": "payload_locked_documents_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents_rels": {
- "name": "payload_locked_documents_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "customers_id": {
- "name": "customers_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "events_id": {
- "name": "events_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "media_id": {
- "name": "media_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "posts_id": {
- "name": "posts_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "users_id": {
- "name": "users_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "payload_jobs_id": {
- "name": "payload_jobs_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_authors_id_idx": {
- "name": "payload_locked_documents_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_categories_id_idx": {
- "name": "payload_locked_documents_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_customers_id_idx": {
- "name": "payload_locked_documents_rels_customers_id_idx",
- "columns": [
- {
- "expression": "customers_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_events_id_idx": {
- "name": "payload_locked_documents_rels_events_id_idx",
- "columns": [
- {
- "expression": "events_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_posts_id_idx": {
- "name": "payload_locked_documents_rels_posts_id_idx",
- "columns": [
- {
- "expression": "posts_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_tags_id_idx": {
- "name": "payload_locked_documents_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_users_id_idx": {
- "name": "payload_locked_documents_rels_users_id_idx",
- "columns": [
- {
- "expression": "users_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_payload_jobs_id_idx": {
- "name": "payload_locked_documents_rels_payload_jobs_id_idx",
- "columns": [
- {
- "expression": "payload_jobs_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_authors_fk": {
- "name": "payload_locked_documents_rels_authors_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_categories_fk": {
- "name": "payload_locked_documents_rels_categories_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_customers_fk": {
- "name": "payload_locked_documents_rels_customers_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "customers",
- "columnsFrom": [
- "customers_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_events_fk": {
- "name": "payload_locked_documents_rels_events_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "events",
- "columnsFrom": [
- "events_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_posts_fk": {
- "name": "payload_locked_documents_rels_posts_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "posts_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_tags_fk": {
- "name": "payload_locked_documents_rels_tags_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_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_payload_jobs_fk": {
- "name": "payload_locked_documents_rels_payload_jobs_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "payload_jobs_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
- }
- },
- "enums": {
- "public.enum_customers_industry": {
- "name": "enum_customers_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum_customers_supabase_products": {
- "name": "enum_customers_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum_customers_company_size": {
- "name": "enum_customers_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum_customers_region": {
- "name": "enum_customers_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum_customers_status": {
- "name": "enum_customers_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__customers_v_version_industry": {
- "name": "enum__customers_v_version_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum__customers_v_version_supabase_products": {
- "name": "enum__customers_v_version_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum__customers_v_version_company_size": {
- "name": "enum__customers_v_version_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum__customers_v_version_region": {
- "name": "enum__customers_v_version_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum__customers_v_version_status": {
- "name": "enum__customers_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_events_type": {
- "name": "enum_events_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum_events_timezone": {
- "name": "enum_events_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum_events_link_target": {
- "name": "enum_events_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_main_cta_target": {
- "name": "enum_events_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_status": {
- "name": "enum_events_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__events_v_version_type": {
- "name": "enum__events_v_version_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum__events_v_version_timezone": {
- "name": "enum__events_v_version_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum__events_v_version_link_target": {
- "name": "enum__events_v_version_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_main_cta_target": {
- "name": "enum__events_v_version_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_status": {
- "name": "enum__events_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_posts_launchweek": {
- "name": "enum_posts_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum_posts_status": {
- "name": "enum_posts_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__posts_v_version_launchweek": {
- "name": "enum__posts_v_version_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum__posts_v_version_status": {
- "name": "enum__posts_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_users_roles": {
- "name": "enum_users_roles",
- "schema": "public",
- "values": [
- "admin",
- "editor"
- ]
- },
- "public.enum_payload_jobs_log_task_slug": {
- "name": "enum_payload_jobs_log_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- },
- "public.enum_payload_jobs_log_state": {
- "name": "enum_payload_jobs_log_state",
- "schema": "public",
- "values": [
- "failed",
- "succeeded"
- ]
- },
- "public.enum_payload_jobs_task_slug": {
- "name": "enum_payload_jobs_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- }
- },
- "schemas": {},
- "sequences": {},
- "roles": {},
- "policies": {},
- "views": {},
- "_meta": {
- "schemas": {},
- "tables": {},
- "columns": {}
- }
-}
\ No newline at end of file
diff --git a/apps/cms/src/migrations/20250619_160549.ts b/apps/cms/src/migrations/20250619_160549.ts
deleted file mode 100644
index 2e1512fd771..00000000000
--- a/apps/cms/src/migrations/20250619_160549.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'
-
-export async function up({ db }: MigrateUpArgs): Promise<void> {
- await db.execute(sql`
- INSERT INTO storage.buckets (id, name, public) VALUES ('cms', 'cms', false)
- ON CONFLICT (id) DO NOTHING;
- `)
-}
-
-export async function down({ db }: MigrateDownArgs): Promise<void> {
- await db.execute(sql`
- DELETE FROM storage.objects WHERE bucket_id = 'cms';
- DELETE FROM storage.buckets WHERE id = 'cms';
- `)
-}
\ No newline at end of file
diff --git a/apps/cms/src/migrations/20250808_145722_update_payload_migrations.json b/apps/cms/src/migrations/20250808_145722_update_payload_migrations.json
deleted file mode 100644
index cc014d97c68..00000000000
--- a/apps/cms/src/migrations/20250808_145722_update_payload_migrations.json
+++ /dev/null
@@ -1,7418 +0,0 @@
-{
- "id": "a2444573-aed4-499a-8737-fffaf84caa24",
- "prevId": "00000000-0000-0000-0000-000000000000",
- "version": "7",
- "dialect": "postgresql",
- "tables": {
- "public.authors": {
- "name": "authors",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "author": {
- "name": "author",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "author_id": {
- "name": "author_id",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "position": {
- "name": "position",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_url": {
- "name": "author_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_image_url_id": {
- "name": "author_image_url_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "username": {
- "name": "username",
- "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": {
- "authors_author_image_url_idx": {
- "name": "authors_author_image_url_idx",
- "columns": [
- {
- "expression": "author_image_url_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_updated_at_idx": {
- "name": "authors_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_created_at_idx": {
- "name": "authors_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "authors_author_image_url_id_media_id_fk": {
- "name": "authors_author_image_url_id_media_id_fk",
- "tableFrom": "authors",
- "tableTo": "media",
- "columnsFrom": [
- "author_image_url_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories_breadcrumbs": {
- "name": "categories_breadcrumbs",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "doc_id": {
- "name": "doc_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "categories_breadcrumbs_order_idx": {
- "name": "categories_breadcrumbs_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_parent_id_idx": {
- "name": "categories_breadcrumbs_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_doc_idx": {
- "name": "categories_breadcrumbs_doc_idx",
- "columns": [
- {
- "expression": "doc_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_breadcrumbs_doc_id_categories_id_fk": {
- "name": "categories_breadcrumbs_doc_id_categories_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "doc_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "categories_breadcrumbs_parent_id_fk": {
- "name": "categories_breadcrumbs_parent_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories": {
- "name": "categories",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "categories_parent_idx": {
- "name": "categories_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_updated_at_idx": {
- "name": "categories_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_created_at_idx": {
- "name": "categories_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_parent_id_categories_id_fk": {
- "name": "categories_parent_id_categories_id_fk",
- "tableFrom": "categories",
- "tableTo": "categories",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_stats": {
- "name": "customers_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_stats_order_idx": {
- "name": "customers_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_stats_parent_id_idx": {
- "name": "customers_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_stats_parent_id_fk": {
- "name": "customers_stats_parent_id_fk",
- "tableFrom": "customers_stats",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_misc": {
- "name": "customers_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_misc_order_idx": {
- "name": "customers_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_misc_parent_id_idx": {
- "name": "customers_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_misc_parent_id_fk": {
- "name": "customers_misc_parent_id_fk",
- "tableFrom": "customers_misc",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_industry": {
- "name": "customers_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_industry_order_idx": {
- "name": "customers_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_industry_parent_idx": {
- "name": "customers_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_industry_parent_fk": {
- "name": "customers_industry_parent_fk",
- "tableFrom": "customers_industry",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_supabase_products": {
- "name": "customers_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_supabase_products_order_idx": {
- "name": "customers_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_supabase_products_parent_idx": {
- "name": "customers_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_supabase_products_parent_fk": {
- "name": "customers_supabase_products_parent_fk",
- "tableFrom": "customers_supabase_products",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers": {
- "name": "customers",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "about": {
- "name": "about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_url": {
- "name": "company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_size": {
- "name": "company_size",
- "type": "enum_customers_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "region": {
- "name": "region",
- "type": "enum_customers_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "logo_id": {
- "name": "logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "logo_inverse_id": {
- "name": "logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_customers_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "customers_slug_idx": {
- "name": "customers_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_meta_meta_image_idx": {
- "name": "customers_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_idx": {
- "name": "customers_logo_idx",
- "columns": [
- {
- "expression": "logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_inverse_idx": {
- "name": "customers_logo_inverse_idx",
- "columns": [
- {
- "expression": "logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_updated_at_idx": {
- "name": "customers_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_created_at_idx": {
- "name": "customers_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers__status_idx": {
- "name": "customers__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_meta_image_id_media_id_fk": {
- "name": "customers_meta_image_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_id_media_id_fk": {
- "name": "customers_logo_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_inverse_id_media_id_fk": {
- "name": "customers_logo_inverse_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_stats": {
- "name": "_customers_v_version_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_stats_order_idx": {
- "name": "_customers_v_version_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_stats_parent_id_idx": {
- "name": "_customers_v_version_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_stats_parent_id_fk": {
- "name": "_customers_v_version_stats_parent_id_fk",
- "tableFrom": "_customers_v_version_stats",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_misc": {
- "name": "_customers_v_version_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_misc_order_idx": {
- "name": "_customers_v_version_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_misc_parent_id_idx": {
- "name": "_customers_v_version_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_misc_parent_id_fk": {
- "name": "_customers_v_version_misc_parent_id_fk",
- "tableFrom": "_customers_v_version_misc",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_industry": {
- "name": "_customers_v_version_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_industry_order_idx": {
- "name": "_customers_v_version_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_industry_parent_idx": {
- "name": "_customers_v_version_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_industry_parent_fk": {
- "name": "_customers_v_version_industry_parent_fk",
- "tableFrom": "_customers_v_version_industry",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_supabase_products": {
- "name": "_customers_v_version_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_supabase_products_order_idx": {
- "name": "_customers_v_version_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_supabase_products_parent_idx": {
- "name": "_customers_v_version_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_supabase_products_parent_fk": {
- "name": "_customers_v_version_supabase_products_parent_fk",
- "tableFrom": "_customers_v_version_supabase_products",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v": {
- "name": "_customers_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_name": {
- "name": "version_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_about": {
- "name": "version_about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_url": {
- "name": "version_company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_size": {
- "name": "version_company_size",
- "type": "enum__customers_v_version_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_region": {
- "name": "version_region",
- "type": "enum__customers_v_version_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_id": {
- "name": "version_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_inverse_id": {
- "name": "version_logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__customers_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_parent_idx": {
- "name": "_customers_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_slug_idx": {
- "name": "_customers_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_meta_version_meta_image_idx": {
- "name": "_customers_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_idx": {
- "name": "_customers_v_version_version_logo_idx",
- "columns": [
- {
- "expression": "version_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_inverse_idx": {
- "name": "_customers_v_version_version_logo_inverse_idx",
- "columns": [
- {
- "expression": "version_logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_updated_at_idx": {
- "name": "_customers_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_created_at_idx": {
- "name": "_customers_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version__status_idx": {
- "name": "_customers_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_created_at_idx": {
- "name": "_customers_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_updated_at_idx": {
- "name": "_customers_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_latest_idx": {
- "name": "_customers_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_autosave_idx": {
- "name": "_customers_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_parent_id_customers_id_fk": {
- "name": "_customers_v_parent_id_customers_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_meta_image_id_media_id_fk": {
- "name": "_customers_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_id_media_id_fk": {
- "name": "_customers_v_version_logo_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_inverse_id_media_id_fk": {
- "name": "_customers_v_version_logo_inverse_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_type": {
- "name": "events_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_events_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "events_type_order_idx": {
- "name": "events_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_type_parent_idx": {
- "name": "events_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_type_parent_fk": {
- "name": "events_type_parent_fk",
- "tableFrom": "events_type",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events": {
- "name": "events",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "subtitle": {
- "name": "subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "timezone": {
- "name": "timezone",
- "type": "enum_events_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "show_end_date": {
- "name": "show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "end_date": {
- "name": "end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "duration": {
- "name": "duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "on_demand": {
- "name": "on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "disable_page_build": {
- "name": "disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "link_href": {
- "name": "link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "link_target": {
- "name": "link_target",
- "type": "enum_events_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_href": {
- "name": "main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_target": {
- "name": "main_cta_target",
- "type": "enum_events_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_label": {
- "name": "main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_disabled": {
- "name": "main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "main_cta_disabled_label": {
- "name": "main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_show_company": {
- "name": "company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "company_name": {
- "name": "company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_website_url": {
- "name": "company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_id": {
- "name": "company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_light_id": {
- "name": "company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "participants_show_participants": {
- "name": "participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_events_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "events_slug_idx": {
- "name": "events_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_thumb_idx": {
- "name": "events_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_image_idx": {
- "name": "events_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_idx": {
- "name": "events_company_company_logo_idx",
- "columns": [
- {
- "expression": "company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_light_idx": {
- "name": "events_company_company_logo_light_idx",
- "columns": [
- {
- "expression": "company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_meta_meta_image_idx": {
- "name": "events_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_updated_at_idx": {
- "name": "events_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_created_at_idx": {
- "name": "events_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events__status_idx": {
- "name": "events__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_thumb_id_media_id_fk": {
- "name": "events_thumb_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_image_id_media_id_fk": {
- "name": "events_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_id_media_id_fk": {
- "name": "events_company_logo_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_light_id_media_id_fk": {
- "name": "events_company_logo_light_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_meta_image_id_media_id_fk": {
- "name": "events_meta_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_rels": {
- "name": "events_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
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "events_rels_order_idx": {
- "name": "events_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_parent_idx": {
- "name": "events_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_path_idx": {
- "name": "events_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_authors_id_idx": {
- "name": "events_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_rels_parent_fk": {
- "name": "events_rels_parent_fk",
- "tableFrom": "events_rels",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "events_rels_authors_fk": {
- "name": "events_rels_authors_fk",
- "tableFrom": "events_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_version_type": {
- "name": "_events_v_version_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__events_v_version_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_events_v_version_type_order_idx": {
- "name": "_events_v_version_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_type_parent_idx": {
- "name": "_events_v_version_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_version_type_parent_fk": {
- "name": "_events_v_version_type_parent_fk",
- "tableFrom": "_events_v_version_type",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v": {
- "name": "_events_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_subtitle": {
- "name": "version_subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_timezone": {
- "name": "version_timezone",
- "type": "enum__events_v_version_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_show_end_date": {
- "name": "version_show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_end_date": {
- "name": "version_end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_duration": {
- "name": "version_duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_on_demand": {
- "name": "version_on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_disable_page_build": {
- "name": "version_disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_link_href": {
- "name": "version_link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_link_target": {
- "name": "version_link_target",
- "type": "enum__events_v_version_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_href": {
- "name": "version_main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_target": {
- "name": "version_main_cta_target",
- "type": "enum__events_v_version_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_label": {
- "name": "version_main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_disabled": {
- "name": "version_main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_main_cta_disabled_label": {
- "name": "version_main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_show_company": {
- "name": "version_company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_company_name": {
- "name": "version_company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_website_url": {
- "name": "version_company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_id": {
- "name": "version_company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_light_id": {
- "name": "version_company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_participants_show_participants": {
- "name": "version_participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__events_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_parent_idx": {
- "name": "_events_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_slug_idx": {
- "name": "_events_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_thumb_idx": {
- "name": "_events_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_image_idx": {
- "name": "_events_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_idx": {
- "name": "_events_v_version_company_version_company_logo_idx",
- "columns": [
- {
- "expression": "version_company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_light_idx": {
- "name": "_events_v_version_company_version_company_logo_light_idx",
- "columns": [
- {
- "expression": "version_company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_meta_version_meta_image_idx": {
- "name": "_events_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_updated_at_idx": {
- "name": "_events_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_created_at_idx": {
- "name": "_events_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version__status_idx": {
- "name": "_events_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_created_at_idx": {
- "name": "_events_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_updated_at_idx": {
- "name": "_events_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_latest_idx": {
- "name": "_events_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_autosave_idx": {
- "name": "_events_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_parent_id_events_id_fk": {
- "name": "_events_v_parent_id_events_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_thumb_id_media_id_fk": {
- "name": "_events_v_version_thumb_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_image_id_media_id_fk": {
- "name": "_events_v_version_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_id_media_id_fk": {
- "name": "_events_v_version_company_logo_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_light_id_media_id_fk": {
- "name": "_events_v_version_company_logo_light_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_meta_image_id_media_id_fk": {
- "name": "_events_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_rels": {
- "name": "_events_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_rels_order_idx": {
- "name": "_events_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_parent_idx": {
- "name": "_events_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_path_idx": {
- "name": "_events_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_authors_id_idx": {
- "name": "_events_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_rels_parent_fk": {
- "name": "_events_v_rels_parent_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_events_v_rels_authors_fk": {
- "name": "_events_v_rels_authors_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.media": {
- "name": "media",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "alt": {
- "name": "alt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "caption": {
- "name": "caption",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "prefix": {
- "name": "prefix",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'media'"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "thumbnail_u_r_l": {
- "name": "thumbnail_u_r_l",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filename": {
- "name": "filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "mime_type": {
- "name": "mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filesize": {
- "name": "filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "width": {
- "name": "width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "height": {
- "name": "height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_x": {
- "name": "focal_x",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_y": {
- "name": "focal_y",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_url": {
- "name": "sizes_thumbnail_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_width": {
- "name": "sizes_thumbnail_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_height": {
- "name": "sizes_thumbnail_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_mime_type": {
- "name": "sizes_thumbnail_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filesize": {
- "name": "sizes_thumbnail_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filename": {
- "name": "sizes_thumbnail_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_url": {
- "name": "sizes_square_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_width": {
- "name": "sizes_square_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_height": {
- "name": "sizes_square_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_mime_type": {
- "name": "sizes_square_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filesize": {
- "name": "sizes_square_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filename": {
- "name": "sizes_square_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_url": {
- "name": "sizes_small_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_width": {
- "name": "sizes_small_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_height": {
- "name": "sizes_small_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_mime_type": {
- "name": "sizes_small_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filesize": {
- "name": "sizes_small_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filename": {
- "name": "sizes_small_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_url": {
- "name": "sizes_medium_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_width": {
- "name": "sizes_medium_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_height": {
- "name": "sizes_medium_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_mime_type": {
- "name": "sizes_medium_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filesize": {
- "name": "sizes_medium_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filename": {
- "name": "sizes_medium_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_url": {
- "name": "sizes_large_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_width": {
- "name": "sizes_large_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_height": {
- "name": "sizes_large_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_mime_type": {
- "name": "sizes_large_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filesize": {
- "name": "sizes_large_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filename": {
- "name": "sizes_large_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_url": {
- "name": "sizes_xlarge_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_width": {
- "name": "sizes_xlarge_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_height": {
- "name": "sizes_xlarge_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_mime_type": {
- "name": "sizes_xlarge_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filesize": {
- "name": "sizes_xlarge_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filename": {
- "name": "sizes_xlarge_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_url": {
- "name": "sizes_og_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_width": {
- "name": "sizes_og_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_height": {
- "name": "sizes_og_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_mime_type": {
- "name": "sizes_og_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filesize": {
- "name": "sizes_og_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filename": {
- "name": "sizes_og_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "media_updated_at_idx": {
- "name": "media_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_created_at_idx": {
- "name": "media_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_filename_idx": {
- "name": "media_filename_idx",
- "columns": [
- {
- "expression": "filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {
- "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",
- "columns": [
- {
- "expression": "sizes_thumbnail_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_square_sizes_square_filename_idx": {
- "name": "media_sizes_square_sizes_square_filename_idx",
- "columns": [
- {
- "expression": "sizes_square_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_small_sizes_small_filename_idx": {
- "name": "media_sizes_small_sizes_small_filename_idx",
- "columns": [
- {
- "expression": "sizes_small_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_medium_sizes_medium_filename_idx": {
- "name": "media_sizes_medium_sizes_medium_filename_idx",
- "columns": [
- {
- "expression": "sizes_medium_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_large_sizes_large_filename_idx": {
- "name": "media_sizes_large_sizes_large_filename_idx",
- "columns": [
- {
- "expression": "sizes_large_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_xlarge_sizes_xlarge_filename_idx": {
- "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",
- "columns": [
- {
- "expression": "sizes_xlarge_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_og_sizes_og_filename_idx": {
- "name": "media_sizes_og_sizes_og_filename_idx",
- "columns": [
- {
- "expression": "sizes_og_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts": {
- "name": "posts",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "launchweek": {
- "name": "launchweek",
- "type": "enum_posts_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "reading_time": {
- "name": "reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "toc_depth": {
- "name": "toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 2
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_posts_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "posts_slug_idx": {
- "name": "posts_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_thumb_idx": {
- "name": "posts_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_image_idx": {
- "name": "posts_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_meta_meta_image_idx": {
- "name": "posts_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_updated_at_idx": {
- "name": "posts_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_created_at_idx": {
- "name": "posts_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts__status_idx": {
- "name": "posts__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_thumb_id_media_id_fk": {
- "name": "posts_thumb_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_image_id_media_id_fk": {
- "name": "posts_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_meta_image_id_media_id_fk": {
- "name": "posts_meta_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts_rels": {
- "name": "posts_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "posts_rels_order_idx": {
- "name": "posts_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_parent_idx": {
- "name": "posts_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_path_idx": {
- "name": "posts_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_categories_id_idx": {
- "name": "posts_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_authors_id_idx": {
- "name": "posts_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_tags_id_idx": {
- "name": "posts_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_rels_parent_fk": {
- "name": "posts_rels_parent_fk",
- "tableFrom": "posts_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_categories_fk": {
- "name": "posts_rels_categories_fk",
- "tableFrom": "posts_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_authors_fk": {
- "name": "posts_rels_authors_fk",
- "tableFrom": "posts_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_tags_fk": {
- "name": "posts_rels_tags_fk",
- "tableFrom": "posts_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v": {
- "name": "_posts_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_launchweek": {
- "name": "version_launchweek",
- "type": "enum__posts_v_version_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_reading_time": {
- "name": "version_reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_toc_depth": {
- "name": "version_toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 2
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__posts_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_parent_idx": {
- "name": "_posts_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_slug_idx": {
- "name": "_posts_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_thumb_idx": {
- "name": "_posts_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_image_idx": {
- "name": "_posts_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_meta_version_meta_image_idx": {
- "name": "_posts_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_updated_at_idx": {
- "name": "_posts_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_created_at_idx": {
- "name": "_posts_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version__status_idx": {
- "name": "_posts_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_created_at_idx": {
- "name": "_posts_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_updated_at_idx": {
- "name": "_posts_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_latest_idx": {
- "name": "_posts_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_autosave_idx": {
- "name": "_posts_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_parent_id_posts_id_fk": {
- "name": "_posts_v_parent_id_posts_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_thumb_id_media_id_fk": {
- "name": "_posts_v_version_thumb_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_image_id_media_id_fk": {
- "name": "_posts_v_version_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_meta_image_id_media_id_fk": {
- "name": "_posts_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v_rels": {
- "name": "_posts_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_rels_order_idx": {
- "name": "_posts_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_parent_idx": {
- "name": "_posts_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_path_idx": {
- "name": "_posts_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_categories_id_idx": {
- "name": "_posts_v_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_authors_id_idx": {
- "name": "_posts_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_tags_id_idx": {
- "name": "_posts_v_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_rels_parent_fk": {
- "name": "_posts_v_rels_parent_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "_posts_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_categories_fk": {
- "name": "_posts_v_rels_categories_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_authors_fk": {
- "name": "_posts_v_rels_authors_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_tags_fk": {
- "name": "_posts_v_rels_tags_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.tags": {
- "name": "tags",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "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()"
- }
- },
- "indexes": {
- "tags_updated_at_idx": {
- "name": "tags_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_created_at_idx": {
- "name": "tags_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.users_roles": {
- "name": "users_roles",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_users_roles",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "users_roles_order_idx": {
- "name": "users_roles_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_roles_parent_idx": {
- "name": "users_roles_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_roles_parent_fk": {
- "name": "users_roles_parent_fk",
- "tableFrom": "users_roles",
- "tableTo": "users",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users_sessions": {
- "name": "users_sessions",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "expires_at": {
- "name": "expires_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- }
- },
- "indexes": {
- "users_sessions_order_idx": {
- "name": "users_sessions_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_sessions_parent_id_idx": {
- "name": "users_sessions_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_sessions_parent_id_fk": {
- "name": "users_sessions_parent_id_fk",
- "tableFrom": "users_sessions",
- "tableTo": "users",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users": {
- "name": "users",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "email": {
- "name": "email",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "reset_password_token": {
- "name": "reset_password_token",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "reset_password_expiration": {
- "name": "reset_password_expiration",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "salt": {
- "name": "salt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "hash": {
- "name": "hash",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "login_attempts": {
- "name": "login_attempts",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "lock_until": {
- "name": "lock_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "users_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.payload_jobs_log": {
- "name": "payload_jobs_log",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "executed_at": {
- "name": "executed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_log_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "task_i_d": {
- "name": "task_i_d",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "output": {
- "name": "output",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "state": {
- "name": "state",
- "type": "enum_payload_jobs_log_state",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "payload_jobs_log_order_idx": {
- "name": "payload_jobs_log_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_log_parent_id_idx": {
- "name": "payload_jobs_log_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "payload_jobs_log_parent_id_fk": {
- "name": "payload_jobs_log_parent_id_fk",
- "tableFrom": "payload_jobs_log",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_jobs": {
- "name": "payload_jobs",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "total_tried": {
- "name": "total_tried",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "has_error": {
- "name": "has_error",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "queue": {
- "name": "queue",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'default'"
- },
- "wait_until": {
- "name": "wait_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "processing": {
- "name": "processing",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_jobs_completed_at_idx": {
- "name": "payload_jobs_completed_at_idx",
- "columns": [
- {
- "expression": "completed_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_total_tried_idx": {
- "name": "payload_jobs_total_tried_idx",
- "columns": [
- {
- "expression": "total_tried",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_has_error_idx": {
- "name": "payload_jobs_has_error_idx",
- "columns": [
- {
- "expression": "has_error",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_task_slug_idx": {
- "name": "payload_jobs_task_slug_idx",
- "columns": [
- {
- "expression": "task_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_queue_idx": {
- "name": "payload_jobs_queue_idx",
- "columns": [
- {
- "expression": "queue",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_wait_until_idx": {
- "name": "payload_jobs_wait_until_idx",
- "columns": [
- {
- "expression": "wait_until",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_processing_idx": {
- "name": "payload_jobs_processing_idx",
- "columns": [
- {
- "expression": "processing",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_updated_at_idx": {
- "name": "payload_jobs_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_created_at_idx": {
- "name": "payload_jobs_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents": {
- "name": "payload_locked_documents",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "global_slug": {
- "name": "global_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_locked_documents_global_slug_idx": {
- "name": "payload_locked_documents_global_slug_idx",
- "columns": [
- {
- "expression": "global_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_updated_at_idx": {
- "name": "payload_locked_documents_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_created_at_idx": {
- "name": "payload_locked_documents_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents_rels": {
- "name": "payload_locked_documents_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "customers_id": {
- "name": "customers_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "events_id": {
- "name": "events_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "media_id": {
- "name": "media_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "posts_id": {
- "name": "posts_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "users_id": {
- "name": "users_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "payload_jobs_id": {
- "name": "payload_jobs_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_authors_id_idx": {
- "name": "payload_locked_documents_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_categories_id_idx": {
- "name": "payload_locked_documents_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_customers_id_idx": {
- "name": "payload_locked_documents_rels_customers_id_idx",
- "columns": [
- {
- "expression": "customers_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_events_id_idx": {
- "name": "payload_locked_documents_rels_events_id_idx",
- "columns": [
- {
- "expression": "events_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_posts_id_idx": {
- "name": "payload_locked_documents_rels_posts_id_idx",
- "columns": [
- {
- "expression": "posts_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_tags_id_idx": {
- "name": "payload_locked_documents_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_users_id_idx": {
- "name": "payload_locked_documents_rels_users_id_idx",
- "columns": [
- {
- "expression": "users_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_payload_jobs_id_idx": {
- "name": "payload_locked_documents_rels_payload_jobs_id_idx",
- "columns": [
- {
- "expression": "payload_jobs_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_authors_fk": {
- "name": "payload_locked_documents_rels_authors_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_categories_fk": {
- "name": "payload_locked_documents_rels_categories_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_customers_fk": {
- "name": "payload_locked_documents_rels_customers_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "customers",
- "columnsFrom": [
- "customers_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_events_fk": {
- "name": "payload_locked_documents_rels_events_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "events",
- "columnsFrom": [
- "events_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_posts_fk": {
- "name": "payload_locked_documents_rels_posts_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "posts_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_tags_fk": {
- "name": "payload_locked_documents_rels_tags_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_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_payload_jobs_fk": {
- "name": "payload_locked_documents_rels_payload_jobs_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "payload_jobs_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
- }
- },
- "enums": {
- "public.enum_customers_industry": {
- "name": "enum_customers_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum_customers_supabase_products": {
- "name": "enum_customers_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum_customers_company_size": {
- "name": "enum_customers_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum_customers_region": {
- "name": "enum_customers_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum_customers_status": {
- "name": "enum_customers_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__customers_v_version_industry": {
- "name": "enum__customers_v_version_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum__customers_v_version_supabase_products": {
- "name": "enum__customers_v_version_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum__customers_v_version_company_size": {
- "name": "enum__customers_v_version_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum__customers_v_version_region": {
- "name": "enum__customers_v_version_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum__customers_v_version_status": {
- "name": "enum__customers_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_events_type": {
- "name": "enum_events_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum_events_timezone": {
- "name": "enum_events_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum_events_link_target": {
- "name": "enum_events_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_main_cta_target": {
- "name": "enum_events_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_status": {
- "name": "enum_events_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__events_v_version_type": {
- "name": "enum__events_v_version_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum__events_v_version_timezone": {
- "name": "enum__events_v_version_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum__events_v_version_link_target": {
- "name": "enum__events_v_version_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_main_cta_target": {
- "name": "enum__events_v_version_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_status": {
- "name": "enum__events_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_posts_launchweek": {
- "name": "enum_posts_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum_posts_status": {
- "name": "enum_posts_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__posts_v_version_launchweek": {
- "name": "enum__posts_v_version_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum__posts_v_version_status": {
- "name": "enum__posts_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_users_roles": {
- "name": "enum_users_roles",
- "schema": "public",
- "values": [
- "admin",
- "editor"
- ]
- },
- "public.enum_payload_jobs_log_task_slug": {
- "name": "enum_payload_jobs_log_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- },
- "public.enum_payload_jobs_log_state": {
- "name": "enum_payload_jobs_log_state",
- "schema": "public",
- "values": [
- "failed",
- "succeeded"
- ]
- },
- "public.enum_payload_jobs_task_slug": {
- "name": "enum_payload_jobs_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- }
- },
- "schemas": {},
- "sequences": {},
- "roles": {},
- "policies": {},
- "views": {},
- "_meta": {
- "schemas": {},
- "tables": {},
- "columns": {}
- }
-}
\ No newline at end of file
diff --git a/apps/cms/src/migrations/20250808_145722_update_payload_migrations.ts b/apps/cms/src/migrations/20250808_145722_update_payload_migrations.ts
deleted file mode 100644
index 925b8cdb552..00000000000
--- a/apps/cms/src/migrations/20250808_145722_update_payload_migrations.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'
-
-export async function up({ db }: MigrateUpArgs): Promise<void> {
- await db.execute(sql`
- CREATE TABLE "users_sessions" (
- "_order" integer NOT NULL,
- "_parent_id" integer NOT NULL,
- "id" varchar PRIMARY KEY NOT NULL,
- "created_at" timestamp(3) with time zone,
- "expires_at" timestamp(3) with time zone 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;
- 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");`)
-}
-
-export async function down({ db, payload, req }: MigrateDownArgs): Promise<void> {
- await db.execute(sql`
- DROP TABLE "users_sessions" CASCADE;`)
-}
diff --git a/apps/cms/src/migrations/20250819_222013_update_authors.json b/apps/cms/src/migrations/20250819_222013_update_authors.json
deleted file mode 100644
index 088e1b7e137..00000000000
--- a/apps/cms/src/migrations/20250819_222013_update_authors.json
+++ /dev/null
@@ -1,7439 +0,0 @@
-{
- "id": "cd306410-e6c2-447a-ab80-6329720e153c",
- "prevId": "00000000-0000-0000-0000-000000000000",
- "version": "7",
- "dialect": "postgresql",
- "tables": {
- "public.authors": {
- "name": "authors",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "author": {
- "name": "author",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "author_id": {
- "name": "author_id",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "username": {
- "name": "username",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "position": {
- "name": "position",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company": {
- "name": "company",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_url": {
- "name": "author_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_image_url_id": {
- "name": "author_image_url_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "authors_author_id_idx": {
- "name": "authors_author_id_idx",
- "columns": [
- {
- "expression": "author_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_author_image_url_idx": {
- "name": "authors_author_image_url_idx",
- "columns": [
- {
- "expression": "author_image_url_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_updated_at_idx": {
- "name": "authors_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_created_at_idx": {
- "name": "authors_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "authors_author_image_url_id_media_id_fk": {
- "name": "authors_author_image_url_id_media_id_fk",
- "tableFrom": "authors",
- "tableTo": "media",
- "columnsFrom": [
- "author_image_url_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories_breadcrumbs": {
- "name": "categories_breadcrumbs",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "doc_id": {
- "name": "doc_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "categories_breadcrumbs_order_idx": {
- "name": "categories_breadcrumbs_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_parent_id_idx": {
- "name": "categories_breadcrumbs_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_doc_idx": {
- "name": "categories_breadcrumbs_doc_idx",
- "columns": [
- {
- "expression": "doc_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_breadcrumbs_doc_id_categories_id_fk": {
- "name": "categories_breadcrumbs_doc_id_categories_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "doc_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "categories_breadcrumbs_parent_id_fk": {
- "name": "categories_breadcrumbs_parent_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories": {
- "name": "categories",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "categories_parent_idx": {
- "name": "categories_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_updated_at_idx": {
- "name": "categories_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_created_at_idx": {
- "name": "categories_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_parent_id_categories_id_fk": {
- "name": "categories_parent_id_categories_id_fk",
- "tableFrom": "categories",
- "tableTo": "categories",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_stats": {
- "name": "customers_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_stats_order_idx": {
- "name": "customers_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_stats_parent_id_idx": {
- "name": "customers_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_stats_parent_id_fk": {
- "name": "customers_stats_parent_id_fk",
- "tableFrom": "customers_stats",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_misc": {
- "name": "customers_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_misc_order_idx": {
- "name": "customers_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_misc_parent_id_idx": {
- "name": "customers_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_misc_parent_id_fk": {
- "name": "customers_misc_parent_id_fk",
- "tableFrom": "customers_misc",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_industry": {
- "name": "customers_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_industry_order_idx": {
- "name": "customers_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_industry_parent_idx": {
- "name": "customers_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_industry_parent_fk": {
- "name": "customers_industry_parent_fk",
- "tableFrom": "customers_industry",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_supabase_products": {
- "name": "customers_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_supabase_products_order_idx": {
- "name": "customers_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_supabase_products_parent_idx": {
- "name": "customers_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_supabase_products_parent_fk": {
- "name": "customers_supabase_products_parent_fk",
- "tableFrom": "customers_supabase_products",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers": {
- "name": "customers",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "about": {
- "name": "about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_url": {
- "name": "company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_size": {
- "name": "company_size",
- "type": "enum_customers_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "region": {
- "name": "region",
- "type": "enum_customers_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "logo_id": {
- "name": "logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "logo_inverse_id": {
- "name": "logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_customers_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "customers_slug_idx": {
- "name": "customers_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_meta_meta_image_idx": {
- "name": "customers_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_idx": {
- "name": "customers_logo_idx",
- "columns": [
- {
- "expression": "logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_inverse_idx": {
- "name": "customers_logo_inverse_idx",
- "columns": [
- {
- "expression": "logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_updated_at_idx": {
- "name": "customers_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_created_at_idx": {
- "name": "customers_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers__status_idx": {
- "name": "customers__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_meta_image_id_media_id_fk": {
- "name": "customers_meta_image_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_id_media_id_fk": {
- "name": "customers_logo_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_inverse_id_media_id_fk": {
- "name": "customers_logo_inverse_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_stats": {
- "name": "_customers_v_version_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_stats_order_idx": {
- "name": "_customers_v_version_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_stats_parent_id_idx": {
- "name": "_customers_v_version_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_stats_parent_id_fk": {
- "name": "_customers_v_version_stats_parent_id_fk",
- "tableFrom": "_customers_v_version_stats",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_misc": {
- "name": "_customers_v_version_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_misc_order_idx": {
- "name": "_customers_v_version_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_misc_parent_id_idx": {
- "name": "_customers_v_version_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_misc_parent_id_fk": {
- "name": "_customers_v_version_misc_parent_id_fk",
- "tableFrom": "_customers_v_version_misc",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_industry": {
- "name": "_customers_v_version_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_industry_order_idx": {
- "name": "_customers_v_version_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_industry_parent_idx": {
- "name": "_customers_v_version_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_industry_parent_fk": {
- "name": "_customers_v_version_industry_parent_fk",
- "tableFrom": "_customers_v_version_industry",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_supabase_products": {
- "name": "_customers_v_version_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_supabase_products_order_idx": {
- "name": "_customers_v_version_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_supabase_products_parent_idx": {
- "name": "_customers_v_version_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_supabase_products_parent_fk": {
- "name": "_customers_v_version_supabase_products_parent_fk",
- "tableFrom": "_customers_v_version_supabase_products",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v": {
- "name": "_customers_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_name": {
- "name": "version_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_about": {
- "name": "version_about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_url": {
- "name": "version_company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_size": {
- "name": "version_company_size",
- "type": "enum__customers_v_version_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_region": {
- "name": "version_region",
- "type": "enum__customers_v_version_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_id": {
- "name": "version_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_inverse_id": {
- "name": "version_logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__customers_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_parent_idx": {
- "name": "_customers_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_slug_idx": {
- "name": "_customers_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_meta_version_meta_image_idx": {
- "name": "_customers_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_idx": {
- "name": "_customers_v_version_version_logo_idx",
- "columns": [
- {
- "expression": "version_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_inverse_idx": {
- "name": "_customers_v_version_version_logo_inverse_idx",
- "columns": [
- {
- "expression": "version_logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_updated_at_idx": {
- "name": "_customers_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_created_at_idx": {
- "name": "_customers_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version__status_idx": {
- "name": "_customers_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_created_at_idx": {
- "name": "_customers_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_updated_at_idx": {
- "name": "_customers_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_latest_idx": {
- "name": "_customers_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_autosave_idx": {
- "name": "_customers_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_parent_id_customers_id_fk": {
- "name": "_customers_v_parent_id_customers_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_meta_image_id_media_id_fk": {
- "name": "_customers_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_id_media_id_fk": {
- "name": "_customers_v_version_logo_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_inverse_id_media_id_fk": {
- "name": "_customers_v_version_logo_inverse_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_type": {
- "name": "events_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_events_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "events_type_order_idx": {
- "name": "events_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_type_parent_idx": {
- "name": "events_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_type_parent_fk": {
- "name": "events_type_parent_fk",
- "tableFrom": "events_type",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events": {
- "name": "events",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "subtitle": {
- "name": "subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "timezone": {
- "name": "timezone",
- "type": "enum_events_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "show_end_date": {
- "name": "show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "end_date": {
- "name": "end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "duration": {
- "name": "duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "on_demand": {
- "name": "on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "disable_page_build": {
- "name": "disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "link_href": {
- "name": "link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "link_target": {
- "name": "link_target",
- "type": "enum_events_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_href": {
- "name": "main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_target": {
- "name": "main_cta_target",
- "type": "enum_events_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_label": {
- "name": "main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_disabled": {
- "name": "main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "main_cta_disabled_label": {
- "name": "main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_show_company": {
- "name": "company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "company_name": {
- "name": "company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_website_url": {
- "name": "company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_id": {
- "name": "company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_light_id": {
- "name": "company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "participants_show_participants": {
- "name": "participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_events_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "events_slug_idx": {
- "name": "events_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_thumb_idx": {
- "name": "events_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_image_idx": {
- "name": "events_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_idx": {
- "name": "events_company_company_logo_idx",
- "columns": [
- {
- "expression": "company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_light_idx": {
- "name": "events_company_company_logo_light_idx",
- "columns": [
- {
- "expression": "company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_meta_meta_image_idx": {
- "name": "events_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_updated_at_idx": {
- "name": "events_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_created_at_idx": {
- "name": "events_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events__status_idx": {
- "name": "events__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_thumb_id_media_id_fk": {
- "name": "events_thumb_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_image_id_media_id_fk": {
- "name": "events_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_id_media_id_fk": {
- "name": "events_company_logo_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_light_id_media_id_fk": {
- "name": "events_company_logo_light_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_meta_image_id_media_id_fk": {
- "name": "events_meta_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_rels": {
- "name": "events_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
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "events_rels_order_idx": {
- "name": "events_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_parent_idx": {
- "name": "events_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_path_idx": {
- "name": "events_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_authors_id_idx": {
- "name": "events_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_rels_parent_fk": {
- "name": "events_rels_parent_fk",
- "tableFrom": "events_rels",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "events_rels_authors_fk": {
- "name": "events_rels_authors_fk",
- "tableFrom": "events_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_version_type": {
- "name": "_events_v_version_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__events_v_version_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_events_v_version_type_order_idx": {
- "name": "_events_v_version_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_type_parent_idx": {
- "name": "_events_v_version_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_version_type_parent_fk": {
- "name": "_events_v_version_type_parent_fk",
- "tableFrom": "_events_v_version_type",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v": {
- "name": "_events_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_subtitle": {
- "name": "version_subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_timezone": {
- "name": "version_timezone",
- "type": "enum__events_v_version_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_show_end_date": {
- "name": "version_show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_end_date": {
- "name": "version_end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_duration": {
- "name": "version_duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_on_demand": {
- "name": "version_on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_disable_page_build": {
- "name": "version_disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_link_href": {
- "name": "version_link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_link_target": {
- "name": "version_link_target",
- "type": "enum__events_v_version_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_href": {
- "name": "version_main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_target": {
- "name": "version_main_cta_target",
- "type": "enum__events_v_version_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_label": {
- "name": "version_main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_disabled": {
- "name": "version_main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_main_cta_disabled_label": {
- "name": "version_main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_show_company": {
- "name": "version_company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_company_name": {
- "name": "version_company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_website_url": {
- "name": "version_company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_id": {
- "name": "version_company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_light_id": {
- "name": "version_company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_participants_show_participants": {
- "name": "version_participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__events_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_parent_idx": {
- "name": "_events_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_slug_idx": {
- "name": "_events_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_thumb_idx": {
- "name": "_events_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_image_idx": {
- "name": "_events_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_idx": {
- "name": "_events_v_version_company_version_company_logo_idx",
- "columns": [
- {
- "expression": "version_company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_light_idx": {
- "name": "_events_v_version_company_version_company_logo_light_idx",
- "columns": [
- {
- "expression": "version_company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_meta_version_meta_image_idx": {
- "name": "_events_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_updated_at_idx": {
- "name": "_events_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_created_at_idx": {
- "name": "_events_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version__status_idx": {
- "name": "_events_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_created_at_idx": {
- "name": "_events_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_updated_at_idx": {
- "name": "_events_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_latest_idx": {
- "name": "_events_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_autosave_idx": {
- "name": "_events_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_parent_id_events_id_fk": {
- "name": "_events_v_parent_id_events_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_thumb_id_media_id_fk": {
- "name": "_events_v_version_thumb_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_image_id_media_id_fk": {
- "name": "_events_v_version_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_id_media_id_fk": {
- "name": "_events_v_version_company_logo_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_light_id_media_id_fk": {
- "name": "_events_v_version_company_logo_light_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_meta_image_id_media_id_fk": {
- "name": "_events_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_rels": {
- "name": "_events_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_rels_order_idx": {
- "name": "_events_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_parent_idx": {
- "name": "_events_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_path_idx": {
- "name": "_events_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_authors_id_idx": {
- "name": "_events_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_rels_parent_fk": {
- "name": "_events_v_rels_parent_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_events_v_rels_authors_fk": {
- "name": "_events_v_rels_authors_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.media": {
- "name": "media",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "alt": {
- "name": "alt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "caption": {
- "name": "caption",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "prefix": {
- "name": "prefix",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'media'"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "thumbnail_u_r_l": {
- "name": "thumbnail_u_r_l",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filename": {
- "name": "filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "mime_type": {
- "name": "mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filesize": {
- "name": "filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "width": {
- "name": "width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "height": {
- "name": "height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_x": {
- "name": "focal_x",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_y": {
- "name": "focal_y",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_url": {
- "name": "sizes_thumbnail_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_width": {
- "name": "sizes_thumbnail_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_height": {
- "name": "sizes_thumbnail_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_mime_type": {
- "name": "sizes_thumbnail_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filesize": {
- "name": "sizes_thumbnail_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filename": {
- "name": "sizes_thumbnail_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_url": {
- "name": "sizes_square_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_width": {
- "name": "sizes_square_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_height": {
- "name": "sizes_square_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_mime_type": {
- "name": "sizes_square_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filesize": {
- "name": "sizes_square_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filename": {
- "name": "sizes_square_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_url": {
- "name": "sizes_small_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_width": {
- "name": "sizes_small_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_height": {
- "name": "sizes_small_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_mime_type": {
- "name": "sizes_small_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filesize": {
- "name": "sizes_small_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filename": {
- "name": "sizes_small_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_url": {
- "name": "sizes_medium_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_width": {
- "name": "sizes_medium_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_height": {
- "name": "sizes_medium_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_mime_type": {
- "name": "sizes_medium_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filesize": {
- "name": "sizes_medium_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filename": {
- "name": "sizes_medium_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_url": {
- "name": "sizes_large_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_width": {
- "name": "sizes_large_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_height": {
- "name": "sizes_large_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_mime_type": {
- "name": "sizes_large_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filesize": {
- "name": "sizes_large_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filename": {
- "name": "sizes_large_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_url": {
- "name": "sizes_xlarge_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_width": {
- "name": "sizes_xlarge_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_height": {
- "name": "sizes_xlarge_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_mime_type": {
- "name": "sizes_xlarge_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filesize": {
- "name": "sizes_xlarge_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filename": {
- "name": "sizes_xlarge_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_url": {
- "name": "sizes_og_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_width": {
- "name": "sizes_og_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_height": {
- "name": "sizes_og_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_mime_type": {
- "name": "sizes_og_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filesize": {
- "name": "sizes_og_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filename": {
- "name": "sizes_og_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "media_updated_at_idx": {
- "name": "media_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_created_at_idx": {
- "name": "media_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_filename_idx": {
- "name": "media_filename_idx",
- "columns": [
- {
- "expression": "filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {
- "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",
- "columns": [
- {
- "expression": "sizes_thumbnail_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_square_sizes_square_filename_idx": {
- "name": "media_sizes_square_sizes_square_filename_idx",
- "columns": [
- {
- "expression": "sizes_square_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_small_sizes_small_filename_idx": {
- "name": "media_sizes_small_sizes_small_filename_idx",
- "columns": [
- {
- "expression": "sizes_small_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_medium_sizes_medium_filename_idx": {
- "name": "media_sizes_medium_sizes_medium_filename_idx",
- "columns": [
- {
- "expression": "sizes_medium_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_large_sizes_large_filename_idx": {
- "name": "media_sizes_large_sizes_large_filename_idx",
- "columns": [
- {
- "expression": "sizes_large_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_xlarge_sizes_xlarge_filename_idx": {
- "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",
- "columns": [
- {
- "expression": "sizes_xlarge_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_og_sizes_og_filename_idx": {
- "name": "media_sizes_og_sizes_og_filename_idx",
- "columns": [
- {
- "expression": "sizes_og_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts": {
- "name": "posts",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "launchweek": {
- "name": "launchweek",
- "type": "enum_posts_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "reading_time": {
- "name": "reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "toc_depth": {
- "name": "toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 2
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_posts_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "posts_slug_idx": {
- "name": "posts_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_thumb_idx": {
- "name": "posts_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_image_idx": {
- "name": "posts_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_meta_meta_image_idx": {
- "name": "posts_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_updated_at_idx": {
- "name": "posts_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_created_at_idx": {
- "name": "posts_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts__status_idx": {
- "name": "posts__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_thumb_id_media_id_fk": {
- "name": "posts_thumb_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_image_id_media_id_fk": {
- "name": "posts_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_meta_image_id_media_id_fk": {
- "name": "posts_meta_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts_rels": {
- "name": "posts_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "posts_rels_order_idx": {
- "name": "posts_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_parent_idx": {
- "name": "posts_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_path_idx": {
- "name": "posts_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_categories_id_idx": {
- "name": "posts_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_authors_id_idx": {
- "name": "posts_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_tags_id_idx": {
- "name": "posts_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_rels_parent_fk": {
- "name": "posts_rels_parent_fk",
- "tableFrom": "posts_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_categories_fk": {
- "name": "posts_rels_categories_fk",
- "tableFrom": "posts_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_authors_fk": {
- "name": "posts_rels_authors_fk",
- "tableFrom": "posts_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_tags_fk": {
- "name": "posts_rels_tags_fk",
- "tableFrom": "posts_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v": {
- "name": "_posts_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_launchweek": {
- "name": "version_launchweek",
- "type": "enum__posts_v_version_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_reading_time": {
- "name": "version_reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_toc_depth": {
- "name": "version_toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 2
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__posts_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_parent_idx": {
- "name": "_posts_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_slug_idx": {
- "name": "_posts_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_thumb_idx": {
- "name": "_posts_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_image_idx": {
- "name": "_posts_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_meta_version_meta_image_idx": {
- "name": "_posts_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_updated_at_idx": {
- "name": "_posts_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_created_at_idx": {
- "name": "_posts_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version__status_idx": {
- "name": "_posts_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_created_at_idx": {
- "name": "_posts_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_updated_at_idx": {
- "name": "_posts_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_latest_idx": {
- "name": "_posts_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_autosave_idx": {
- "name": "_posts_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_parent_id_posts_id_fk": {
- "name": "_posts_v_parent_id_posts_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_thumb_id_media_id_fk": {
- "name": "_posts_v_version_thumb_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_image_id_media_id_fk": {
- "name": "_posts_v_version_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_meta_image_id_media_id_fk": {
- "name": "_posts_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v_rels": {
- "name": "_posts_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_rels_order_idx": {
- "name": "_posts_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_parent_idx": {
- "name": "_posts_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_path_idx": {
- "name": "_posts_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_categories_id_idx": {
- "name": "_posts_v_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_authors_id_idx": {
- "name": "_posts_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_tags_id_idx": {
- "name": "_posts_v_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_rels_parent_fk": {
- "name": "_posts_v_rels_parent_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "_posts_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_categories_fk": {
- "name": "_posts_v_rels_categories_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_authors_fk": {
- "name": "_posts_v_rels_authors_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_tags_fk": {
- "name": "_posts_v_rels_tags_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.tags": {
- "name": "tags",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "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()"
- }
- },
- "indexes": {
- "tags_updated_at_idx": {
- "name": "tags_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_created_at_idx": {
- "name": "tags_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.users_roles": {
- "name": "users_roles",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_users_roles",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "users_roles_order_idx": {
- "name": "users_roles_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_roles_parent_idx": {
- "name": "users_roles_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_roles_parent_fk": {
- "name": "users_roles_parent_fk",
- "tableFrom": "users_roles",
- "tableTo": "users",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users_sessions": {
- "name": "users_sessions",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "expires_at": {
- "name": "expires_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- }
- },
- "indexes": {
- "users_sessions_order_idx": {
- "name": "users_sessions_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_sessions_parent_id_idx": {
- "name": "users_sessions_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_sessions_parent_id_fk": {
- "name": "users_sessions_parent_id_fk",
- "tableFrom": "users_sessions",
- "tableTo": "users",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users": {
- "name": "users",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "email": {
- "name": "email",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "reset_password_token": {
- "name": "reset_password_token",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "reset_password_expiration": {
- "name": "reset_password_expiration",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "salt": {
- "name": "salt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "hash": {
- "name": "hash",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "login_attempts": {
- "name": "login_attempts",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "lock_until": {
- "name": "lock_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "users_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.payload_jobs_log": {
- "name": "payload_jobs_log",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "executed_at": {
- "name": "executed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_log_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "task_i_d": {
- "name": "task_i_d",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "output": {
- "name": "output",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "state": {
- "name": "state",
- "type": "enum_payload_jobs_log_state",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "payload_jobs_log_order_idx": {
- "name": "payload_jobs_log_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_log_parent_id_idx": {
- "name": "payload_jobs_log_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "payload_jobs_log_parent_id_fk": {
- "name": "payload_jobs_log_parent_id_fk",
- "tableFrom": "payload_jobs_log",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_jobs": {
- "name": "payload_jobs",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "total_tried": {
- "name": "total_tried",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "has_error": {
- "name": "has_error",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "queue": {
- "name": "queue",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'default'"
- },
- "wait_until": {
- "name": "wait_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "processing": {
- "name": "processing",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_jobs_completed_at_idx": {
- "name": "payload_jobs_completed_at_idx",
- "columns": [
- {
- "expression": "completed_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_total_tried_idx": {
- "name": "payload_jobs_total_tried_idx",
- "columns": [
- {
- "expression": "total_tried",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_has_error_idx": {
- "name": "payload_jobs_has_error_idx",
- "columns": [
- {
- "expression": "has_error",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_task_slug_idx": {
- "name": "payload_jobs_task_slug_idx",
- "columns": [
- {
- "expression": "task_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_queue_idx": {
- "name": "payload_jobs_queue_idx",
- "columns": [
- {
- "expression": "queue",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_wait_until_idx": {
- "name": "payload_jobs_wait_until_idx",
- "columns": [
- {
- "expression": "wait_until",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_processing_idx": {
- "name": "payload_jobs_processing_idx",
- "columns": [
- {
- "expression": "processing",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_updated_at_idx": {
- "name": "payload_jobs_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_created_at_idx": {
- "name": "payload_jobs_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents": {
- "name": "payload_locked_documents",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "global_slug": {
- "name": "global_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_locked_documents_global_slug_idx": {
- "name": "payload_locked_documents_global_slug_idx",
- "columns": [
- {
- "expression": "global_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_updated_at_idx": {
- "name": "payload_locked_documents_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_created_at_idx": {
- "name": "payload_locked_documents_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents_rels": {
- "name": "payload_locked_documents_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "customers_id": {
- "name": "customers_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "events_id": {
- "name": "events_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "media_id": {
- "name": "media_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "posts_id": {
- "name": "posts_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "users_id": {
- "name": "users_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "payload_jobs_id": {
- "name": "payload_jobs_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_authors_id_idx": {
- "name": "payload_locked_documents_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_categories_id_idx": {
- "name": "payload_locked_documents_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_customers_id_idx": {
- "name": "payload_locked_documents_rels_customers_id_idx",
- "columns": [
- {
- "expression": "customers_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_events_id_idx": {
- "name": "payload_locked_documents_rels_events_id_idx",
- "columns": [
- {
- "expression": "events_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_posts_id_idx": {
- "name": "payload_locked_documents_rels_posts_id_idx",
- "columns": [
- {
- "expression": "posts_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_tags_id_idx": {
- "name": "payload_locked_documents_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_users_id_idx": {
- "name": "payload_locked_documents_rels_users_id_idx",
- "columns": [
- {
- "expression": "users_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_payload_jobs_id_idx": {
- "name": "payload_locked_documents_rels_payload_jobs_id_idx",
- "columns": [
- {
- "expression": "payload_jobs_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_authors_fk": {
- "name": "payload_locked_documents_rels_authors_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_categories_fk": {
- "name": "payload_locked_documents_rels_categories_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_customers_fk": {
- "name": "payload_locked_documents_rels_customers_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "customers",
- "columnsFrom": [
- "customers_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_events_fk": {
- "name": "payload_locked_documents_rels_events_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "events",
- "columnsFrom": [
- "events_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_posts_fk": {
- "name": "payload_locked_documents_rels_posts_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "posts_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_tags_fk": {
- "name": "payload_locked_documents_rels_tags_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_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_payload_jobs_fk": {
- "name": "payload_locked_documents_rels_payload_jobs_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "payload_jobs_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
- }
- },
- "enums": {
- "public.enum_customers_industry": {
- "name": "enum_customers_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum_customers_supabase_products": {
- "name": "enum_customers_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum_customers_company_size": {
- "name": "enum_customers_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum_customers_region": {
- "name": "enum_customers_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum_customers_status": {
- "name": "enum_customers_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__customers_v_version_industry": {
- "name": "enum__customers_v_version_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum__customers_v_version_supabase_products": {
- "name": "enum__customers_v_version_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum__customers_v_version_company_size": {
- "name": "enum__customers_v_version_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum__customers_v_version_region": {
- "name": "enum__customers_v_version_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum__customers_v_version_status": {
- "name": "enum__customers_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_events_type": {
- "name": "enum_events_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum_events_timezone": {
- "name": "enum_events_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum_events_link_target": {
- "name": "enum_events_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_main_cta_target": {
- "name": "enum_events_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_status": {
- "name": "enum_events_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__events_v_version_type": {
- "name": "enum__events_v_version_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum__events_v_version_timezone": {
- "name": "enum__events_v_version_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum__events_v_version_link_target": {
- "name": "enum__events_v_version_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_main_cta_target": {
- "name": "enum__events_v_version_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_status": {
- "name": "enum__events_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_posts_launchweek": {
- "name": "enum_posts_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum_posts_status": {
- "name": "enum_posts_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__posts_v_version_launchweek": {
- "name": "enum__posts_v_version_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum__posts_v_version_status": {
- "name": "enum__posts_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_users_roles": {
- "name": "enum_users_roles",
- "schema": "public",
- "values": [
- "admin",
- "editor"
- ]
- },
- "public.enum_payload_jobs_log_task_slug": {
- "name": "enum_payload_jobs_log_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- },
- "public.enum_payload_jobs_log_state": {
- "name": "enum_payload_jobs_log_state",
- "schema": "public",
- "values": [
- "failed",
- "succeeded"
- ]
- },
- "public.enum_payload_jobs_task_slug": {
- "name": "enum_payload_jobs_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- }
- },
- "schemas": {},
- "sequences": {},
- "roles": {},
- "policies": {},
- "views": {},
- "_meta": {
- "schemas": {},
- "tables": {},
- "columns": {}
- }
-}
\ No newline at end of file
diff --git a/apps/cms/src/migrations/20250819_222013_update_authors.ts b/apps/cms/src/migrations/20250819_222013_update_authors.ts
deleted file mode 100644
index 3c28a831af4..00000000000
--- a/apps/cms/src/migrations/20250819_222013_update_authors.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'
-
-export async function up({ db }: MigrateUpArgs): Promise<void> {
- await db.execute(sql`
- ALTER TABLE "authors" ALTER COLUMN "author_id" SET NOT NULL;
- ALTER TABLE "authors" ADD COLUMN "company" varchar;
- CREATE UNIQUE INDEX "authors_author_id_idx" ON "authors" USING btree ("author_id");`)
-}
-
-export async function down({ db }: MigrateDownArgs): Promise<void> {
- await db.execute(sql`
- DROP INDEX "authors_author_id_idx";
- ALTER TABLE "authors" ALTER COLUMN "author_id" DROP NOT NULL;
- ALTER TABLE "authors" DROP COLUMN "company";`)
-}
diff --git a/apps/cms/src/migrations/20250821_151248.json b/apps/cms/src/migrations/20250821_151248.json
deleted file mode 100644
index fc0efaefc1d..00000000000
--- a/apps/cms/src/migrations/20250821_151248.json
+++ /dev/null
@@ -1,7514 +0,0 @@
-{
- "id": "9e624fb0-c718-4405-9665-30ad4959d42e",
- "prevId": "00000000-0000-0000-0000-000000000000",
- "version": "7",
- "dialect": "postgresql",
- "tables": {
- "public.authors": {
- "name": "authors",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "author": {
- "name": "author",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "author_id": {
- "name": "author_id",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "username": {
- "name": "username",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "position": {
- "name": "position",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company": {
- "name": "company",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_url": {
- "name": "author_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_image_url_id": {
- "name": "author_image_url_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "authors_author_idx": {
- "name": "authors_author_idx",
- "columns": [
- {
- "expression": "author",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_author_id_idx": {
- "name": "authors_author_id_idx",
- "columns": [
- {
- "expression": "author_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_author_image_url_idx": {
- "name": "authors_author_image_url_idx",
- "columns": [
- {
- "expression": "author_image_url_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_updated_at_idx": {
- "name": "authors_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_created_at_idx": {
- "name": "authors_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "authors_author_image_url_id_media_id_fk": {
- "name": "authors_author_image_url_id_media_id_fk",
- "tableFrom": "authors",
- "tableTo": "media",
- "columnsFrom": [
- "author_image_url_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories_breadcrumbs": {
- "name": "categories_breadcrumbs",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "doc_id": {
- "name": "doc_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "categories_breadcrumbs_order_idx": {
- "name": "categories_breadcrumbs_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_parent_id_idx": {
- "name": "categories_breadcrumbs_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_doc_idx": {
- "name": "categories_breadcrumbs_doc_idx",
- "columns": [
- {
- "expression": "doc_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_breadcrumbs_doc_id_categories_id_fk": {
- "name": "categories_breadcrumbs_doc_id_categories_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "doc_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "categories_breadcrumbs_parent_id_fk": {
- "name": "categories_breadcrumbs_parent_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories": {
- "name": "categories",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "categories_name_idx": {
- "name": "categories_name_idx",
- "columns": [
- {
- "expression": "name",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_parent_idx": {
- "name": "categories_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_updated_at_idx": {
- "name": "categories_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_created_at_idx": {
- "name": "categories_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_parent_id_categories_id_fk": {
- "name": "categories_parent_id_categories_id_fk",
- "tableFrom": "categories",
- "tableTo": "categories",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_stats": {
- "name": "customers_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_stats_order_idx": {
- "name": "customers_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_stats_parent_id_idx": {
- "name": "customers_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_stats_parent_id_fk": {
- "name": "customers_stats_parent_id_fk",
- "tableFrom": "customers_stats",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_misc": {
- "name": "customers_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_misc_order_idx": {
- "name": "customers_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_misc_parent_id_idx": {
- "name": "customers_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_misc_parent_id_fk": {
- "name": "customers_misc_parent_id_fk",
- "tableFrom": "customers_misc",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_industry": {
- "name": "customers_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_industry_order_idx": {
- "name": "customers_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_industry_parent_idx": {
- "name": "customers_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_industry_parent_fk": {
- "name": "customers_industry_parent_fk",
- "tableFrom": "customers_industry",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_supabase_products": {
- "name": "customers_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_supabase_products_order_idx": {
- "name": "customers_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_supabase_products_parent_idx": {
- "name": "customers_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_supabase_products_parent_fk": {
- "name": "customers_supabase_products_parent_fk",
- "tableFrom": "customers_supabase_products",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers": {
- "name": "customers",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "about": {
- "name": "about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_url": {
- "name": "company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_size": {
- "name": "company_size",
- "type": "enum_customers_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "region": {
- "name": "region",
- "type": "enum_customers_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "logo_id": {
- "name": "logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "logo_inverse_id": {
- "name": "logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_customers_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "customers_slug_idx": {
- "name": "customers_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_meta_meta_image_idx": {
- "name": "customers_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_idx": {
- "name": "customers_logo_idx",
- "columns": [
- {
- "expression": "logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_inverse_idx": {
- "name": "customers_logo_inverse_idx",
- "columns": [
- {
- "expression": "logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_updated_at_idx": {
- "name": "customers_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_created_at_idx": {
- "name": "customers_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers__status_idx": {
- "name": "customers__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_meta_image_id_media_id_fk": {
- "name": "customers_meta_image_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_id_media_id_fk": {
- "name": "customers_logo_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_inverse_id_media_id_fk": {
- "name": "customers_logo_inverse_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_stats": {
- "name": "_customers_v_version_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_stats_order_idx": {
- "name": "_customers_v_version_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_stats_parent_id_idx": {
- "name": "_customers_v_version_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_stats_parent_id_fk": {
- "name": "_customers_v_version_stats_parent_id_fk",
- "tableFrom": "_customers_v_version_stats",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_misc": {
- "name": "_customers_v_version_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_misc_order_idx": {
- "name": "_customers_v_version_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_misc_parent_id_idx": {
- "name": "_customers_v_version_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_misc_parent_id_fk": {
- "name": "_customers_v_version_misc_parent_id_fk",
- "tableFrom": "_customers_v_version_misc",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_industry": {
- "name": "_customers_v_version_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_industry_order_idx": {
- "name": "_customers_v_version_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_industry_parent_idx": {
- "name": "_customers_v_version_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_industry_parent_fk": {
- "name": "_customers_v_version_industry_parent_fk",
- "tableFrom": "_customers_v_version_industry",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_supabase_products": {
- "name": "_customers_v_version_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_supabase_products_order_idx": {
- "name": "_customers_v_version_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_supabase_products_parent_idx": {
- "name": "_customers_v_version_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_supabase_products_parent_fk": {
- "name": "_customers_v_version_supabase_products_parent_fk",
- "tableFrom": "_customers_v_version_supabase_products",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v": {
- "name": "_customers_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_name": {
- "name": "version_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_about": {
- "name": "version_about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_url": {
- "name": "version_company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_size": {
- "name": "version_company_size",
- "type": "enum__customers_v_version_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_region": {
- "name": "version_region",
- "type": "enum__customers_v_version_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_id": {
- "name": "version_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_inverse_id": {
- "name": "version_logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__customers_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_parent_idx": {
- "name": "_customers_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_slug_idx": {
- "name": "_customers_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_meta_version_meta_image_idx": {
- "name": "_customers_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_idx": {
- "name": "_customers_v_version_version_logo_idx",
- "columns": [
- {
- "expression": "version_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_inverse_idx": {
- "name": "_customers_v_version_version_logo_inverse_idx",
- "columns": [
- {
- "expression": "version_logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_updated_at_idx": {
- "name": "_customers_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_created_at_idx": {
- "name": "_customers_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version__status_idx": {
- "name": "_customers_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_created_at_idx": {
- "name": "_customers_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_updated_at_idx": {
- "name": "_customers_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_latest_idx": {
- "name": "_customers_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_autosave_idx": {
- "name": "_customers_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_parent_id_customers_id_fk": {
- "name": "_customers_v_parent_id_customers_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_meta_image_id_media_id_fk": {
- "name": "_customers_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_id_media_id_fk": {
- "name": "_customers_v_version_logo_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_inverse_id_media_id_fk": {
- "name": "_customers_v_version_logo_inverse_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_type": {
- "name": "events_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_events_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "events_type_order_idx": {
- "name": "events_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_type_parent_idx": {
- "name": "events_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_type_parent_fk": {
- "name": "events_type_parent_fk",
- "tableFrom": "events_type",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events": {
- "name": "events",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "subtitle": {
- "name": "subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "timezone": {
- "name": "timezone",
- "type": "enum_events_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "show_end_date": {
- "name": "show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "end_date": {
- "name": "end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "duration": {
- "name": "duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "on_demand": {
- "name": "on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "disable_page_build": {
- "name": "disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "link_href": {
- "name": "link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "link_target": {
- "name": "link_target",
- "type": "enum_events_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_href": {
- "name": "main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_target": {
- "name": "main_cta_target",
- "type": "enum_events_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_label": {
- "name": "main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_disabled": {
- "name": "main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "main_cta_disabled_label": {
- "name": "main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_show_company": {
- "name": "company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "company_name": {
- "name": "company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_website_url": {
- "name": "company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_id": {
- "name": "company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_light_id": {
- "name": "company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "participants_show_participants": {
- "name": "participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_events_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "events_slug_idx": {
- "name": "events_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_thumb_idx": {
- "name": "events_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_image_idx": {
- "name": "events_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_idx": {
- "name": "events_company_company_logo_idx",
- "columns": [
- {
- "expression": "company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_light_idx": {
- "name": "events_company_company_logo_light_idx",
- "columns": [
- {
- "expression": "company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_meta_meta_image_idx": {
- "name": "events_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_updated_at_idx": {
- "name": "events_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_created_at_idx": {
- "name": "events_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events__status_idx": {
- "name": "events__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_thumb_id_media_id_fk": {
- "name": "events_thumb_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_image_id_media_id_fk": {
- "name": "events_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_id_media_id_fk": {
- "name": "events_company_logo_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_light_id_media_id_fk": {
- "name": "events_company_logo_light_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_meta_image_id_media_id_fk": {
- "name": "events_meta_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_rels": {
- "name": "events_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
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "events_rels_order_idx": {
- "name": "events_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_parent_idx": {
- "name": "events_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_path_idx": {
- "name": "events_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_authors_id_idx": {
- "name": "events_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_rels_parent_fk": {
- "name": "events_rels_parent_fk",
- "tableFrom": "events_rels",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "events_rels_authors_fk": {
- "name": "events_rels_authors_fk",
- "tableFrom": "events_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_version_type": {
- "name": "_events_v_version_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__events_v_version_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_events_v_version_type_order_idx": {
- "name": "_events_v_version_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_type_parent_idx": {
- "name": "_events_v_version_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_version_type_parent_fk": {
- "name": "_events_v_version_type_parent_fk",
- "tableFrom": "_events_v_version_type",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v": {
- "name": "_events_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_subtitle": {
- "name": "version_subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_timezone": {
- "name": "version_timezone",
- "type": "enum__events_v_version_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_show_end_date": {
- "name": "version_show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_end_date": {
- "name": "version_end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_duration": {
- "name": "version_duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_on_demand": {
- "name": "version_on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_disable_page_build": {
- "name": "version_disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_link_href": {
- "name": "version_link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_link_target": {
- "name": "version_link_target",
- "type": "enum__events_v_version_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_href": {
- "name": "version_main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_target": {
- "name": "version_main_cta_target",
- "type": "enum__events_v_version_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_label": {
- "name": "version_main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_disabled": {
- "name": "version_main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_main_cta_disabled_label": {
- "name": "version_main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_show_company": {
- "name": "version_company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_company_name": {
- "name": "version_company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_website_url": {
- "name": "version_company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_id": {
- "name": "version_company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_light_id": {
- "name": "version_company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_participants_show_participants": {
- "name": "version_participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__events_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_parent_idx": {
- "name": "_events_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_slug_idx": {
- "name": "_events_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_thumb_idx": {
- "name": "_events_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_image_idx": {
- "name": "_events_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_idx": {
- "name": "_events_v_version_company_version_company_logo_idx",
- "columns": [
- {
- "expression": "version_company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_light_idx": {
- "name": "_events_v_version_company_version_company_logo_light_idx",
- "columns": [
- {
- "expression": "version_company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_meta_version_meta_image_idx": {
- "name": "_events_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_updated_at_idx": {
- "name": "_events_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_created_at_idx": {
- "name": "_events_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version__status_idx": {
- "name": "_events_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_created_at_idx": {
- "name": "_events_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_updated_at_idx": {
- "name": "_events_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_latest_idx": {
- "name": "_events_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_autosave_idx": {
- "name": "_events_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_parent_id_events_id_fk": {
- "name": "_events_v_parent_id_events_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_thumb_id_media_id_fk": {
- "name": "_events_v_version_thumb_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_image_id_media_id_fk": {
- "name": "_events_v_version_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_id_media_id_fk": {
- "name": "_events_v_version_company_logo_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_light_id_media_id_fk": {
- "name": "_events_v_version_company_logo_light_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_meta_image_id_media_id_fk": {
- "name": "_events_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_rels": {
- "name": "_events_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_rels_order_idx": {
- "name": "_events_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_parent_idx": {
- "name": "_events_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_path_idx": {
- "name": "_events_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_authors_id_idx": {
- "name": "_events_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_rels_parent_fk": {
- "name": "_events_v_rels_parent_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_events_v_rels_authors_fk": {
- "name": "_events_v_rels_authors_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.media": {
- "name": "media",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "alt": {
- "name": "alt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "caption": {
- "name": "caption",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "prefix": {
- "name": "prefix",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'media'"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "thumbnail_u_r_l": {
- "name": "thumbnail_u_r_l",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filename": {
- "name": "filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "mime_type": {
- "name": "mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filesize": {
- "name": "filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "width": {
- "name": "width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "height": {
- "name": "height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_x": {
- "name": "focal_x",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_y": {
- "name": "focal_y",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_url": {
- "name": "sizes_thumbnail_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_width": {
- "name": "sizes_thumbnail_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_height": {
- "name": "sizes_thumbnail_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_mime_type": {
- "name": "sizes_thumbnail_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filesize": {
- "name": "sizes_thumbnail_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filename": {
- "name": "sizes_thumbnail_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_url": {
- "name": "sizes_square_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_width": {
- "name": "sizes_square_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_height": {
- "name": "sizes_square_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_mime_type": {
- "name": "sizes_square_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filesize": {
- "name": "sizes_square_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filename": {
- "name": "sizes_square_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_url": {
- "name": "sizes_small_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_width": {
- "name": "sizes_small_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_height": {
- "name": "sizes_small_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_mime_type": {
- "name": "sizes_small_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filesize": {
- "name": "sizes_small_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filename": {
- "name": "sizes_small_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_url": {
- "name": "sizes_medium_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_width": {
- "name": "sizes_medium_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_height": {
- "name": "sizes_medium_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_mime_type": {
- "name": "sizes_medium_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filesize": {
- "name": "sizes_medium_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filename": {
- "name": "sizes_medium_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_url": {
- "name": "sizes_large_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_width": {
- "name": "sizes_large_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_height": {
- "name": "sizes_large_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_mime_type": {
- "name": "sizes_large_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filesize": {
- "name": "sizes_large_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filename": {
- "name": "sizes_large_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_url": {
- "name": "sizes_xlarge_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_width": {
- "name": "sizes_xlarge_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_height": {
- "name": "sizes_xlarge_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_mime_type": {
- "name": "sizes_xlarge_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filesize": {
- "name": "sizes_xlarge_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filename": {
- "name": "sizes_xlarge_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_url": {
- "name": "sizes_og_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_width": {
- "name": "sizes_og_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_height": {
- "name": "sizes_og_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_mime_type": {
- "name": "sizes_og_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filesize": {
- "name": "sizes_og_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filename": {
- "name": "sizes_og_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "media_updated_at_idx": {
- "name": "media_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_created_at_idx": {
- "name": "media_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_filename_idx": {
- "name": "media_filename_idx",
- "columns": [
- {
- "expression": "filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {
- "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",
- "columns": [
- {
- "expression": "sizes_thumbnail_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_square_sizes_square_filename_idx": {
- "name": "media_sizes_square_sizes_square_filename_idx",
- "columns": [
- {
- "expression": "sizes_square_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_small_sizes_small_filename_idx": {
- "name": "media_sizes_small_sizes_small_filename_idx",
- "columns": [
- {
- "expression": "sizes_small_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_medium_sizes_medium_filename_idx": {
- "name": "media_sizes_medium_sizes_medium_filename_idx",
- "columns": [
- {
- "expression": "sizes_medium_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_large_sizes_large_filename_idx": {
- "name": "media_sizes_large_sizes_large_filename_idx",
- "columns": [
- {
- "expression": "sizes_large_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_xlarge_sizes_xlarge_filename_idx": {
- "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",
- "columns": [
- {
- "expression": "sizes_xlarge_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_og_sizes_og_filename_idx": {
- "name": "media_sizes_og_sizes_og_filename_idx",
- "columns": [
- {
- "expression": "sizes_og_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts": {
- "name": "posts",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "launchweek": {
- "name": "launchweek",
- "type": "enum_posts_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "reading_time": {
- "name": "reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "toc_depth": {
- "name": "toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 3
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_posts_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "posts_title_idx": {
- "name": "posts_title_idx",
- "columns": [
- {
- "expression": "title",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_slug_idx": {
- "name": "posts_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_thumb_idx": {
- "name": "posts_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_image_idx": {
- "name": "posts_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_meta_meta_image_idx": {
- "name": "posts_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_updated_at_idx": {
- "name": "posts_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_created_at_idx": {
- "name": "posts_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts__status_idx": {
- "name": "posts__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_thumb_id_media_id_fk": {
- "name": "posts_thumb_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_image_id_media_id_fk": {
- "name": "posts_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_meta_image_id_media_id_fk": {
- "name": "posts_meta_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts_rels": {
- "name": "posts_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "posts_rels_order_idx": {
- "name": "posts_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_parent_idx": {
- "name": "posts_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_path_idx": {
- "name": "posts_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_categories_id_idx": {
- "name": "posts_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_authors_id_idx": {
- "name": "posts_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_tags_id_idx": {
- "name": "posts_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_rels_parent_fk": {
- "name": "posts_rels_parent_fk",
- "tableFrom": "posts_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_categories_fk": {
- "name": "posts_rels_categories_fk",
- "tableFrom": "posts_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_authors_fk": {
- "name": "posts_rels_authors_fk",
- "tableFrom": "posts_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_tags_fk": {
- "name": "posts_rels_tags_fk",
- "tableFrom": "posts_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v": {
- "name": "_posts_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_launchweek": {
- "name": "version_launchweek",
- "type": "enum__posts_v_version_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_reading_time": {
- "name": "version_reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_toc_depth": {
- "name": "version_toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 3
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__posts_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- },
- "autosave": {
- "name": "autosave",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_parent_idx": {
- "name": "_posts_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_title_idx": {
- "name": "_posts_v_version_version_title_idx",
- "columns": [
- {
- "expression": "version_title",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_slug_idx": {
- "name": "_posts_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_thumb_idx": {
- "name": "_posts_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_image_idx": {
- "name": "_posts_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_meta_version_meta_image_idx": {
- "name": "_posts_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_updated_at_idx": {
- "name": "_posts_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_created_at_idx": {
- "name": "_posts_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version__status_idx": {
- "name": "_posts_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_created_at_idx": {
- "name": "_posts_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_updated_at_idx": {
- "name": "_posts_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_latest_idx": {
- "name": "_posts_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_autosave_idx": {
- "name": "_posts_v_autosave_idx",
- "columns": [
- {
- "expression": "autosave",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_parent_id_posts_id_fk": {
- "name": "_posts_v_parent_id_posts_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_thumb_id_media_id_fk": {
- "name": "_posts_v_version_thumb_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_image_id_media_id_fk": {
- "name": "_posts_v_version_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_meta_image_id_media_id_fk": {
- "name": "_posts_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v_rels": {
- "name": "_posts_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_rels_order_idx": {
- "name": "_posts_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_parent_idx": {
- "name": "_posts_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_path_idx": {
- "name": "_posts_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_categories_id_idx": {
- "name": "_posts_v_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_authors_id_idx": {
- "name": "_posts_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_tags_id_idx": {
- "name": "_posts_v_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_rels_parent_fk": {
- "name": "_posts_v_rels_parent_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "_posts_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_categories_fk": {
- "name": "_posts_v_rels_categories_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_authors_fk": {
- "name": "_posts_v_rels_authors_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_tags_fk": {
- "name": "_posts_v_rels_tags_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.tags": {
- "name": "tags",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "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()"
- }
- },
- "indexes": {
- "tags_name_idx": {
- "name": "tags_name_idx",
- "columns": [
- {
- "expression": "name",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_updated_at_idx": {
- "name": "tags_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_created_at_idx": {
- "name": "tags_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.users_roles": {
- "name": "users_roles",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_users_roles",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "users_roles_order_idx": {
- "name": "users_roles_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_roles_parent_idx": {
- "name": "users_roles_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_roles_parent_fk": {
- "name": "users_roles_parent_fk",
- "tableFrom": "users_roles",
- "tableTo": "users",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users_sessions": {
- "name": "users_sessions",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "expires_at": {
- "name": "expires_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- }
- },
- "indexes": {
- "users_sessions_order_idx": {
- "name": "users_sessions_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_sessions_parent_id_idx": {
- "name": "users_sessions_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_sessions_parent_id_fk": {
- "name": "users_sessions_parent_id_fk",
- "tableFrom": "users_sessions",
- "tableTo": "users",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users": {
- "name": "users",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "email": {
- "name": "email",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "reset_password_token": {
- "name": "reset_password_token",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "reset_password_expiration": {
- "name": "reset_password_expiration",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "salt": {
- "name": "salt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "hash": {
- "name": "hash",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "login_attempts": {
- "name": "login_attempts",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "lock_until": {
- "name": "lock_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "users_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.payload_jobs_log": {
- "name": "payload_jobs_log",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "executed_at": {
- "name": "executed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_log_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "task_i_d": {
- "name": "task_i_d",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "output": {
- "name": "output",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "state": {
- "name": "state",
- "type": "enum_payload_jobs_log_state",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "payload_jobs_log_order_idx": {
- "name": "payload_jobs_log_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_log_parent_id_idx": {
- "name": "payload_jobs_log_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "payload_jobs_log_parent_id_fk": {
- "name": "payload_jobs_log_parent_id_fk",
- "tableFrom": "payload_jobs_log",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_jobs": {
- "name": "payload_jobs",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "total_tried": {
- "name": "total_tried",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "has_error": {
- "name": "has_error",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "queue": {
- "name": "queue",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'default'"
- },
- "wait_until": {
- "name": "wait_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "processing": {
- "name": "processing",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_jobs_completed_at_idx": {
- "name": "payload_jobs_completed_at_idx",
- "columns": [
- {
- "expression": "completed_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_total_tried_idx": {
- "name": "payload_jobs_total_tried_idx",
- "columns": [
- {
- "expression": "total_tried",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_has_error_idx": {
- "name": "payload_jobs_has_error_idx",
- "columns": [
- {
- "expression": "has_error",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_task_slug_idx": {
- "name": "payload_jobs_task_slug_idx",
- "columns": [
- {
- "expression": "task_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_queue_idx": {
- "name": "payload_jobs_queue_idx",
- "columns": [
- {
- "expression": "queue",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_wait_until_idx": {
- "name": "payload_jobs_wait_until_idx",
- "columns": [
- {
- "expression": "wait_until",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_processing_idx": {
- "name": "payload_jobs_processing_idx",
- "columns": [
- {
- "expression": "processing",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_updated_at_idx": {
- "name": "payload_jobs_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_created_at_idx": {
- "name": "payload_jobs_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents": {
- "name": "payload_locked_documents",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "global_slug": {
- "name": "global_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_locked_documents_global_slug_idx": {
- "name": "payload_locked_documents_global_slug_idx",
- "columns": [
- {
- "expression": "global_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_updated_at_idx": {
- "name": "payload_locked_documents_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_created_at_idx": {
- "name": "payload_locked_documents_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents_rels": {
- "name": "payload_locked_documents_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "customers_id": {
- "name": "customers_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "events_id": {
- "name": "events_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "media_id": {
- "name": "media_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "posts_id": {
- "name": "posts_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "users_id": {
- "name": "users_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "payload_jobs_id": {
- "name": "payload_jobs_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_authors_id_idx": {
- "name": "payload_locked_documents_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_categories_id_idx": {
- "name": "payload_locked_documents_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_customers_id_idx": {
- "name": "payload_locked_documents_rels_customers_id_idx",
- "columns": [
- {
- "expression": "customers_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_events_id_idx": {
- "name": "payload_locked_documents_rels_events_id_idx",
- "columns": [
- {
- "expression": "events_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_posts_id_idx": {
- "name": "payload_locked_documents_rels_posts_id_idx",
- "columns": [
- {
- "expression": "posts_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_tags_id_idx": {
- "name": "payload_locked_documents_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_users_id_idx": {
- "name": "payload_locked_documents_rels_users_id_idx",
- "columns": [
- {
- "expression": "users_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_payload_jobs_id_idx": {
- "name": "payload_locked_documents_rels_payload_jobs_id_idx",
- "columns": [
- {
- "expression": "payload_jobs_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_authors_fk": {
- "name": "payload_locked_documents_rels_authors_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_categories_fk": {
- "name": "payload_locked_documents_rels_categories_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_customers_fk": {
- "name": "payload_locked_documents_rels_customers_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "customers",
- "columnsFrom": [
- "customers_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_events_fk": {
- "name": "payload_locked_documents_rels_events_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "events",
- "columnsFrom": [
- "events_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_posts_fk": {
- "name": "payload_locked_documents_rels_posts_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "posts_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_tags_fk": {
- "name": "payload_locked_documents_rels_tags_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_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_payload_jobs_fk": {
- "name": "payload_locked_documents_rels_payload_jobs_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "payload_jobs_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
- }
- },
- "enums": {
- "public.enum_customers_industry": {
- "name": "enum_customers_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum_customers_supabase_products": {
- "name": "enum_customers_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum_customers_company_size": {
- "name": "enum_customers_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum_customers_region": {
- "name": "enum_customers_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum_customers_status": {
- "name": "enum_customers_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__customers_v_version_industry": {
- "name": "enum__customers_v_version_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum__customers_v_version_supabase_products": {
- "name": "enum__customers_v_version_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum__customers_v_version_company_size": {
- "name": "enum__customers_v_version_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum__customers_v_version_region": {
- "name": "enum__customers_v_version_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum__customers_v_version_status": {
- "name": "enum__customers_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_events_type": {
- "name": "enum_events_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum_events_timezone": {
- "name": "enum_events_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum_events_link_target": {
- "name": "enum_events_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_main_cta_target": {
- "name": "enum_events_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_status": {
- "name": "enum_events_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__events_v_version_type": {
- "name": "enum__events_v_version_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum__events_v_version_timezone": {
- "name": "enum__events_v_version_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum__events_v_version_link_target": {
- "name": "enum__events_v_version_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_main_cta_target": {
- "name": "enum__events_v_version_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_status": {
- "name": "enum__events_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_posts_launchweek": {
- "name": "enum_posts_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum_posts_status": {
- "name": "enum_posts_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__posts_v_version_launchweek": {
- "name": "enum__posts_v_version_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum__posts_v_version_status": {
- "name": "enum__posts_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_users_roles": {
- "name": "enum_users_roles",
- "schema": "public",
- "values": [
- "admin",
- "editor"
- ]
- },
- "public.enum_payload_jobs_log_task_slug": {
- "name": "enum_payload_jobs_log_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- },
- "public.enum_payload_jobs_log_state": {
- "name": "enum_payload_jobs_log_state",
- "schema": "public",
- "values": [
- "failed",
- "succeeded"
- ]
- },
- "public.enum_payload_jobs_task_slug": {
- "name": "enum_payload_jobs_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- }
- },
- "schemas": {},
- "sequences": {},
- "roles": {},
- "policies": {},
- "views": {},
- "_meta": {
- "schemas": {},
- "tables": {},
- "columns": {}
- }
-}
\ No newline at end of file
diff --git a/apps/cms/src/migrations/20250821_151248.ts b/apps/cms/src/migrations/20250821_151248.ts
deleted file mode 100644
index bcafe38ab1f..00000000000
--- a/apps/cms/src/migrations/20250821_151248.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'
-
-export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
- await db.execute(sql`
- ALTER TABLE "posts" ALTER COLUMN "toc_depth" SET DEFAULT 3;
- ALTER TABLE "_posts_v" ALTER COLUMN "version_toc_depth" SET DEFAULT 3;
- CREATE INDEX "authors_author_idx" ON "authors" USING btree ("author");
- CREATE INDEX "categories_name_idx" ON "categories" USING btree ("name");
- CREATE INDEX "posts_title_idx" ON "posts" USING btree ("title");
- CREATE INDEX "_posts_v_version_version_title_idx" ON "_posts_v" USING btree ("version_title");
- CREATE INDEX "tags_name_idx" ON "tags" USING btree ("name");`)
-}
-
-export async function down({ db, payload, req }: MigrateDownArgs): Promise<void> {
- await db.execute(sql`
- DROP INDEX "authors_author_idx";
- DROP INDEX "categories_name_idx";
- DROP INDEX "posts_title_idx";
- DROP INDEX "_posts_v_version_version_title_idx";
- DROP INDEX "tags_name_idx";
- ALTER TABLE "posts" ALTER COLUMN "toc_depth" SET DEFAULT 2;
- ALTER TABLE "_posts_v" ALTER COLUMN "version_toc_depth" SET DEFAULT 2;`)
-}
diff --git a/apps/cms/src/migrations/20250821_165446.json b/apps/cms/src/migrations/20250821_165446.json
deleted file mode 100644
index 47053f2ebee..00000000000
--- a/apps/cms/src/migrations/20250821_165446.json
+++ /dev/null
@@ -1,7451 +0,0 @@
-{
- "id": "e08c69c7-89c4-42d2-a378-9f5a0e424b70",
- "prevId": "00000000-0000-0000-0000-000000000000",
- "version": "7",
- "dialect": "postgresql",
- "tables": {
- "public.authors": {
- "name": "authors",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "author": {
- "name": "author",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "author_id": {
- "name": "author_id",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "username": {
- "name": "username",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "position": {
- "name": "position",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company": {
- "name": "company",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_url": {
- "name": "author_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_image_url_id": {
- "name": "author_image_url_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "authors_author_idx": {
- "name": "authors_author_idx",
- "columns": [
- {
- "expression": "author",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_author_id_idx": {
- "name": "authors_author_id_idx",
- "columns": [
- {
- "expression": "author_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_author_image_url_idx": {
- "name": "authors_author_image_url_idx",
- "columns": [
- {
- "expression": "author_image_url_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_updated_at_idx": {
- "name": "authors_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_created_at_idx": {
- "name": "authors_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "authors_author_image_url_id_media_id_fk": {
- "name": "authors_author_image_url_id_media_id_fk",
- "tableFrom": "authors",
- "tableTo": "media",
- "columnsFrom": [
- "author_image_url_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories_breadcrumbs": {
- "name": "categories_breadcrumbs",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "doc_id": {
- "name": "doc_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "categories_breadcrumbs_order_idx": {
- "name": "categories_breadcrumbs_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_parent_id_idx": {
- "name": "categories_breadcrumbs_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_doc_idx": {
- "name": "categories_breadcrumbs_doc_idx",
- "columns": [
- {
- "expression": "doc_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_breadcrumbs_doc_id_categories_id_fk": {
- "name": "categories_breadcrumbs_doc_id_categories_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "doc_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "categories_breadcrumbs_parent_id_fk": {
- "name": "categories_breadcrumbs_parent_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories": {
- "name": "categories",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "categories_name_idx": {
- "name": "categories_name_idx",
- "columns": [
- {
- "expression": "name",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_parent_idx": {
- "name": "categories_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_updated_at_idx": {
- "name": "categories_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_created_at_idx": {
- "name": "categories_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_parent_id_categories_id_fk": {
- "name": "categories_parent_id_categories_id_fk",
- "tableFrom": "categories",
- "tableTo": "categories",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_stats": {
- "name": "customers_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_stats_order_idx": {
- "name": "customers_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_stats_parent_id_idx": {
- "name": "customers_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_stats_parent_id_fk": {
- "name": "customers_stats_parent_id_fk",
- "tableFrom": "customers_stats",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_misc": {
- "name": "customers_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_misc_order_idx": {
- "name": "customers_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_misc_parent_id_idx": {
- "name": "customers_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_misc_parent_id_fk": {
- "name": "customers_misc_parent_id_fk",
- "tableFrom": "customers_misc",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_industry": {
- "name": "customers_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_industry_order_idx": {
- "name": "customers_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_industry_parent_idx": {
- "name": "customers_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_industry_parent_fk": {
- "name": "customers_industry_parent_fk",
- "tableFrom": "customers_industry",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_supabase_products": {
- "name": "customers_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_supabase_products_order_idx": {
- "name": "customers_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_supabase_products_parent_idx": {
- "name": "customers_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_supabase_products_parent_fk": {
- "name": "customers_supabase_products_parent_fk",
- "tableFrom": "customers_supabase_products",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers": {
- "name": "customers",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "about": {
- "name": "about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_url": {
- "name": "company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_size": {
- "name": "company_size",
- "type": "enum_customers_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "region": {
- "name": "region",
- "type": "enum_customers_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "logo_id": {
- "name": "logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "logo_inverse_id": {
- "name": "logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_customers_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "customers_slug_idx": {
- "name": "customers_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_meta_meta_image_idx": {
- "name": "customers_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_idx": {
- "name": "customers_logo_idx",
- "columns": [
- {
- "expression": "logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_inverse_idx": {
- "name": "customers_logo_inverse_idx",
- "columns": [
- {
- "expression": "logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_updated_at_idx": {
- "name": "customers_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_created_at_idx": {
- "name": "customers_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers__status_idx": {
- "name": "customers__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_meta_image_id_media_id_fk": {
- "name": "customers_meta_image_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_id_media_id_fk": {
- "name": "customers_logo_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_inverse_id_media_id_fk": {
- "name": "customers_logo_inverse_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_stats": {
- "name": "_customers_v_version_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_stats_order_idx": {
- "name": "_customers_v_version_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_stats_parent_id_idx": {
- "name": "_customers_v_version_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_stats_parent_id_fk": {
- "name": "_customers_v_version_stats_parent_id_fk",
- "tableFrom": "_customers_v_version_stats",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_misc": {
- "name": "_customers_v_version_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_misc_order_idx": {
- "name": "_customers_v_version_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_misc_parent_id_idx": {
- "name": "_customers_v_version_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_misc_parent_id_fk": {
- "name": "_customers_v_version_misc_parent_id_fk",
- "tableFrom": "_customers_v_version_misc",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_industry": {
- "name": "_customers_v_version_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_industry_order_idx": {
- "name": "_customers_v_version_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_industry_parent_idx": {
- "name": "_customers_v_version_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_industry_parent_fk": {
- "name": "_customers_v_version_industry_parent_fk",
- "tableFrom": "_customers_v_version_industry",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_supabase_products": {
- "name": "_customers_v_version_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_supabase_products_order_idx": {
- "name": "_customers_v_version_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_supabase_products_parent_idx": {
- "name": "_customers_v_version_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_supabase_products_parent_fk": {
- "name": "_customers_v_version_supabase_products_parent_fk",
- "tableFrom": "_customers_v_version_supabase_products",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v": {
- "name": "_customers_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_name": {
- "name": "version_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_about": {
- "name": "version_about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_url": {
- "name": "version_company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_size": {
- "name": "version_company_size",
- "type": "enum__customers_v_version_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_region": {
- "name": "version_region",
- "type": "enum__customers_v_version_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_id": {
- "name": "version_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_inverse_id": {
- "name": "version_logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__customers_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_parent_idx": {
- "name": "_customers_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_slug_idx": {
- "name": "_customers_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_meta_version_meta_image_idx": {
- "name": "_customers_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_idx": {
- "name": "_customers_v_version_version_logo_idx",
- "columns": [
- {
- "expression": "version_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_inverse_idx": {
- "name": "_customers_v_version_version_logo_inverse_idx",
- "columns": [
- {
- "expression": "version_logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_updated_at_idx": {
- "name": "_customers_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_created_at_idx": {
- "name": "_customers_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version__status_idx": {
- "name": "_customers_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_created_at_idx": {
- "name": "_customers_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_updated_at_idx": {
- "name": "_customers_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_latest_idx": {
- "name": "_customers_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_parent_id_customers_id_fk": {
- "name": "_customers_v_parent_id_customers_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_meta_image_id_media_id_fk": {
- "name": "_customers_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_id_media_id_fk": {
- "name": "_customers_v_version_logo_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_inverse_id_media_id_fk": {
- "name": "_customers_v_version_logo_inverse_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_type": {
- "name": "events_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_events_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "events_type_order_idx": {
- "name": "events_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_type_parent_idx": {
- "name": "events_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_type_parent_fk": {
- "name": "events_type_parent_fk",
- "tableFrom": "events_type",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events": {
- "name": "events",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "subtitle": {
- "name": "subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "timezone": {
- "name": "timezone",
- "type": "enum_events_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "show_end_date": {
- "name": "show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "end_date": {
- "name": "end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "duration": {
- "name": "duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "on_demand": {
- "name": "on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "disable_page_build": {
- "name": "disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "link_href": {
- "name": "link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "link_target": {
- "name": "link_target",
- "type": "enum_events_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_href": {
- "name": "main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_target": {
- "name": "main_cta_target",
- "type": "enum_events_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_label": {
- "name": "main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_disabled": {
- "name": "main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "main_cta_disabled_label": {
- "name": "main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_show_company": {
- "name": "company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "company_name": {
- "name": "company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_website_url": {
- "name": "company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_id": {
- "name": "company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_light_id": {
- "name": "company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "participants_show_participants": {
- "name": "participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_events_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "events_slug_idx": {
- "name": "events_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_thumb_idx": {
- "name": "events_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_image_idx": {
- "name": "events_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_idx": {
- "name": "events_company_company_logo_idx",
- "columns": [
- {
- "expression": "company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_light_idx": {
- "name": "events_company_company_logo_light_idx",
- "columns": [
- {
- "expression": "company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_meta_meta_image_idx": {
- "name": "events_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_updated_at_idx": {
- "name": "events_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_created_at_idx": {
- "name": "events_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events__status_idx": {
- "name": "events__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_thumb_id_media_id_fk": {
- "name": "events_thumb_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_image_id_media_id_fk": {
- "name": "events_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_id_media_id_fk": {
- "name": "events_company_logo_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_light_id_media_id_fk": {
- "name": "events_company_logo_light_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_meta_image_id_media_id_fk": {
- "name": "events_meta_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_rels": {
- "name": "events_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
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "events_rels_order_idx": {
- "name": "events_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_parent_idx": {
- "name": "events_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_path_idx": {
- "name": "events_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_authors_id_idx": {
- "name": "events_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_rels_parent_fk": {
- "name": "events_rels_parent_fk",
- "tableFrom": "events_rels",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "events_rels_authors_fk": {
- "name": "events_rels_authors_fk",
- "tableFrom": "events_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_version_type": {
- "name": "_events_v_version_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__events_v_version_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_events_v_version_type_order_idx": {
- "name": "_events_v_version_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_type_parent_idx": {
- "name": "_events_v_version_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_version_type_parent_fk": {
- "name": "_events_v_version_type_parent_fk",
- "tableFrom": "_events_v_version_type",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v": {
- "name": "_events_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_subtitle": {
- "name": "version_subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_timezone": {
- "name": "version_timezone",
- "type": "enum__events_v_version_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_show_end_date": {
- "name": "version_show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_end_date": {
- "name": "version_end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_duration": {
- "name": "version_duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_on_demand": {
- "name": "version_on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_disable_page_build": {
- "name": "version_disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_link_href": {
- "name": "version_link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_link_target": {
- "name": "version_link_target",
- "type": "enum__events_v_version_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_href": {
- "name": "version_main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_target": {
- "name": "version_main_cta_target",
- "type": "enum__events_v_version_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_label": {
- "name": "version_main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_disabled": {
- "name": "version_main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_main_cta_disabled_label": {
- "name": "version_main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_show_company": {
- "name": "version_company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_company_name": {
- "name": "version_company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_website_url": {
- "name": "version_company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_id": {
- "name": "version_company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_light_id": {
- "name": "version_company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_participants_show_participants": {
- "name": "version_participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__events_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_parent_idx": {
- "name": "_events_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_slug_idx": {
- "name": "_events_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_thumb_idx": {
- "name": "_events_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_image_idx": {
- "name": "_events_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_idx": {
- "name": "_events_v_version_company_version_company_logo_idx",
- "columns": [
- {
- "expression": "version_company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_light_idx": {
- "name": "_events_v_version_company_version_company_logo_light_idx",
- "columns": [
- {
- "expression": "version_company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_meta_version_meta_image_idx": {
- "name": "_events_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_updated_at_idx": {
- "name": "_events_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_created_at_idx": {
- "name": "_events_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version__status_idx": {
- "name": "_events_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_created_at_idx": {
- "name": "_events_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_updated_at_idx": {
- "name": "_events_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_latest_idx": {
- "name": "_events_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_parent_id_events_id_fk": {
- "name": "_events_v_parent_id_events_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_thumb_id_media_id_fk": {
- "name": "_events_v_version_thumb_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_image_id_media_id_fk": {
- "name": "_events_v_version_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_id_media_id_fk": {
- "name": "_events_v_version_company_logo_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_light_id_media_id_fk": {
- "name": "_events_v_version_company_logo_light_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_meta_image_id_media_id_fk": {
- "name": "_events_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_rels": {
- "name": "_events_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_rels_order_idx": {
- "name": "_events_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_parent_idx": {
- "name": "_events_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_path_idx": {
- "name": "_events_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_authors_id_idx": {
- "name": "_events_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_rels_parent_fk": {
- "name": "_events_v_rels_parent_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_events_v_rels_authors_fk": {
- "name": "_events_v_rels_authors_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.media": {
- "name": "media",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "alt": {
- "name": "alt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "caption": {
- "name": "caption",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "prefix": {
- "name": "prefix",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'media'"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "thumbnail_u_r_l": {
- "name": "thumbnail_u_r_l",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filename": {
- "name": "filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "mime_type": {
- "name": "mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filesize": {
- "name": "filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "width": {
- "name": "width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "height": {
- "name": "height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_x": {
- "name": "focal_x",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_y": {
- "name": "focal_y",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_url": {
- "name": "sizes_thumbnail_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_width": {
- "name": "sizes_thumbnail_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_height": {
- "name": "sizes_thumbnail_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_mime_type": {
- "name": "sizes_thumbnail_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filesize": {
- "name": "sizes_thumbnail_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filename": {
- "name": "sizes_thumbnail_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_url": {
- "name": "sizes_square_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_width": {
- "name": "sizes_square_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_height": {
- "name": "sizes_square_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_mime_type": {
- "name": "sizes_square_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filesize": {
- "name": "sizes_square_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filename": {
- "name": "sizes_square_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_url": {
- "name": "sizes_small_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_width": {
- "name": "sizes_small_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_height": {
- "name": "sizes_small_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_mime_type": {
- "name": "sizes_small_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filesize": {
- "name": "sizes_small_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filename": {
- "name": "sizes_small_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_url": {
- "name": "sizes_medium_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_width": {
- "name": "sizes_medium_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_height": {
- "name": "sizes_medium_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_mime_type": {
- "name": "sizes_medium_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filesize": {
- "name": "sizes_medium_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filename": {
- "name": "sizes_medium_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_url": {
- "name": "sizes_large_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_width": {
- "name": "sizes_large_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_height": {
- "name": "sizes_large_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_mime_type": {
- "name": "sizes_large_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filesize": {
- "name": "sizes_large_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filename": {
- "name": "sizes_large_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_url": {
- "name": "sizes_xlarge_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_width": {
- "name": "sizes_xlarge_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_height": {
- "name": "sizes_xlarge_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_mime_type": {
- "name": "sizes_xlarge_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filesize": {
- "name": "sizes_xlarge_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filename": {
- "name": "sizes_xlarge_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_url": {
- "name": "sizes_og_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_width": {
- "name": "sizes_og_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_height": {
- "name": "sizes_og_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_mime_type": {
- "name": "sizes_og_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filesize": {
- "name": "sizes_og_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filename": {
- "name": "sizes_og_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "media_updated_at_idx": {
- "name": "media_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_created_at_idx": {
- "name": "media_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_filename_idx": {
- "name": "media_filename_idx",
- "columns": [
- {
- "expression": "filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {
- "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",
- "columns": [
- {
- "expression": "sizes_thumbnail_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_square_sizes_square_filename_idx": {
- "name": "media_sizes_square_sizes_square_filename_idx",
- "columns": [
- {
- "expression": "sizes_square_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_small_sizes_small_filename_idx": {
- "name": "media_sizes_small_sizes_small_filename_idx",
- "columns": [
- {
- "expression": "sizes_small_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_medium_sizes_medium_filename_idx": {
- "name": "media_sizes_medium_sizes_medium_filename_idx",
- "columns": [
- {
- "expression": "sizes_medium_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_large_sizes_large_filename_idx": {
- "name": "media_sizes_large_sizes_large_filename_idx",
- "columns": [
- {
- "expression": "sizes_large_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_xlarge_sizes_xlarge_filename_idx": {
- "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",
- "columns": [
- {
- "expression": "sizes_xlarge_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_og_sizes_og_filename_idx": {
- "name": "media_sizes_og_sizes_og_filename_idx",
- "columns": [
- {
- "expression": "sizes_og_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts": {
- "name": "posts",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "launchweek": {
- "name": "launchweek",
- "type": "enum_posts_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "reading_time": {
- "name": "reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "toc_depth": {
- "name": "toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 3
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_posts_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "posts_title_idx": {
- "name": "posts_title_idx",
- "columns": [
- {
- "expression": "title",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_slug_idx": {
- "name": "posts_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_thumb_idx": {
- "name": "posts_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_image_idx": {
- "name": "posts_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_meta_meta_image_idx": {
- "name": "posts_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_updated_at_idx": {
- "name": "posts_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_created_at_idx": {
- "name": "posts_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts__status_idx": {
- "name": "posts__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_thumb_id_media_id_fk": {
- "name": "posts_thumb_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_image_id_media_id_fk": {
- "name": "posts_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_meta_image_id_media_id_fk": {
- "name": "posts_meta_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts_rels": {
- "name": "posts_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "posts_rels_order_idx": {
- "name": "posts_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_parent_idx": {
- "name": "posts_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_path_idx": {
- "name": "posts_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_categories_id_idx": {
- "name": "posts_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_authors_id_idx": {
- "name": "posts_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_tags_id_idx": {
- "name": "posts_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_rels_parent_fk": {
- "name": "posts_rels_parent_fk",
- "tableFrom": "posts_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_categories_fk": {
- "name": "posts_rels_categories_fk",
- "tableFrom": "posts_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_authors_fk": {
- "name": "posts_rels_authors_fk",
- "tableFrom": "posts_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_tags_fk": {
- "name": "posts_rels_tags_fk",
- "tableFrom": "posts_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v": {
- "name": "_posts_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_launchweek": {
- "name": "version_launchweek",
- "type": "enum__posts_v_version_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_reading_time": {
- "name": "version_reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_toc_depth": {
- "name": "version_toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 3
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__posts_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_parent_idx": {
- "name": "_posts_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_title_idx": {
- "name": "_posts_v_version_version_title_idx",
- "columns": [
- {
- "expression": "version_title",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_slug_idx": {
- "name": "_posts_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_thumb_idx": {
- "name": "_posts_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_image_idx": {
- "name": "_posts_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_meta_version_meta_image_idx": {
- "name": "_posts_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_updated_at_idx": {
- "name": "_posts_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_created_at_idx": {
- "name": "_posts_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version__status_idx": {
- "name": "_posts_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_created_at_idx": {
- "name": "_posts_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_updated_at_idx": {
- "name": "_posts_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_latest_idx": {
- "name": "_posts_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_parent_id_posts_id_fk": {
- "name": "_posts_v_parent_id_posts_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_thumb_id_media_id_fk": {
- "name": "_posts_v_version_thumb_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_image_id_media_id_fk": {
- "name": "_posts_v_version_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_meta_image_id_media_id_fk": {
- "name": "_posts_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v_rels": {
- "name": "_posts_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_rels_order_idx": {
- "name": "_posts_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_parent_idx": {
- "name": "_posts_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_path_idx": {
- "name": "_posts_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_categories_id_idx": {
- "name": "_posts_v_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_authors_id_idx": {
- "name": "_posts_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_tags_id_idx": {
- "name": "_posts_v_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_rels_parent_fk": {
- "name": "_posts_v_rels_parent_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "_posts_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_categories_fk": {
- "name": "_posts_v_rels_categories_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_authors_fk": {
- "name": "_posts_v_rels_authors_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_tags_fk": {
- "name": "_posts_v_rels_tags_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.tags": {
- "name": "tags",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "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()"
- }
- },
- "indexes": {
- "tags_name_idx": {
- "name": "tags_name_idx",
- "columns": [
- {
- "expression": "name",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_updated_at_idx": {
- "name": "tags_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_created_at_idx": {
- "name": "tags_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.users_roles": {
- "name": "users_roles",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_users_roles",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "users_roles_order_idx": {
- "name": "users_roles_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_roles_parent_idx": {
- "name": "users_roles_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_roles_parent_fk": {
- "name": "users_roles_parent_fk",
- "tableFrom": "users_roles",
- "tableTo": "users",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users_sessions": {
- "name": "users_sessions",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "expires_at": {
- "name": "expires_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- }
- },
- "indexes": {
- "users_sessions_order_idx": {
- "name": "users_sessions_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_sessions_parent_id_idx": {
- "name": "users_sessions_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_sessions_parent_id_fk": {
- "name": "users_sessions_parent_id_fk",
- "tableFrom": "users_sessions",
- "tableTo": "users",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users": {
- "name": "users",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "email": {
- "name": "email",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "reset_password_token": {
- "name": "reset_password_token",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "reset_password_expiration": {
- "name": "reset_password_expiration",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "salt": {
- "name": "salt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "hash": {
- "name": "hash",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "login_attempts": {
- "name": "login_attempts",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "lock_until": {
- "name": "lock_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "users_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.payload_jobs_log": {
- "name": "payload_jobs_log",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "executed_at": {
- "name": "executed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_log_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "task_i_d": {
- "name": "task_i_d",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "output": {
- "name": "output",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "state": {
- "name": "state",
- "type": "enum_payload_jobs_log_state",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "payload_jobs_log_order_idx": {
- "name": "payload_jobs_log_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_log_parent_id_idx": {
- "name": "payload_jobs_log_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "payload_jobs_log_parent_id_fk": {
- "name": "payload_jobs_log_parent_id_fk",
- "tableFrom": "payload_jobs_log",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_jobs": {
- "name": "payload_jobs",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "total_tried": {
- "name": "total_tried",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "has_error": {
- "name": "has_error",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "queue": {
- "name": "queue",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'default'"
- },
- "wait_until": {
- "name": "wait_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "processing": {
- "name": "processing",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_jobs_completed_at_idx": {
- "name": "payload_jobs_completed_at_idx",
- "columns": [
- {
- "expression": "completed_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_total_tried_idx": {
- "name": "payload_jobs_total_tried_idx",
- "columns": [
- {
- "expression": "total_tried",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_has_error_idx": {
- "name": "payload_jobs_has_error_idx",
- "columns": [
- {
- "expression": "has_error",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_task_slug_idx": {
- "name": "payload_jobs_task_slug_idx",
- "columns": [
- {
- "expression": "task_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_queue_idx": {
- "name": "payload_jobs_queue_idx",
- "columns": [
- {
- "expression": "queue",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_wait_until_idx": {
- "name": "payload_jobs_wait_until_idx",
- "columns": [
- {
- "expression": "wait_until",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_processing_idx": {
- "name": "payload_jobs_processing_idx",
- "columns": [
- {
- "expression": "processing",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_updated_at_idx": {
- "name": "payload_jobs_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_created_at_idx": {
- "name": "payload_jobs_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents": {
- "name": "payload_locked_documents",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "global_slug": {
- "name": "global_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_locked_documents_global_slug_idx": {
- "name": "payload_locked_documents_global_slug_idx",
- "columns": [
- {
- "expression": "global_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_updated_at_idx": {
- "name": "payload_locked_documents_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_created_at_idx": {
- "name": "payload_locked_documents_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents_rels": {
- "name": "payload_locked_documents_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "customers_id": {
- "name": "customers_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "events_id": {
- "name": "events_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "media_id": {
- "name": "media_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "posts_id": {
- "name": "posts_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "users_id": {
- "name": "users_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "payload_jobs_id": {
- "name": "payload_jobs_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_authors_id_idx": {
- "name": "payload_locked_documents_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_categories_id_idx": {
- "name": "payload_locked_documents_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_customers_id_idx": {
- "name": "payload_locked_documents_rels_customers_id_idx",
- "columns": [
- {
- "expression": "customers_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_events_id_idx": {
- "name": "payload_locked_documents_rels_events_id_idx",
- "columns": [
- {
- "expression": "events_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_posts_id_idx": {
- "name": "payload_locked_documents_rels_posts_id_idx",
- "columns": [
- {
- "expression": "posts_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_tags_id_idx": {
- "name": "payload_locked_documents_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_users_id_idx": {
- "name": "payload_locked_documents_rels_users_id_idx",
- "columns": [
- {
- "expression": "users_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_payload_jobs_id_idx": {
- "name": "payload_locked_documents_rels_payload_jobs_id_idx",
- "columns": [
- {
- "expression": "payload_jobs_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_authors_fk": {
- "name": "payload_locked_documents_rels_authors_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_categories_fk": {
- "name": "payload_locked_documents_rels_categories_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_customers_fk": {
- "name": "payload_locked_documents_rels_customers_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "customers",
- "columnsFrom": [
- "customers_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_events_fk": {
- "name": "payload_locked_documents_rels_events_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "events",
- "columnsFrom": [
- "events_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_posts_fk": {
- "name": "payload_locked_documents_rels_posts_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "posts_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_tags_fk": {
- "name": "payload_locked_documents_rels_tags_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_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_payload_jobs_fk": {
- "name": "payload_locked_documents_rels_payload_jobs_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "payload_jobs_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
- }
- },
- "enums": {
- "public.enum_customers_industry": {
- "name": "enum_customers_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum_customers_supabase_products": {
- "name": "enum_customers_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum_customers_company_size": {
- "name": "enum_customers_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum_customers_region": {
- "name": "enum_customers_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum_customers_status": {
- "name": "enum_customers_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__customers_v_version_industry": {
- "name": "enum__customers_v_version_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum__customers_v_version_supabase_products": {
- "name": "enum__customers_v_version_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum__customers_v_version_company_size": {
- "name": "enum__customers_v_version_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum__customers_v_version_region": {
- "name": "enum__customers_v_version_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum__customers_v_version_status": {
- "name": "enum__customers_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_events_type": {
- "name": "enum_events_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum_events_timezone": {
- "name": "enum_events_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum_events_link_target": {
- "name": "enum_events_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_main_cta_target": {
- "name": "enum_events_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_status": {
- "name": "enum_events_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__events_v_version_type": {
- "name": "enum__events_v_version_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum__events_v_version_timezone": {
- "name": "enum__events_v_version_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum__events_v_version_link_target": {
- "name": "enum__events_v_version_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_main_cta_target": {
- "name": "enum__events_v_version_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_status": {
- "name": "enum__events_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_posts_launchweek": {
- "name": "enum_posts_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum_posts_status": {
- "name": "enum_posts_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__posts_v_version_launchweek": {
- "name": "enum__posts_v_version_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum__posts_v_version_status": {
- "name": "enum__posts_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_users_roles": {
- "name": "enum_users_roles",
- "schema": "public",
- "values": [
- "admin",
- "editor"
- ]
- },
- "public.enum_payload_jobs_log_task_slug": {
- "name": "enum_payload_jobs_log_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- },
- "public.enum_payload_jobs_log_state": {
- "name": "enum_payload_jobs_log_state",
- "schema": "public",
- "values": [
- "failed",
- "succeeded"
- ]
- },
- "public.enum_payload_jobs_task_slug": {
- "name": "enum_payload_jobs_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- }
- },
- "schemas": {},
- "sequences": {},
- "roles": {},
- "policies": {},
- "views": {},
- "_meta": {
- "schemas": {},
- "tables": {},
- "columns": {}
- }
-}
\ No newline at end of file
diff --git a/apps/cms/src/migrations/20250821_165446.ts b/apps/cms/src/migrations/20250821_165446.ts
deleted file mode 100644
index 6d6513f427b..00000000000
--- a/apps/cms/src/migrations/20250821_165446.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'
-
-export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
- await db.execute(sql`
- DROP INDEX "_customers_v_autosave_idx";
- DROP INDEX "_events_v_autosave_idx";
- DROP INDEX "_posts_v_autosave_idx";
- ALTER TABLE "_customers_v" DROP COLUMN "autosave";
- ALTER TABLE "_events_v" DROP COLUMN "autosave";
- ALTER TABLE "_posts_v" DROP COLUMN "autosave";`)
-}
-
-export async function down({ db, payload, req }: MigrateDownArgs): Promise<void> {
- await db.execute(sql`
- ALTER TABLE "_customers_v" ADD COLUMN "autosave" boolean;
- ALTER TABLE "_events_v" ADD COLUMN "autosave" boolean;
- ALTER TABLE "_posts_v" ADD COLUMN "autosave" boolean;
- CREATE INDEX "_customers_v_autosave_idx" ON "_customers_v" USING btree ("autosave");
- CREATE INDEX "_events_v_autosave_idx" ON "_events_v" USING btree ("autosave");
- CREATE INDEX "_posts_v_autosave_idx" ON "_posts_v" USING btree ("autosave");`)
-}
diff --git a/apps/cms/src/migrations/20250902_112449.json b/apps/cms/src/migrations/20250902_112449.json
deleted file mode 100644
index 4282295ce9e..00000000000
--- a/apps/cms/src/migrations/20250902_112449.json
+++ /dev/null
@@ -1,7383 +0,0 @@
-{
- "id": "cbe0580b-2b92-4814-85d5-d55622a28863",
- "prevId": "00000000-0000-0000-0000-000000000000",
- "version": "7",
- "dialect": "postgresql",
- "tables": {
- "public.authors": {
- "name": "authors",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "author": {
- "name": "author",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "author_id": {
- "name": "author_id",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "username": {
- "name": "username",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "position": {
- "name": "position",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company": {
- "name": "company",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_url": {
- "name": "author_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "author_image_url_id": {
- "name": "author_image_url_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "authors_author_idx": {
- "name": "authors_author_idx",
- "columns": [
- {
- "expression": "author",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_author_id_idx": {
- "name": "authors_author_id_idx",
- "columns": [
- {
- "expression": "author_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_author_image_url_idx": {
- "name": "authors_author_image_url_idx",
- "columns": [
- {
- "expression": "author_image_url_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_updated_at_idx": {
- "name": "authors_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "authors_created_at_idx": {
- "name": "authors_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "authors_author_image_url_id_media_id_fk": {
- "name": "authors_author_image_url_id_media_id_fk",
- "tableFrom": "authors",
- "tableTo": "media",
- "columnsFrom": [
- "author_image_url_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories_breadcrumbs": {
- "name": "categories_breadcrumbs",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "doc_id": {
- "name": "doc_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "categories_breadcrumbs_order_idx": {
- "name": "categories_breadcrumbs_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_parent_id_idx": {
- "name": "categories_breadcrumbs_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_breadcrumbs_doc_idx": {
- "name": "categories_breadcrumbs_doc_idx",
- "columns": [
- {
- "expression": "doc_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_breadcrumbs_doc_id_categories_id_fk": {
- "name": "categories_breadcrumbs_doc_id_categories_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "doc_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "categories_breadcrumbs_parent_id_fk": {
- "name": "categories_breadcrumbs_parent_id_fk",
- "tableFrom": "categories_breadcrumbs",
- "tableTo": "categories",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.categories": {
- "name": "categories",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "categories_name_idx": {
- "name": "categories_name_idx",
- "columns": [
- {
- "expression": "name",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_parent_idx": {
- "name": "categories_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_updated_at_idx": {
- "name": "categories_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "categories_created_at_idx": {
- "name": "categories_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "categories_parent_id_categories_id_fk": {
- "name": "categories_parent_id_categories_id_fk",
- "tableFrom": "categories",
- "tableTo": "categories",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_stats": {
- "name": "customers_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_stats_order_idx": {
- "name": "customers_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_stats_parent_id_idx": {
- "name": "customers_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_stats_parent_id_fk": {
- "name": "customers_stats_parent_id_fk",
- "tableFrom": "customers_stats",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_misc": {
- "name": "customers_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "customers_misc_order_idx": {
- "name": "customers_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_misc_parent_id_idx": {
- "name": "customers_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_misc_parent_id_fk": {
- "name": "customers_misc_parent_id_fk",
- "tableFrom": "customers_misc",
- "tableTo": "customers",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_industry": {
- "name": "customers_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_industry_order_idx": {
- "name": "customers_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_industry_parent_idx": {
- "name": "customers_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_industry_parent_fk": {
- "name": "customers_industry_parent_fk",
- "tableFrom": "customers_industry",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers_supabase_products": {
- "name": "customers_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_customers_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "customers_supabase_products_order_idx": {
- "name": "customers_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_supabase_products_parent_idx": {
- "name": "customers_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_supabase_products_parent_fk": {
- "name": "customers_supabase_products_parent_fk",
- "tableFrom": "customers_supabase_products",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.customers": {
- "name": "customers",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "about": {
- "name": "about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_url": {
- "name": "company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_size": {
- "name": "company_size",
- "type": "enum_customers_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "region": {
- "name": "region",
- "type": "enum_customers_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "logo_id": {
- "name": "logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "logo_inverse_id": {
- "name": "logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_customers_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "customers_slug_idx": {
- "name": "customers_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_meta_meta_image_idx": {
- "name": "customers_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_idx": {
- "name": "customers_logo_idx",
- "columns": [
- {
- "expression": "logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_logo_inverse_idx": {
- "name": "customers_logo_inverse_idx",
- "columns": [
- {
- "expression": "logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_updated_at_idx": {
- "name": "customers_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers_created_at_idx": {
- "name": "customers_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "customers__status_idx": {
- "name": "customers__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "customers_meta_image_id_media_id_fk": {
- "name": "customers_meta_image_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_id_media_id_fk": {
- "name": "customers_logo_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "customers_logo_inverse_id_media_id_fk": {
- "name": "customers_logo_inverse_id_media_id_fk",
- "tableFrom": "customers",
- "tableTo": "media",
- "columnsFrom": [
- "logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_stats": {
- "name": "_customers_v_version_stats",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "stat": {
- "name": "stat",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_stats_order_idx": {
- "name": "_customers_v_version_stats_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_stats_parent_id_idx": {
- "name": "_customers_v_version_stats_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_stats_parent_id_fk": {
- "name": "_customers_v_version_stats_parent_id_fk",
- "tableFrom": "_customers_v_version_stats",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_misc": {
- "name": "_customers_v_version_misc",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "label": {
- "name": "label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "text": {
- "name": "text",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "_uuid": {
- "name": "_uuid",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_version_misc_order_idx": {
- "name": "_customers_v_version_misc_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_misc_parent_id_idx": {
- "name": "_customers_v_version_misc_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_misc_parent_id_fk": {
- "name": "_customers_v_version_misc_parent_id_fk",
- "tableFrom": "_customers_v_version_misc",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_industry": {
- "name": "_customers_v_version_industry",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_industry",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_industry_order_idx": {
- "name": "_customers_v_version_industry_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_industry_parent_idx": {
- "name": "_customers_v_version_industry_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_industry_parent_fk": {
- "name": "_customers_v_version_industry_parent_fk",
- "tableFrom": "_customers_v_version_industry",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v_version_supabase_products": {
- "name": "_customers_v_version_supabase_products",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__customers_v_version_supabase_products",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_customers_v_version_supabase_products_order_idx": {
- "name": "_customers_v_version_supabase_products_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_supabase_products_parent_idx": {
- "name": "_customers_v_version_supabase_products_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_version_supabase_products_parent_fk": {
- "name": "_customers_v_version_supabase_products_parent_fk",
- "tableFrom": "_customers_v_version_supabase_products",
- "tableTo": "_customers_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._customers_v": {
- "name": "_customers_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_name": {
- "name": "version_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_about": {
- "name": "version_about",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_url": {
- "name": "version_company_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_size": {
- "name": "version_company_size",
- "type": "enum__customers_v_version_company_size",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_region": {
- "name": "version_region",
- "type": "enum__customers_v_version_region",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_id": {
- "name": "version_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_logo_inverse_id": {
- "name": "version_logo_inverse_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__customers_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_customers_v_parent_idx": {
- "name": "_customers_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_slug_idx": {
- "name": "_customers_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_meta_version_meta_image_idx": {
- "name": "_customers_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_idx": {
- "name": "_customers_v_version_version_logo_idx",
- "columns": [
- {
- "expression": "version_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_logo_inverse_idx": {
- "name": "_customers_v_version_version_logo_inverse_idx",
- "columns": [
- {
- "expression": "version_logo_inverse_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_updated_at_idx": {
- "name": "_customers_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version_created_at_idx": {
- "name": "_customers_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_version_version__status_idx": {
- "name": "_customers_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_created_at_idx": {
- "name": "_customers_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_updated_at_idx": {
- "name": "_customers_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_customers_v_latest_idx": {
- "name": "_customers_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_customers_v_parent_id_customers_id_fk": {
- "name": "_customers_v_parent_id_customers_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "customers",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_meta_image_id_media_id_fk": {
- "name": "_customers_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_id_media_id_fk": {
- "name": "_customers_v_version_logo_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_customers_v_version_logo_inverse_id_media_id_fk": {
- "name": "_customers_v_version_logo_inverse_id_media_id_fk",
- "tableFrom": "_customers_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_logo_inverse_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_type": {
- "name": "events_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_events_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "events_type_order_idx": {
- "name": "events_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_type_parent_idx": {
- "name": "events_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_type_parent_fk": {
- "name": "events_type_parent_fk",
- "tableFrom": "events_type",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events": {
- "name": "events",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "subtitle": {
- "name": "subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "image_id": {
- "name": "image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "timezone": {
- "name": "timezone",
- "type": "enum_events_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "show_end_date": {
- "name": "show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "end_date": {
- "name": "end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "duration": {
- "name": "duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "on_demand": {
- "name": "on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "disable_page_build": {
- "name": "disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "link_href": {
- "name": "link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "link_target": {
- "name": "link_target",
- "type": "enum_events_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_href": {
- "name": "main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_target": {
- "name": "main_cta_target",
- "type": "enum_events_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "main_cta_label": {
- "name": "main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "main_cta_disabled": {
- "name": "main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "main_cta_disabled_label": {
- "name": "main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_show_company": {
- "name": "company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "company_name": {
- "name": "company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_website_url": {
- "name": "company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_id": {
- "name": "company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "company_logo_light_id": {
- "name": "company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "participants_show_participants": {
- "name": "participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_events_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "events_slug_idx": {
- "name": "events_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_thumb_idx": {
- "name": "events_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_image_idx": {
- "name": "events_image_idx",
- "columns": [
- {
- "expression": "image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_idx": {
- "name": "events_company_company_logo_idx",
- "columns": [
- {
- "expression": "company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_company_company_logo_light_idx": {
- "name": "events_company_company_logo_light_idx",
- "columns": [
- {
- "expression": "company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_meta_meta_image_idx": {
- "name": "events_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_updated_at_idx": {
- "name": "events_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_created_at_idx": {
- "name": "events_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events__status_idx": {
- "name": "events__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_thumb_id_media_id_fk": {
- "name": "events_thumb_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_image_id_media_id_fk": {
- "name": "events_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_id_media_id_fk": {
- "name": "events_company_logo_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_company_logo_light_id_media_id_fk": {
- "name": "events_company_logo_light_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "events_meta_image_id_media_id_fk": {
- "name": "events_meta_image_id_media_id_fk",
- "tableFrom": "events",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.events_rels": {
- "name": "events_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
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "events_rels_order_idx": {
- "name": "events_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_parent_idx": {
- "name": "events_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_path_idx": {
- "name": "events_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "events_rels_authors_id_idx": {
- "name": "events_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "events_rels_parent_fk": {
- "name": "events_rels_parent_fk",
- "tableFrom": "events_rels",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "events_rels_authors_fk": {
- "name": "events_rels_authors_fk",
- "tableFrom": "events_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_version_type": {
- "name": "_events_v_version_type",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum__events_v_version_type",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "_events_v_version_type_order_idx": {
- "name": "_events_v_version_type_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_type_parent_idx": {
- "name": "_events_v_version_type_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_version_type_parent_fk": {
- "name": "_events_v_version_type_parent_fk",
- "tableFrom": "_events_v_version_type",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v": {
- "name": "_events_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_subtitle": {
- "name": "version_subtitle",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_image_id": {
- "name": "version_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_timezone": {
- "name": "version_timezone",
- "type": "enum__events_v_version_timezone",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_show_end_date": {
- "name": "version_show_end_date",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_end_date": {
- "name": "version_end_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_duration": {
- "name": "version_duration",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_on_demand": {
- "name": "version_on_demand",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_disable_page_build": {
- "name": "version_disable_page_build",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_link_href": {
- "name": "version_link_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_link_target": {
- "name": "version_link_target",
- "type": "enum__events_v_version_link_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_href": {
- "name": "version_main_cta_href",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_target": {
- "name": "version_main_cta_target",
- "type": "enum__events_v_version_main_cta_target",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'_blank'"
- },
- "version_main_cta_label": {
- "name": "version_main_cta_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_main_cta_disabled": {
- "name": "version_main_cta_disabled",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_main_cta_disabled_label": {
- "name": "version_main_cta_disabled_label",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_show_company": {
- "name": "version_company_show_company",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_company_name": {
- "name": "version_company_name",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_website_url": {
- "name": "version_company_website_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_id": {
- "name": "version_company_logo_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_company_logo_light_id": {
- "name": "version_company_logo_light_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_participants_show_participants": {
- "name": "version_participants_show_participants",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__events_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_parent_idx": {
- "name": "_events_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_slug_idx": {
- "name": "_events_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_thumb_idx": {
- "name": "_events_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_image_idx": {
- "name": "_events_v_version_version_image_idx",
- "columns": [
- {
- "expression": "version_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_idx": {
- "name": "_events_v_version_company_version_company_logo_idx",
- "columns": [
- {
- "expression": "version_company_logo_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_company_version_company_logo_light_idx": {
- "name": "_events_v_version_company_version_company_logo_light_idx",
- "columns": [
- {
- "expression": "version_company_logo_light_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_meta_version_meta_image_idx": {
- "name": "_events_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_updated_at_idx": {
- "name": "_events_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version_created_at_idx": {
- "name": "_events_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_version_version__status_idx": {
- "name": "_events_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_created_at_idx": {
- "name": "_events_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_updated_at_idx": {
- "name": "_events_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_latest_idx": {
- "name": "_events_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_parent_id_events_id_fk": {
- "name": "_events_v_parent_id_events_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "events",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_thumb_id_media_id_fk": {
- "name": "_events_v_version_thumb_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_image_id_media_id_fk": {
- "name": "_events_v_version_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_id_media_id_fk": {
- "name": "_events_v_version_company_logo_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_company_logo_light_id_media_id_fk": {
- "name": "_events_v_version_company_logo_light_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_company_logo_light_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_events_v_version_meta_image_id_media_id_fk": {
- "name": "_events_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_events_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._events_v_rels": {
- "name": "_events_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_events_v_rels_order_idx": {
- "name": "_events_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_parent_idx": {
- "name": "_events_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_path_idx": {
- "name": "_events_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_events_v_rels_authors_id_idx": {
- "name": "_events_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_events_v_rels_parent_fk": {
- "name": "_events_v_rels_parent_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "_events_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_events_v_rels_authors_fk": {
- "name": "_events_v_rels_authors_fk",
- "tableFrom": "_events_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.media": {
- "name": "media",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "alt": {
- "name": "alt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "caption": {
- "name": "caption",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "prefix": {
- "name": "prefix",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'media'"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "url": {
- "name": "url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "thumbnail_u_r_l": {
- "name": "thumbnail_u_r_l",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filename": {
- "name": "filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "mime_type": {
- "name": "mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "filesize": {
- "name": "filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "width": {
- "name": "width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "height": {
- "name": "height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_x": {
- "name": "focal_x",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "focal_y": {
- "name": "focal_y",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_url": {
- "name": "sizes_thumbnail_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_width": {
- "name": "sizes_thumbnail_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_height": {
- "name": "sizes_thumbnail_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_mime_type": {
- "name": "sizes_thumbnail_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filesize": {
- "name": "sizes_thumbnail_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_thumbnail_filename": {
- "name": "sizes_thumbnail_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_url": {
- "name": "sizes_square_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_width": {
- "name": "sizes_square_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_height": {
- "name": "sizes_square_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_mime_type": {
- "name": "sizes_square_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filesize": {
- "name": "sizes_square_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_square_filename": {
- "name": "sizes_square_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_url": {
- "name": "sizes_small_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_width": {
- "name": "sizes_small_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_height": {
- "name": "sizes_small_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_mime_type": {
- "name": "sizes_small_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filesize": {
- "name": "sizes_small_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_small_filename": {
- "name": "sizes_small_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_url": {
- "name": "sizes_medium_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_width": {
- "name": "sizes_medium_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_height": {
- "name": "sizes_medium_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_mime_type": {
- "name": "sizes_medium_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filesize": {
- "name": "sizes_medium_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_medium_filename": {
- "name": "sizes_medium_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_url": {
- "name": "sizes_large_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_width": {
- "name": "sizes_large_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_height": {
- "name": "sizes_large_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_mime_type": {
- "name": "sizes_large_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filesize": {
- "name": "sizes_large_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_large_filename": {
- "name": "sizes_large_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_url": {
- "name": "sizes_xlarge_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_width": {
- "name": "sizes_xlarge_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_height": {
- "name": "sizes_xlarge_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_mime_type": {
- "name": "sizes_xlarge_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filesize": {
- "name": "sizes_xlarge_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_xlarge_filename": {
- "name": "sizes_xlarge_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_url": {
- "name": "sizes_og_url",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_width": {
- "name": "sizes_og_width",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_height": {
- "name": "sizes_og_height",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_mime_type": {
- "name": "sizes_og_mime_type",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filesize": {
- "name": "sizes_og_filesize",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "sizes_og_filename": {
- "name": "sizes_og_filename",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "media_updated_at_idx": {
- "name": "media_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_created_at_idx": {
- "name": "media_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_filename_idx": {
- "name": "media_filename_idx",
- "columns": [
- {
- "expression": "filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": true,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {
- "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",
- "columns": [
- {
- "expression": "sizes_thumbnail_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_square_sizes_square_filename_idx": {
- "name": "media_sizes_square_sizes_square_filename_idx",
- "columns": [
- {
- "expression": "sizes_square_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_small_sizes_small_filename_idx": {
- "name": "media_sizes_small_sizes_small_filename_idx",
- "columns": [
- {
- "expression": "sizes_small_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_medium_sizes_medium_filename_idx": {
- "name": "media_sizes_medium_sizes_medium_filename_idx",
- "columns": [
- {
- "expression": "sizes_medium_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_large_sizes_large_filename_idx": {
- "name": "media_sizes_large_sizes_large_filename_idx",
- "columns": [
- {
- "expression": "sizes_large_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_xlarge_sizes_xlarge_filename_idx": {
- "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",
- "columns": [
- {
- "expression": "sizes_xlarge_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "media_sizes_og_sizes_og_filename_idx": {
- "name": "media_sizes_og_sizes_og_filename_idx",
- "columns": [
- {
- "expression": "sizes_og_filename",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts": {
- "name": "posts",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "title": {
- "name": "title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug": {
- "name": "slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "slug_lock": {
- "name": "slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "description": {
- "name": "description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "content": {
- "name": "content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "thumb_id": {
- "name": "thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "reading_time": {
- "name": "reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "toc_depth": {
- "name": "toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 3
- },
- "launchweek": {
- "name": "launchweek",
- "type": "enum_posts_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "meta_title": {
- "name": "meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "meta_image_id": {
- "name": "meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "meta_description": {
- "name": "meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "published_at": {
- "name": "published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "date": {
- "name": "date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "_status": {
- "name": "_status",
- "type": "enum_posts_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- }
- },
- "indexes": {
- "posts_title_idx": {
- "name": "posts_title_idx",
- "columns": [
- {
- "expression": "title",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_slug_idx": {
- "name": "posts_slug_idx",
- "columns": [
- {
- "expression": "slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_thumb_idx": {
- "name": "posts_thumb_idx",
- "columns": [
- {
- "expression": "thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_meta_meta_image_idx": {
- "name": "posts_meta_meta_image_idx",
- "columns": [
- {
- "expression": "meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_updated_at_idx": {
- "name": "posts_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_created_at_idx": {
- "name": "posts_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts__status_idx": {
- "name": "posts__status_idx",
- "columns": [
- {
- "expression": "_status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_thumb_id_media_id_fk": {
- "name": "posts_thumb_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "posts_meta_image_id_media_id_fk": {
- "name": "posts_meta_image_id_media_id_fk",
- "tableFrom": "posts",
- "tableTo": "media",
- "columnsFrom": [
- "meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.posts_rels": {
- "name": "posts_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "posts_rels_order_idx": {
- "name": "posts_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_parent_idx": {
- "name": "posts_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_path_idx": {
- "name": "posts_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_authors_id_idx": {
- "name": "posts_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_categories_id_idx": {
- "name": "posts_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "posts_rels_tags_id_idx": {
- "name": "posts_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "posts_rels_parent_fk": {
- "name": "posts_rels_parent_fk",
- "tableFrom": "posts_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_authors_fk": {
- "name": "posts_rels_authors_fk",
- "tableFrom": "posts_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_categories_fk": {
- "name": "posts_rels_categories_fk",
- "tableFrom": "posts_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "posts_rels_tags_fk": {
- "name": "posts_rels_tags_fk",
- "tableFrom": "posts_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v": {
- "name": "_posts_v",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_title": {
- "name": "version_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug": {
- "name": "version_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_slug_lock": {
- "name": "version_slug_lock",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": true
- },
- "version_description": {
- "name": "version_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_content": {
- "name": "version_content",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "version_thumb_id": {
- "name": "version_thumb_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_reading_time": {
- "name": "version_reading_time",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false
- },
- "version_toc_depth": {
- "name": "version_toc_depth",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 3
- },
- "version_launchweek": {
- "name": "version_launchweek",
- "type": "enum__posts_v_version_launchweek",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_title": {
- "name": "version_meta_title",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_image_id": {
- "name": "version_meta_image_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "version_meta_description": {
- "name": "version_meta_description",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "version_published_at": {
- "name": "version_published_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_date": {
- "name": "version_date",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_updated_at": {
- "name": "version_updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version_created_at": {
- "name": "version_created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "version__status": {
- "name": "version__status",
- "type": "enum__posts_v_version_status",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false,
- "default": "'draft'"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "latest": {
- "name": "latest",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_parent_idx": {
- "name": "_posts_v_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_title_idx": {
- "name": "_posts_v_version_version_title_idx",
- "columns": [
- {
- "expression": "version_title",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_slug_idx": {
- "name": "_posts_v_version_version_slug_idx",
- "columns": [
- {
- "expression": "version_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_thumb_idx": {
- "name": "_posts_v_version_version_thumb_idx",
- "columns": [
- {
- "expression": "version_thumb_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_meta_version_meta_image_idx": {
- "name": "_posts_v_version_meta_version_meta_image_idx",
- "columns": [
- {
- "expression": "version_meta_image_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_updated_at_idx": {
- "name": "_posts_v_version_version_updated_at_idx",
- "columns": [
- {
- "expression": "version_updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version_created_at_idx": {
- "name": "_posts_v_version_version_created_at_idx",
- "columns": [
- {
- "expression": "version_created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_version_version__status_idx": {
- "name": "_posts_v_version_version__status_idx",
- "columns": [
- {
- "expression": "version__status",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_created_at_idx": {
- "name": "_posts_v_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_updated_at_idx": {
- "name": "_posts_v_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_latest_idx": {
- "name": "_posts_v_latest_idx",
- "columns": [
- {
- "expression": "latest",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_parent_id_posts_id_fk": {
- "name": "_posts_v_parent_id_posts_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "posts",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_thumb_id_media_id_fk": {
- "name": "_posts_v_version_thumb_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_thumb_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- },
- "_posts_v_version_meta_image_id_media_id_fk": {
- "name": "_posts_v_version_meta_image_id_media_id_fk",
- "tableFrom": "_posts_v",
- "tableTo": "media",
- "columnsFrom": [
- "version_meta_image_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "set null",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public._posts_v_rels": {
- "name": "_posts_v_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "_posts_v_rels_order_idx": {
- "name": "_posts_v_rels_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_parent_idx": {
- "name": "_posts_v_rels_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_path_idx": {
- "name": "_posts_v_rels_path_idx",
- "columns": [
- {
- "expression": "path",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_authors_id_idx": {
- "name": "_posts_v_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_categories_id_idx": {
- "name": "_posts_v_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "_posts_v_rels_tags_id_idx": {
- "name": "_posts_v_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "_posts_v_rels_parent_fk": {
- "name": "_posts_v_rels_parent_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "_posts_v",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_authors_fk": {
- "name": "_posts_v_rels_authors_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_categories_fk": {
- "name": "_posts_v_rels_categories_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "_posts_v_rels_tags_fk": {
- "name": "_posts_v_rels_tags_fk",
- "tableFrom": "_posts_v_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.tags": {
- "name": "tags",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "name": {
- "name": "name",
- "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()"
- }
- },
- "indexes": {
- "tags_name_idx": {
- "name": "tags_name_idx",
- "columns": [
- {
- "expression": "name",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_updated_at_idx": {
- "name": "tags_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "tags_created_at_idx": {
- "name": "tags_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.users_roles": {
- "name": "users_roles",
- "schema": "",
- "columns": {
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "value": {
- "name": "value",
- "type": "enum_users_roles",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- }
- },
- "indexes": {
- "users_roles_order_idx": {
- "name": "users_roles_order_idx",
- "columns": [
- {
- "expression": "order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_roles_parent_idx": {
- "name": "users_roles_parent_idx",
- "columns": [
- {
- "expression": "parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_roles_parent_fk": {
- "name": "users_roles_parent_fk",
- "tableFrom": "users_roles",
- "tableTo": "users",
- "columnsFrom": [
- "parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users_sessions": {
- "name": "users_sessions",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "expires_at": {
- "name": "expires_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- }
- },
- "indexes": {
- "users_sessions_order_idx": {
- "name": "users_sessions_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "users_sessions_parent_id_idx": {
- "name": "users_sessions_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "users_sessions_parent_id_fk": {
- "name": "users_sessions_parent_id_fk",
- "tableFrom": "users_sessions",
- "tableTo": "users",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.users": {
- "name": "users",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "email": {
- "name": "email",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "reset_password_token": {
- "name": "reset_password_token",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "reset_password_expiration": {
- "name": "reset_password_expiration",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "salt": {
- "name": "salt",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "hash": {
- "name": "hash",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "login_attempts": {
- "name": "login_attempts",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "lock_until": {
- "name": "lock_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "users_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.payload_jobs_log": {
- "name": "payload_jobs_log",
- "schema": "",
- "columns": {
- "_order": {
- "name": "_order",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "_parent_id": {
- "name": "_parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "id": {
- "name": "id",
- "type": "varchar",
- "primaryKey": true,
- "notNull": true
- },
- "executed_at": {
- "name": "executed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_log_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "task_i_d": {
- "name": "task_i_d",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "output": {
- "name": "output",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "state": {
- "name": "state",
- "type": "enum_payload_jobs_log_state",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": true
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- }
- },
- "indexes": {
- "payload_jobs_log_order_idx": {
- "name": "payload_jobs_log_order_idx",
- "columns": [
- {
- "expression": "_order",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_log_parent_id_idx": {
- "name": "payload_jobs_log_parent_id_idx",
- "columns": [
- {
- "expression": "_parent_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {
- "payload_jobs_log_parent_id_fk": {
- "name": "payload_jobs_log_parent_id_fk",
- "tableFrom": "payload_jobs_log",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "_parent_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- }
- },
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_jobs": {
- "name": "payload_jobs",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "input": {
- "name": "input",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "completed_at": {
- "name": "completed_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "total_tried": {
- "name": "total_tried",
- "type": "numeric",
- "primaryKey": false,
- "notNull": false,
- "default": 0
- },
- "has_error": {
- "name": "has_error",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "error": {
- "name": "error",
- "type": "jsonb",
- "primaryKey": false,
- "notNull": false
- },
- "task_slug": {
- "name": "task_slug",
- "type": "enum_payload_jobs_task_slug",
- "typeSchema": "public",
- "primaryKey": false,
- "notNull": false
- },
- "queue": {
- "name": "queue",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false,
- "default": "'default'"
- },
- "wait_until": {
- "name": "wait_until",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": false
- },
- "processing": {
- "name": "processing",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_jobs_completed_at_idx": {
- "name": "payload_jobs_completed_at_idx",
- "columns": [
- {
- "expression": "completed_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_total_tried_idx": {
- "name": "payload_jobs_total_tried_idx",
- "columns": [
- {
- "expression": "total_tried",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_has_error_idx": {
- "name": "payload_jobs_has_error_idx",
- "columns": [
- {
- "expression": "has_error",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_task_slug_idx": {
- "name": "payload_jobs_task_slug_idx",
- "columns": [
- {
- "expression": "task_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_queue_idx": {
- "name": "payload_jobs_queue_idx",
- "columns": [
- {
- "expression": "queue",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_wait_until_idx": {
- "name": "payload_jobs_wait_until_idx",
- "columns": [
- {
- "expression": "wait_until",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_processing_idx": {
- "name": "payload_jobs_processing_idx",
- "columns": [
- {
- "expression": "processing",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_updated_at_idx": {
- "name": "payload_jobs_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_jobs_created_at_idx": {
- "name": "payload_jobs_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents": {
- "name": "payload_locked_documents",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "global_slug": {
- "name": "global_slug",
- "type": "varchar",
- "primaryKey": false,
- "notNull": false
- },
- "updated_at": {
- "name": "updated_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- },
- "created_at": {
- "name": "created_at",
- "type": "timestamp(3) with time zone",
- "primaryKey": false,
- "notNull": true,
- "default": "now()"
- }
- },
- "indexes": {
- "payload_locked_documents_global_slug_idx": {
- "name": "payload_locked_documents_global_slug_idx",
- "columns": [
- {
- "expression": "global_slug",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_updated_at_idx": {
- "name": "payload_locked_documents_updated_at_idx",
- "columns": [
- {
- "expression": "updated_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_created_at_idx": {
- "name": "payload_locked_documents_created_at_idx",
- "columns": [
- {
- "expression": "created_at",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {},
- "policies": {},
- "checkConstraints": {},
- "isRLSEnabled": false
- },
- "public.payload_locked_documents_rels": {
- "name": "payload_locked_documents_rels",
- "schema": "",
- "columns": {
- "id": {
- "name": "id",
- "type": "serial",
- "primaryKey": true,
- "notNull": true
- },
- "order": {
- "name": "order",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "parent_id": {
- "name": "parent_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": true
- },
- "path": {
- "name": "path",
- "type": "varchar",
- "primaryKey": false,
- "notNull": true
- },
- "authors_id": {
- "name": "authors_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "categories_id": {
- "name": "categories_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "customers_id": {
- "name": "customers_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "events_id": {
- "name": "events_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "media_id": {
- "name": "media_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "posts_id": {
- "name": "posts_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "tags_id": {
- "name": "tags_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "users_id": {
- "name": "users_id",
- "type": "integer",
- "primaryKey": false,
- "notNull": false
- },
- "payload_jobs_id": {
- "name": "payload_jobs_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_authors_id_idx": {
- "name": "payload_locked_documents_rels_authors_id_idx",
- "columns": [
- {
- "expression": "authors_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_categories_id_idx": {
- "name": "payload_locked_documents_rels_categories_id_idx",
- "columns": [
- {
- "expression": "categories_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_customers_id_idx": {
- "name": "payload_locked_documents_rels_customers_id_idx",
- "columns": [
- {
- "expression": "customers_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_events_id_idx": {
- "name": "payload_locked_documents_rels_events_id_idx",
- "columns": [
- {
- "expression": "events_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_posts_id_idx": {
- "name": "payload_locked_documents_rels_posts_id_idx",
- "columns": [
- {
- "expression": "posts_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_tags_id_idx": {
- "name": "payload_locked_documents_rels_tags_id_idx",
- "columns": [
- {
- "expression": "tags_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_users_id_idx": {
- "name": "payload_locked_documents_rels_users_id_idx",
- "columns": [
- {
- "expression": "users_id",
- "isExpression": false,
- "asc": true,
- "nulls": "last"
- }
- ],
- "isUnique": false,
- "concurrently": false,
- "method": "btree",
- "with": {}
- },
- "payload_locked_documents_rels_payload_jobs_id_idx": {
- "name": "payload_locked_documents_rels_payload_jobs_id_idx",
- "columns": [
- {
- "expression": "payload_jobs_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_authors_fk": {
- "name": "payload_locked_documents_rels_authors_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "authors",
- "columnsFrom": [
- "authors_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_categories_fk": {
- "name": "payload_locked_documents_rels_categories_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "categories",
- "columnsFrom": [
- "categories_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_customers_fk": {
- "name": "payload_locked_documents_rels_customers_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "customers",
- "columnsFrom": [
- "customers_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_events_fk": {
- "name": "payload_locked_documents_rels_events_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "events",
- "columnsFrom": [
- "events_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_posts_fk": {
- "name": "payload_locked_documents_rels_posts_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "posts",
- "columnsFrom": [
- "posts_id"
- ],
- "columnsTo": [
- "id"
- ],
- "onDelete": "cascade",
- "onUpdate": "no action"
- },
- "payload_locked_documents_rels_tags_fk": {
- "name": "payload_locked_documents_rels_tags_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "tags",
- "columnsFrom": [
- "tags_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_payload_jobs_fk": {
- "name": "payload_locked_documents_rels_payload_jobs_fk",
- "tableFrom": "payload_locked_documents_rels",
- "tableTo": "payload_jobs",
- "columnsFrom": [
- "payload_jobs_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
- }
- },
- "enums": {
- "public.enum_customers_industry": {
- "name": "enum_customers_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum_customers_supabase_products": {
- "name": "enum_customers_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum_customers_company_size": {
- "name": "enum_customers_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum_customers_region": {
- "name": "enum_customers_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum_customers_status": {
- "name": "enum_customers_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__customers_v_version_industry": {
- "name": "enum__customers_v_version_industry",
- "schema": "public",
- "values": [
- "healthcare",
- "fintech",
- "ecommerce",
- "education",
- "gaming",
- "media",
- "real-estate",
- "saas",
- "social",
- "analytics",
- "ai",
- "developer-tools"
- ]
- },
- "public.enum__customers_v_version_supabase_products": {
- "name": "enum__customers_v_version_supabase_products",
- "schema": "public",
- "values": [
- "database",
- "auth",
- "storage",
- "realtime",
- "functions",
- "vector"
- ]
- },
- "public.enum__customers_v_version_company_size": {
- "name": "enum__customers_v_version_company_size",
- "schema": "public",
- "values": [
- "startup",
- "enterprise",
- "indie_dev"
- ]
- },
- "public.enum__customers_v_version_region": {
- "name": "enum__customers_v_version_region",
- "schema": "public",
- "values": [
- "Asia",
- "Europe",
- "North America",
- "South America",
- "Africa",
- "Oceania"
- ]
- },
- "public.enum__customers_v_version_status": {
- "name": "enum__customers_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_events_type": {
- "name": "enum_events_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum_events_timezone": {
- "name": "enum_events_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum_events_link_target": {
- "name": "enum_events_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_main_cta_target": {
- "name": "enum_events_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum_events_status": {
- "name": "enum_events_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__events_v_version_type": {
- "name": "enum__events_v_version_type",
- "schema": "public",
- "values": [
- "conference",
- "hackathon",
- "launch-week",
- "meetup",
- "office-hours",
- "talk",
- "webinar",
- "workshop",
- "other"
- ]
- },
- "public.enum__events_v_version_timezone": {
- "name": "enum__events_v_version_timezone",
- "schema": "public",
- "values": [
- "Africa/Abidjan",
- "Africa/Accra",
- "Africa/Addis_Ababa",
- "Africa/Algiers",
- "Africa/Asmara",
- "Africa/Bamako",
- "Africa/Bangui",
- "Africa/Banjul",
- "Africa/Bissau",
- "Africa/Blantyre",
- "Africa/Brazzaville",
- "Africa/Bujumbura",
- "Africa/Cairo",
- "Africa/Casablanca",
- "Africa/Ceuta",
- "Africa/Conakry",
- "Africa/Dakar",
- "Africa/Dar_es_Salaam",
- "Africa/Djibouti",
- "Africa/Douala",
- "Africa/El_Aaiun",
- "Africa/Freetown",
- "Africa/Gaborone",
- "Africa/Harare",
- "Africa/Johannesburg",
- "Africa/Juba",
- "Africa/Kampala",
- "Africa/Khartoum",
- "Africa/Kigali",
- "Africa/Kinshasa",
- "Africa/Lagos",
- "Africa/Libreville",
- "Africa/Lome",
- "Africa/Luanda",
- "Africa/Lubumbashi",
- "Africa/Lusaka",
- "Africa/Malabo",
- "Africa/Maputo",
- "Africa/Maseru",
- "Africa/Mbabane",
- "Africa/Mogadishu",
- "Africa/Monrovia",
- "Africa/Nairobi",
- "Africa/Ndjamena",
- "Africa/Niamey",
- "Africa/Nouakchott",
- "Africa/Ouagadougou",
- "Africa/Porto-Novo",
- "Africa/Sao_Tome",
- "Africa/Tripoli",
- "Africa/Tunis",
- "Africa/Windhoek",
- "America/Adak",
- "America/Anchorage",
- "America/Anguilla",
- "America/Antigua",
- "America/Araguaina",
- "America/Argentina/Buenos_Aires",
- "America/Argentina/Catamarca",
- "America/Argentina/Cordoba",
- "America/Argentina/Jujuy",
- "America/Argentina/La_Rioja",
- "America/Argentina/Mendoza",
- "America/Argentina/Rio_Gallegos",
- "America/Argentina/Salta",
- "America/Argentina/San_Juan",
- "America/Argentina/San_Luis",
- "America/Argentina/Tucuman",
- "America/Argentina/Ushuaia",
- "America/Aruba",
- "America/Asuncion",
- "America/Atikokan",
- "America/Bahia",
- "America/Bahia_Banderas",
- "America/Barbados",
- "America/Belem",
- "America/Belize",
- "America/Blanc-Sablon",
- "America/Boa_Vista",
- "America/Bogota",
- "America/Boise",
- "America/Cambridge_Bay",
- "America/Campo_Grande",
- "America/Cancun",
- "America/Caracas",
- "America/Cayenne",
- "America/Cayman",
- "America/Chicago",
- "America/Chihuahua",
- "America/Costa_Rica",
- "America/Creston",
- "America/Cuiaba",
- "America/Curacao",
- "America/Danmarkshavn",
- "America/Dawson",
- "America/Dawson_Creek",
- "America/Denver",
- "America/Detroit",
- "America/Dominica",
- "America/Edmonton",
- "America/Eirunepe",
- "America/El_Salvador",
- "America/Fort_Nelson",
- "America/Fortaleza",
- "America/Glace_Bay",
- "America/Godthab",
- "America/Goose_Bay",
- "America/Grand_Turk",
- "America/Grenada",
- "America/Guadeloupe",
- "America/Guatemala",
- "America/Guayaquil",
- "America/Guyana",
- "America/Halifax",
- "America/Havana",
- "America/Hermosillo",
- "America/Indiana/Indianapolis",
- "America/Indiana/Knox",
- "America/Indiana/Marengo",
- "America/Indiana/Petersburg",
- "America/Indiana/Tell_City",
- "America/Indiana/Vevay",
- "America/Indiana/Vincennes",
- "America/Indiana/Winamac",
- "America/Inuvik",
- "America/Iqaluit",
- "America/Jamaica",
- "America/Juneau",
- "America/Kentucky/Louisville",
- "America/Kentucky/Monticello",
- "America/Kralendijk",
- "America/La_Paz",
- "America/Lima",
- "America/Los_Angeles",
- "America/Lower_Princes",
- "America/Maceio",
- "America/Managua",
- "America/Manaus",
- "America/Marigot",
- "America/Martinique",
- "America/Matamoros",
- "America/Mazatlan",
- "America/Menominee",
- "America/Merida",
- "America/Metlakatla",
- "America/Mexico_City",
- "America/Miquelon",
- "America/Moncton",
- "America/Monterrey",
- "America/Montevideo",
- "America/Montserrat",
- "America/Nassau",
- "America/New_York",
- "America/Nipigon",
- "America/Nome",
- "America/Noronha",
- "America/North_Dakota/Beulah",
- "America/North_Dakota/Center",
- "America/North_Dakota/New_Salem",
- "America/Ojinaga",
- "America/Panama",
- "America/Pangnirtung",
- "America/Paramaribo",
- "America/Phoenix",
- "America/Port-au-Prince",
- "America/Port_of_Spain",
- "America/Porto_Velho",
- "America/Puerto_Rico",
- "America/Punta_Arenas",
- "America/Rainy_River",
- "America/Rankin_Inlet",
- "America/Recife",
- "America/Regina",
- "America/Resolute",
- "America/Rio_Branco",
- "America/Santarem",
- "America/Santiago",
- "America/Santo_Domingo",
- "America/Sao_Paulo",
- "America/Scoresbysund",
- "America/Sitka",
- "America/St_Barthelemy",
- "America/St_Johns",
- "America/St_Kitts",
- "America/St_Lucia",
- "America/St_Thomas",
- "America/St_Vincent",
- "America/Swift_Current",
- "America/Tegucigalpa",
- "America/Thule",
- "America/Thunder_Bay",
- "America/Tijuana",
- "America/Toronto",
- "America/Tortola",
- "America/Vancouver",
- "America/Whitehorse",
- "America/Winnipeg",
- "America/Yakutat",
- "America/Yellowknife",
- "Antarctica/Casey",
- "Antarctica/Davis",
- "Antarctica/DumontDUrville",
- "Antarctica/Macquarie",
- "Antarctica/Mawson",
- "Antarctica/McMurdo",
- "Antarctica/Palmer",
- "Antarctica/Rothera",
- "Antarctica/Syowa",
- "Antarctica/Troll",
- "Antarctica/Vostok",
- "Arctic/Longyearbyen",
- "Asia/Aden",
- "Asia/Almaty",
- "Asia/Amman",
- "Asia/Anadyr",
- "Asia/Aqtau",
- "Asia/Aqtobe",
- "Asia/Ashgabat",
- "Asia/Atyrau",
- "Asia/Baghdad",
- "Asia/Bahrain",
- "Asia/Baku",
- "Asia/Bangkok",
- "Asia/Barnaul",
- "Asia/Beirut",
- "Asia/Bishkek",
- "Asia/Brunei",
- "Asia/Chita",
- "Asia/Choibalsan",
- "Asia/Colombo",
- "Asia/Damascus",
- "Asia/Dhaka",
- "Asia/Dili",
- "Asia/Dubai",
- "Asia/Dushanbe",
- "Asia/Famagusta",
- "Asia/Gaza",
- "Asia/Hebron",
- "Asia/Ho_Chi_Minh",
- "Asia/Hong_Kong",
- "Asia/Hovd",
- "Asia/Irkutsk",
- "Asia/Istanbul",
- "Asia/Jakarta",
- "Asia/Jayapura",
- "Asia/Jerusalem",
- "Asia/Kabul",
- "Asia/Kamchatka",
- "Asia/Karachi",
- "Asia/Kathmandu",
- "Asia/Khandyga",
- "Asia/Kolkata",
- "Asia/Krasnoyarsk",
- "Asia/Kuala_Lumpur",
- "Asia/Kuching",
- "Asia/Kuwait",
- "Asia/Macau",
- "Asia/Magadan",
- "Asia/Makassar",
- "Asia/Manila",
- "Asia/Muscat",
- "Asia/Nicosia",
- "Asia/Novokuznetsk",
- "Asia/Novosibirsk",
- "Asia/Omsk",
- "Asia/Oral",
- "Asia/Phnom_Penh",
- "Asia/Pontianak",
- "Asia/Pyongyang",
- "Asia/Qatar",
- "Asia/Qostanay",
- "Asia/Qyzylorda",
- "Asia/Riyadh",
- "Asia/Sakhalin",
- "Asia/Samarkand",
- "Asia/Seoul",
- "Asia/Shanghai",
- "Asia/Singapore",
- "Asia/Srednekolymsk",
- "Asia/Taipei",
- "Asia/Tashkent",
- "Asia/Tbilisi",
- "Asia/Tehran",
- "Asia/Thimphu",
- "Asia/Tokyo",
- "Asia/Tomsk",
- "Asia/Ulaanbaatar",
- "Asia/Urumqi",
- "Asia/Ust-Nera",
- "Asia/Vientiane",
- "Asia/Vladivostok",
- "Asia/Yakutsk",
- "Asia/Yangon",
- "Asia/Yekaterinburg",
- "Asia/Yerevan",
- "Atlantic/Azores",
- "Atlantic/Bermuda",
- "Atlantic/Canary",
- "Atlantic/Cape_Verde",
- "Atlantic/Faroe",
- "Atlantic/Madeira",
- "Atlantic/Reykjavik",
- "Atlantic/South_Georgia",
- "Atlantic/St_Helena",
- "Atlantic/Stanley",
- "Australia/Adelaide",
- "Australia/Brisbane",
- "Australia/Broken_Hill",
- "Australia/Currie",
- "Australia/Darwin",
- "Australia/Eucla",
- "Australia/Hobart",
- "Australia/Lindeman",
- "Australia/Lord_Howe",
- "Australia/Melbourne",
- "Australia/Perth",
- "Australia/Sydney",
- "Europe/Amsterdam",
- "Europe/Andorra",
- "Europe/Astrakhan",
- "Europe/Athens",
- "Europe/Belgrade",
- "Europe/Berlin",
- "Europe/Bratislava",
- "Europe/Brussels",
- "Europe/Bucharest",
- "Europe/Budapest",
- "Europe/Busingen",
- "Europe/Chisinau",
- "Europe/Copenhagen",
- "Europe/Dublin",
- "Europe/Gibraltar",
- "Europe/Guernsey",
- "Europe/Helsinki",
- "Europe/Isle_of_Man",
- "Europe/Istanbul",
- "Europe/Jersey",
- "Europe/Kaliningrad",
- "Europe/Kiev",
- "Europe/Kirov",
- "Europe/Lisbon",
- "Europe/Ljubljana",
- "Europe/London",
- "Europe/Luxembourg",
- "Europe/Madrid",
- "Europe/Malta",
- "Europe/Mariehamn",
- "Europe/Minsk",
- "Europe/Monaco",
- "Europe/Moscow",
- "Europe/Oslo",
- "Europe/Paris",
- "Europe/Podgorica",
- "Europe/Prague",
- "Europe/Riga",
- "Europe/Rome",
- "Europe/Samara",
- "Europe/San_Marino",
- "Europe/Sarajevo",
- "Europe/Saratov",
- "Europe/Simferopol",
- "Europe/Skopje",
- "Europe/Sofia",
- "Europe/Stockholm",
- "Europe/Tallinn",
- "Europe/Tirane",
- "Europe/Ulyanovsk",
- "Europe/Uzhgorod",
- "Europe/Vaduz",
- "Europe/Vatican",
- "Europe/Vienna",
- "Europe/Vilnius",
- "Europe/Volgograd",
- "Europe/Warsaw",
- "Europe/Zagreb",
- "Europe/Zaporozhye",
- "Europe/Zurich",
- "Indian/Antananarivo",
- "Indian/Chagos",
- "Indian/Christmas",
- "Indian/Cocos",
- "Indian/Comoro",
- "Indian/Kerguelen",
- "Indian/Mahe",
- "Indian/Maldives",
- "Indian/Mauritius",
- "Indian/Mayotte",
- "Indian/Reunion",
- "Pacific/Apia",
- "Pacific/Auckland",
- "Pacific/Bougainville",
- "Pacific/Chatham",
- "Pacific/Chuuk",
- "Pacific/Easter",
- "Pacific/Efate",
- "Pacific/Enderbury",
- "Pacific/Fakaofo",
- "Pacific/Fiji",
- "Pacific/Funafuti",
- "Pacific/Galapagos",
- "Pacific/Gambier",
- "Pacific/Guadalcanal",
- "Pacific/Guam",
- "Pacific/Honolulu",
- "Pacific/Kiritimati",
- "Pacific/Kosrae",
- "Pacific/Kwajalein",
- "Pacific/Majuro",
- "Pacific/Marquesas",
- "Pacific/Midway",
- "Pacific/Nauru",
- "Pacific/Niue",
- "Pacific/Norfolk",
- "Pacific/Noumea",
- "Pacific/Pago_Pago",
- "Pacific/Palau",
- "Pacific/Pitcairn",
- "Pacific/Pohnpei",
- "Pacific/Port_Moresby",
- "Pacific/Rarotonga",
- "Pacific/Saipan",
- "Pacific/Tahiti",
- "Pacific/Tarawa",
- "Pacific/Tongatapu",
- "Pacific/Wake",
- "Pacific/Wallis",
- "UTC"
- ]
- },
- "public.enum__events_v_version_link_target": {
- "name": "enum__events_v_version_link_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_main_cta_target": {
- "name": "enum__events_v_version_main_cta_target",
- "schema": "public",
- "values": [
- "_self",
- "_blank"
- ]
- },
- "public.enum__events_v_version_status": {
- "name": "enum__events_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_posts_launchweek": {
- "name": "enum_posts_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum_posts_status": {
- "name": "enum_posts_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum__posts_v_version_launchweek": {
- "name": "enum__posts_v_version_launchweek",
- "schema": "public",
- "values": [
- "6",
- "7",
- "8",
- "x",
- "ga",
- "12",
- "13",
- "14",
- "15"
- ]
- },
- "public.enum__posts_v_version_status": {
- "name": "enum__posts_v_version_status",
- "schema": "public",
- "values": [
- "draft",
- "published"
- ]
- },
- "public.enum_users_roles": {
- "name": "enum_users_roles",
- "schema": "public",
- "values": [
- "admin",
- "editor"
- ]
- },
- "public.enum_payload_jobs_log_task_slug": {
- "name": "enum_payload_jobs_log_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- },
- "public.enum_payload_jobs_log_state": {
- "name": "enum_payload_jobs_log_state",
- "schema": "public",
- "values": [
- "failed",
- "succeeded"
- ]
- },
- "public.enum_payload_jobs_task_slug": {
- "name": "enum_payload_jobs_task_slug",
- "schema": "public",
- "values": [
- "inline",
- "schedulePublish"
- ]
- }
- },
- "schemas": {},
- "sequences": {},
- "roles": {},
- "policies": {},
- "views": {},
- "_meta": {
- "schemas": {},
- "tables": {},
- "columns": {}
- }
-}
\ No newline at end of file
diff --git a/apps/cms/src/migrations/20250902_112449.ts b/apps/cms/src/migrations/20250902_112449.ts
deleted file mode 100644
index fe968e1c633..00000000000
--- a/apps/cms/src/migrations/20250902_112449.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'
-
-export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
- await db.execute(sql`
- ALTER TABLE "posts" DROP CONSTRAINT "posts_image_id_media_id_fk";
-
- ALTER TABLE "_posts_v" DROP CONSTRAINT "_posts_v_version_image_id_media_id_fk";
-
- DROP INDEX "posts_image_idx";
- DROP INDEX "_posts_v_version_version_image_idx";
- ALTER TABLE "posts" DROP COLUMN "image_id";
- ALTER TABLE "_posts_v" DROP COLUMN "version_image_id";`)
-}
-
-export async function down({ db, payload, req }: MigrateDownArgs): Promise<void> {
- await db.execute(sql`
- ALTER TABLE "posts" ADD COLUMN "image_id" integer;
- ALTER TABLE "_posts_v" ADD COLUMN "version_image_id" integer;
- ALTER TABLE "posts" ADD CONSTRAINT "posts_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- ALTER TABLE "_posts_v" ADD CONSTRAINT "_posts_v_version_image_id_media_id_fk" FOREIGN KEY ("version_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;
- CREATE INDEX "posts_image_idx" ON "posts" USING btree ("image_id");
- CREATE INDEX "_posts_v_version_version_image_idx" ON "_posts_v" USING btree ("version_image_id");`)
-}
diff --git a/apps/cms/src/migrations/index.ts b/apps/cms/src/migrations/index.ts
deleted file mode 100644
index a00569c368d..00000000000
--- a/apps/cms/src/migrations/index.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import * as migration_20250619_155345 from './20250619_155345';
-import * as migration_20250619_160549 from './20250619_160549';
-import * as migration_20250808_145722_update_payload_migrations from './20250808_145722_update_payload_migrations';
-import * as migration_20250819_222013_update_authors from './20250819_222013_update_authors';
-import * as migration_20250821_151248 from './20250821_151248';
-import * as migration_20250821_165446 from './20250821_165446';
-import * as migration_20250902_112449 from './20250902_112449';
-
-export const migrations = [
- {
- up: migration_20250619_155345.up,
- down: migration_20250619_155345.down,
- name: '20250619_155345',
- },
- {
- up: migration_20250619_160549.up,
- down: migration_20250619_160549.down,
- name: '20250619_160549',
- },
- {
- up: migration_20250808_145722_update_payload_migrations.up,
- down: migration_20250808_145722_update_payload_migrations.down,
- name: '20250808_145722_update_payload_migrations',
- },
- {
- up: migration_20250819_222013_update_authors.up,
- down: migration_20250819_222013_update_authors.down,
- name: '20250819_222013_update_authors',
- },
- {
- up: migration_20250821_151248.up,
- down: migration_20250821_151248.down,
- name: '20250821_151248',
- },
- {
- up: migration_20250821_165446.up,
- down: migration_20250821_165446.down,
- name: '20250821_165446',
- },
- {
- up: migration_20250902_112449.up,
- down: migration_20250902_112449.down,
- name: '20250902_112449'
- },
-];
diff --git a/apps/cms/src/payload-types.ts b/apps/cms/src/payload-types.ts
deleted file mode 100644
index 493b3162b08..00000000000
--- a/apps/cms/src/payload-types.ts
+++ /dev/null
@@ -1,1675 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * This file was automatically generated by Payload.
- * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
- * and re-run `payload generate:types` to regenerate this file.
- */
-
-/**
- * Supported timezones in IANA format.
- *
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "supportedTimezones".
- */
-export type SupportedTimezones =
- | 'Pacific/Midway'
- | 'Pacific/Niue'
- | 'Pacific/Honolulu'
- | 'Pacific/Rarotonga'
- | 'America/Anchorage'
- | 'Pacific/Gambier'
- | 'America/Los_Angeles'
- | 'America/Tijuana'
- | 'America/Denver'
- | 'America/Phoenix'
- | 'America/Chicago'
- | 'America/Guatemala'
- | 'America/New_York'
- | 'America/Bogota'
- | 'America/Caracas'
- | 'America/Santiago'
- | 'America/Buenos_Aires'
- | 'America/Sao_Paulo'
- | 'Atlantic/South_Georgia'
- | 'Atlantic/Azores'
- | 'Atlantic/Cape_Verde'
- | 'Europe/London'
- | 'Europe/Berlin'
- | 'Africa/Lagos'
- | 'Europe/Athens'
- | 'Africa/Cairo'
- | 'Europe/Moscow'
- | 'Asia/Riyadh'
- | 'Asia/Dubai'
- | 'Asia/Baku'
- | 'Asia/Karachi'
- | 'Asia/Tashkent'
- | 'Asia/Calcutta'
- | 'Asia/Dhaka'
- | 'Asia/Almaty'
- | 'Asia/Jakarta'
- | 'Asia/Bangkok'
- | 'Asia/Shanghai'
- | 'Asia/Singapore'
- | 'Asia/Tokyo'
- | 'Asia/Seoul'
- | 'Australia/Brisbane'
- | 'Australia/Sydney'
- | 'Pacific/Guam'
- | 'Pacific/Noumea'
- | 'Pacific/Auckland'
- | 'Pacific/Fiji';
-
-export interface Config {
- auth: {
- users: UserAuthOperations;
- };
- blocks: {};
- collections: {
- authors: Author;
- categories: Category;
- customers: Customer;
- events: Event;
- media: Media;
- posts: Post;
- tags: Tag;
- users: User;
- 'payload-jobs': PayloadJob;
- 'payload-locked-documents': PayloadLockedDocument;
- 'payload-preferences': PayloadPreference;
- 'payload-migrations': PayloadMigration;
- };
- collectionsJoins: {};
- collectionsSelect: {
- authors: AuthorsSelect<false> | AuthorsSelect<true>;
- categories: CategoriesSelect<false> | CategoriesSelect<true>;
- customers: CustomersSelect<false> | CustomersSelect<true>;
- events: EventsSelect<false> | EventsSelect<true>;
- media: MediaSelect<false> | MediaSelect<true>;
- posts: PostsSelect<false> | PostsSelect<true>;
- tags: TagsSelect<false> | TagsSelect<true>;
- users: UsersSelect<false> | UsersSelect<true>;
- 'payload-jobs': PayloadJobsSelect<false> | PayloadJobsSelect<true>;
- 'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
- 'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
- 'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
- };
- db: {
- defaultIDType: number;
- };
- globals: {};
- globalsSelect: {};
- locale: null;
- user: User & {
- collection: 'users';
- };
- jobs: {
- tasks: {
- schedulePublish: TaskSchedulePublish;
- inline: {
- input: unknown;
- output: unknown;
- };
- };
- workflows: unknown;
- };
-}
-export interface UserAuthOperations {
- forgotPassword: {
- email: string;
- password: string;
- };
- login: {
- email: string;
- password: string;
- };
- registerFirstUser: {
- email: string;
- password: string;
- };
- unlock: {
- email: string;
- password: string;
- };
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "authors".
- */
-export interface Author {
- id: number;
- author: string;
- /**
- * Unique identifier for the author
- */
- author_id: string;
- /**
- * GitHub/social username
- */
- username?: string | null;
- position?: string | null;
- /**
- * Company name (for external/guest authors)
- */
- company?: string | null;
- /**
- * Link to GitHub, Twitter, LinkedIn, etc.
- */
- author_url?: string | null;
- author_image_url?: (number | null) | Media;
- updatedAt: string;
- createdAt: string;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "media".
- */
-export interface Media {
- id: number;
- alt?: string | null;
- caption?: {
- root: {
- type: string;
- children: {
- type: string;
- version: number;
- [k: string]: unknown;
- }[];
- direction: ('ltr' | 'rtl') | null;
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
- indent: number;
- version: number;
- };
- [k: string]: unknown;
- } | null;
- prefix?: string | null;
- updatedAt: string;
- createdAt: string;
- url?: string | null;
- thumbnailURL?: string | null;
- filename?: string | null;
- mimeType?: string | null;
- filesize?: number | null;
- width?: number | null;
- height?: number | null;
- focalX?: number | null;
- focalY?: number | null;
- sizes?: {
- thumbnail?: {
- url?: string | null;
- width?: number | null;
- height?: number | null;
- mimeType?: string | null;
- filesize?: number | null;
- filename?: string | null;
- };
- square?: {
- url?: string | null;
- width?: number | null;
- height?: number | null;
- mimeType?: string | null;
- filesize?: number | null;
- filename?: string | null;
- };
- small?: {
- url?: string | null;
- width?: number | null;
- height?: number | null;
- mimeType?: string | null;
- filesize?: number | null;
- filename?: string | null;
- };
- medium?: {
- url?: string | null;
- width?: number | null;
- height?: number | null;
- mimeType?: string | null;
- filesize?: number | null;
- filename?: string | null;
- };
- large?: {
- url?: string | null;
- width?: number | null;
- height?: number | null;
- mimeType?: string | null;
- filesize?: number | null;
- filename?: string | null;
- };
- xlarge?: {
- url?: string | null;
- width?: number | null;
- height?: number | null;
- mimeType?: string | null;
- filesize?: number | null;
- filename?: string | null;
- };
- og?: {
- url?: string | null;
- width?: number | null;
- height?: number | null;
- mimeType?: string | null;
- filesize?: number | null;
- filename?: string | null;
- };
- };
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "categories".
- */
-export interface Category {
- id: number;
- name: string;
- parent?: (number | null) | Category;
- breadcrumbs?:
- | {
- doc?: (number | null) | Category;
- url?: string | null;
- label?: string | null;
- id?: string | null;
- }[]
- | null;
- updatedAt: string;
- createdAt: string;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "customers".
- */
-export interface Customer {
- id: number;
- name: string;
- title?: string | null;
- slug?: string | null;
- slugLock?: boolean | null;
- content: {
- root: {
- type: string;
- children: {
- type: string;
- version: number;
- [k: string]: unknown;
- }[];
- direction: ('ltr' | 'rtl') | null;
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
- indent: number;
- version: number;
- };
- [k: string]: unknown;
- };
- description?: string | null;
- /**
- * Short description about the company
- */
- about?: string | null;
- /**
- * URL of the company website
- */
- company_url?: string | null;
- /**
- * Key statistics or metrics to highlight
- */
- stats?:
- | {
- stat: string;
- label: string;
- id?: string | null;
- }[]
- | null;
- /**
- * Miscellaneous information (e.g., Founded, Location)
- */
- misc?:
- | {
- label: string;
- text: string;
- id?: string | null;
- }[]
- | null;
- /**
- * Industry categories
- */
- industry?:
- | (
- | 'healthcare'
- | 'fintech'
- | 'ecommerce'
- | 'education'
- | 'gaming'
- | 'media'
- | 'real-estate'
- | 'saas'
- | 'social'
- | 'analytics'
- | 'ai'
- | 'developer-tools'
- )[]
- | null;
- /**
- * Size of the company
- */
- company_size?: ('startup' | 'enterprise' | 'indie_dev') | null;
- /**
- * Geographic region
- */
- region?: ('Asia' | 'Europe' | 'North America' | 'South America' | 'Africa' | 'Oceania') | null;
- /**
- * Supabase products being used
- */
- supabase_products?: ('database' | 'auth' | 'storage' | 'realtime' | 'functions' | 'vector')[] | null;
- meta?: {
- title?: string | null;
- /**
- * Maximum upload file size: 12MB. Recommended file size for images is <500KB.
- */
- image?: (number | null) | Media;
- description?: string | null;
- };
- publishedAt?: string | null;
- logo?: (number | null) | Media;
- /**
- * Light mode logo
- */
- logo_inverse?: (number | null) | Media;
- updatedAt: string;
- createdAt: string;
- _status?: ('draft' | 'published') | null;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "events".
- */
-export interface Event {
- id: number;
- title: string;
- slug?: string | null;
- slugLock?: boolean | null;
- /**
- * Used in the event page as subtitle.
- */
- subtitle?: string | null;
- content?: {
- root: {
- type: string;
- children: {
- type: string;
- version: number;
- [k: string]: unknown;
- }[];
- direction: ('ltr' | 'rtl') | null;
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
- indent: number;
- version: number;
- };
- [k: string]: unknown;
- } | null;
- thumb?: (number | null) | Media;
- image?: (number | null) | Media;
- /**
- * Event type
- */
- type?:
- | (
- | 'conference'
- | 'hackathon'
- | 'launch-week'
- | 'meetup'
- | 'office-hours'
- | 'talk'
- | 'webinar'
- | 'workshop'
- | 'other'
- )[]
- | null;
- date?: string | null;
- timezone?:
- | (
- | 'Africa/Abidjan'
- | 'Africa/Accra'
- | 'Africa/Addis_Ababa'
- | 'Africa/Algiers'
- | 'Africa/Asmara'
- | 'Africa/Bamako'
- | 'Africa/Bangui'
- | 'Africa/Banjul'
- | 'Africa/Bissau'
- | 'Africa/Blantyre'
- | 'Africa/Brazzaville'
- | 'Africa/Bujumbura'
- | 'Africa/Cairo'
- | 'Africa/Casablanca'
- | 'Africa/Ceuta'
- | 'Africa/Conakry'
- | 'Africa/Dakar'
- | 'Africa/Dar_es_Salaam'
- | 'Africa/Djibouti'
- | 'Africa/Douala'
- | 'Africa/El_Aaiun'
- | 'Africa/Freetown'
- | 'Africa/Gaborone'
- | 'Africa/Harare'
- | 'Africa/Johannesburg'
- | 'Africa/Juba'
- | 'Africa/Kampala'
- | 'Africa/Khartoum'
- | 'Africa/Kigali'
- | 'Africa/Kinshasa'
- | 'Africa/Lagos'
- | 'Africa/Libreville'
- | 'Africa/Lome'
- | 'Africa/Luanda'
- | 'Africa/Lubumbashi'
- | 'Africa/Lusaka'
- | 'Africa/Malabo'
- | 'Africa/Maputo'
- | 'Africa/Maseru'
- | 'Africa/Mbabane'
- | 'Africa/Mogadishu'
- | 'Africa/Monrovia'
- | 'Africa/Nairobi'
- | 'Africa/Ndjamena'
- | 'Africa/Niamey'
- | 'Africa/Nouakchott'
- | 'Africa/Ouagadougou'
- | 'Africa/Porto-Novo'
- | 'Africa/Sao_Tome'
- | 'Africa/Tripoli'
- | 'Africa/Tunis'
- | 'Africa/Windhoek'
- | 'America/Adak'
- | 'America/Anchorage'
- | 'America/Anguilla'
- | 'America/Antigua'
- | 'America/Araguaina'
- | 'America/Argentina/Buenos_Aires'
- | 'America/Argentina/Catamarca'
- | 'America/Argentina/Cordoba'
- | 'America/Argentina/Jujuy'
- | 'America/Argentina/La_Rioja'
- | 'America/Argentina/Mendoza'
- | 'America/Argentina/Rio_Gallegos'
- | 'America/Argentina/Salta'
- | 'America/Argentina/San_Juan'
- | 'America/Argentina/San_Luis'
- | 'America/Argentina/Tucuman'
- | 'America/Argentina/Ushuaia'
- | 'America/Aruba'
- | 'America/Asuncion'
- | 'America/Atikokan'
- | 'America/Bahia'
- | 'America/Bahia_Banderas'
- | 'America/Barbados'
- | 'America/Belem'
- | 'America/Belize'
- | 'America/Blanc-Sablon'
- | 'America/Boa_Vista'
- | 'America/Bogota'
- | 'America/Boise'
- | 'America/Cambridge_Bay'
- | 'America/Campo_Grande'
- | 'America/Cancun'
- | 'America/Caracas'
- | 'America/Cayenne'
- | 'America/Cayman'
- | 'America/Chicago'
- | 'America/Chihuahua'
- | 'America/Costa_Rica'
- | 'America/Creston'
- | 'America/Cuiaba'
- | 'America/Curacao'
- | 'America/Danmarkshavn'
- | 'America/Dawson'
- | 'America/Dawson_Creek'
- | 'America/Denver'
- | 'America/Detroit'
- | 'America/Dominica'
- | 'America/Edmonton'
- | 'America/Eirunepe'
- | 'America/El_Salvador'
- | 'America/Fort_Nelson'
- | 'America/Fortaleza'
- | 'America/Glace_Bay'
- | 'America/Godthab'
- | 'America/Goose_Bay'
- | 'America/Grand_Turk'
- | 'America/Grenada'
- | 'America/Guadeloupe'
- | 'America/Guatemala'
- | 'America/Guayaquil'
- | 'America/Guyana'
- | 'America/Halifax'
- | 'America/Havana'
- | 'America/Hermosillo'
- | 'America/Indiana/Indianapolis'
- | 'America/Indiana/Knox'
- | 'America/Indiana/Marengo'
- | 'America/Indiana/Petersburg'
- | 'America/Indiana/Tell_City'
- | 'America/Indiana/Vevay'
- | 'America/Indiana/Vincennes'
- | 'America/Indiana/Winamac'
- | 'America/Inuvik'
- | 'America/Iqaluit'
- | 'America/Jamaica'
- | 'America/Juneau'
- | 'America/Kentucky/Louisville'
- | 'America/Kentucky/Monticello'
- | 'America/Kralendijk'
- | 'America/La_Paz'
- | 'America/Lima'
- | 'America/Los_Angeles'
- | 'America/Lower_Princes'
- | 'America/Maceio'
- | 'America/Managua'
- | 'America/Manaus'
- | 'America/Marigot'
- | 'America/Martinique'
- | 'America/Matamoros'
- | 'America/Mazatlan'
- | 'America/Menominee'
- | 'America/Merida'
- | 'America/Metlakatla'
- | 'America/Mexico_City'
- | 'America/Miquelon'
- | 'America/Moncton'
- | 'America/Monterrey'
- | 'America/Montevideo'
- | 'America/Montserrat'
- | 'America/Nassau'
- | 'America/New_York'
- | 'America/Nipigon'
- | 'America/Nome'
- | 'America/Noronha'
- | 'America/North_Dakota/Beulah'
- | 'America/North_Dakota/Center'
- | 'America/North_Dakota/New_Salem'
- | 'America/Ojinaga'
- | 'America/Panama'
- | 'America/Pangnirtung'
- | 'America/Paramaribo'
- | 'America/Phoenix'
- | 'America/Port-au-Prince'
- | 'America/Port_of_Spain'
- | 'America/Porto_Velho'
- | 'America/Puerto_Rico'
- | 'America/Punta_Arenas'
- | 'America/Rainy_River'
- | 'America/Rankin_Inlet'
- | 'America/Recife'
- | 'America/Regina'
- | 'America/Resolute'
- | 'America/Rio_Branco'
- | 'America/Santarem'
- | 'America/Santiago'
- | 'America/Santo_Domingo'
- | 'America/Sao_Paulo'
- | 'America/Scoresbysund'
- | 'America/Sitka'
- | 'America/St_Barthelemy'
- | 'America/St_Johns'
- | 'America/St_Kitts'
- | 'America/St_Lucia'
- | 'America/St_Thomas'
- | 'America/St_Vincent'
- | 'America/Swift_Current'
- | 'America/Tegucigalpa'
- | 'America/Thule'
- | 'America/Thunder_Bay'
- | 'America/Tijuana'
- | 'America/Toronto'
- | 'America/Tortola'
- | 'America/Vancouver'
- | 'America/Whitehorse'
- | 'America/Winnipeg'
- | 'America/Yakutat'
- | 'America/Yellowknife'
- | 'Antarctica/Casey'
- | 'Antarctica/Davis'
- | 'Antarctica/DumontDUrville'
- | 'Antarctica/Macquarie'
- | 'Antarctica/Mawson'
- | 'Antarctica/McMurdo'
- | 'Antarctica/Palmer'
- | 'Antarctica/Rothera'
- | 'Antarctica/Syowa'
- | 'Antarctica/Troll'
- | 'Antarctica/Vostok'
- | 'Arctic/Longyearbyen'
- | 'Asia/Aden'
- | 'Asia/Almaty'
- | 'Asia/Amman'
- | 'Asia/Anadyr'
- | 'Asia/Aqtau'
- | 'Asia/Aqtobe'
- | 'Asia/Ashgabat'
- | 'Asia/Atyrau'
- | 'Asia/Baghdad'
- | 'Asia/Bahrain'
- | 'Asia/Baku'
- | 'Asia/Bangkok'
- | 'Asia/Barnaul'
- | 'Asia/Beirut'
- | 'Asia/Bishkek'
- | 'Asia/Brunei'
- | 'Asia/Chita'
- | 'Asia/Choibalsan'
- | 'Asia/Colombo'
- | 'Asia/Damascus'
- | 'Asia/Dhaka'
- | 'Asia/Dili'
- | 'Asia/Dubai'
- | 'Asia/Dushanbe'
- | 'Asia/Famagusta'
- | 'Asia/Gaza'
- | 'Asia/Hebron'
- | 'Asia/Ho_Chi_Minh'
- | 'Asia/Hong_Kong'
- | 'Asia/Hovd'
- | 'Asia/Irkutsk'
- | 'Asia/Istanbul'
- | 'Asia/Jakarta'
- | 'Asia/Jayapura'
- | 'Asia/Jerusalem'
- | 'Asia/Kabul'
- | 'Asia/Kamchatka'
- | 'Asia/Karachi'
- | 'Asia/Kathmandu'
- | 'Asia/Khandyga'
- | 'Asia/Kolkata'
- | 'Asia/Krasnoyarsk'
- | 'Asia/Kuala_Lumpur'
- | 'Asia/Kuching'
- | 'Asia/Kuwait'
- | 'Asia/Macau'
- | 'Asia/Magadan'
- | 'Asia/Makassar'
- | 'Asia/Manila'
- | 'Asia/Muscat'
- | 'Asia/Nicosia'
- | 'Asia/Novokuznetsk'
- | 'Asia/Novosibirsk'
- | 'Asia/Omsk'
- | 'Asia/Oral'
- | 'Asia/Phnom_Penh'
- | 'Asia/Pontianak'
- | 'Asia/Pyongyang'
- | 'Asia/Qatar'
- | 'Asia/Qostanay'
- | 'Asia/Qyzylorda'
- | 'Asia/Riyadh'
- | 'Asia/Sakhalin'
- | 'Asia/Samarkand'
- | 'Asia/Seoul'
- | 'Asia/Shanghai'
- | 'Asia/Singapore'
- | 'Asia/Srednekolymsk'
- | 'Asia/Taipei'
- | 'Asia/Tashkent'
- | 'Asia/Tbilisi'
- | 'Asia/Tehran'
- | 'Asia/Thimphu'
- | 'Asia/Tokyo'
- | 'Asia/Tomsk'
- | 'Asia/Ulaanbaatar'
- | 'Asia/Urumqi'
- | 'Asia/Ust-Nera'
- | 'Asia/Vientiane'
- | 'Asia/Vladivostok'
- | 'Asia/Yakutsk'
- | 'Asia/Yangon'
- | 'Asia/Yekaterinburg'
- | 'Asia/Yerevan'
- | 'Atlantic/Azores'
- | 'Atlantic/Bermuda'
- | 'Atlantic/Canary'
- | 'Atlantic/Cape_Verde'
- | 'Atlantic/Faroe'
- | 'Atlantic/Madeira'
- | 'Atlantic/Reykjavik'
- | 'Atlantic/South_Georgia'
- | 'Atlantic/St_Helena'
- | 'Atlantic/Stanley'
- | 'Australia/Adelaide'
- | 'Australia/Brisbane'
- | 'Australia/Broken_Hill'
- | 'Australia/Currie'
- | 'Australia/Darwin'
- | 'Australia/Eucla'
- | 'Australia/Hobart'
- | 'Australia/Lindeman'
- | 'Australia/Lord_Howe'
- | 'Australia/Melbourne'
- | 'Australia/Perth'
- | 'Australia/Sydney'
- | 'Europe/Amsterdam'
- | 'Europe/Andorra'
- | 'Europe/Astrakhan'
- | 'Europe/Athens'
- | 'Europe/Belgrade'
- | 'Europe/Berlin'
- | 'Europe/Bratislava'
- | 'Europe/Brussels'
- | 'Europe/Bucharest'
- | 'Europe/Budapest'
- | 'Europe/Busingen'
- | 'Europe/Chisinau'
- | 'Europe/Copenhagen'
- | 'Europe/Dublin'
- | 'Europe/Gibraltar'
- | 'Europe/Guernsey'
- | 'Europe/Helsinki'
- | 'Europe/Isle_of_Man'
- | 'Europe/Istanbul'
- | 'Europe/Jersey'
- | 'Europe/Kaliningrad'
- | 'Europe/Kiev'
- | 'Europe/Kirov'
- | 'Europe/Lisbon'
- | 'Europe/Ljubljana'
- | 'Europe/London'
- | 'Europe/Luxembourg'
- | 'Europe/Madrid'
- | 'Europe/Malta'
- | 'Europe/Mariehamn'
- | 'Europe/Minsk'
- | 'Europe/Monaco'
- | 'Europe/Moscow'
- | 'Europe/Oslo'
- | 'Europe/Paris'
- | 'Europe/Podgorica'
- | 'Europe/Prague'
- | 'Europe/Riga'
- | 'Europe/Rome'
- | 'Europe/Samara'
- | 'Europe/San_Marino'
- | 'Europe/Sarajevo'
- | 'Europe/Saratov'
- | 'Europe/Simferopol'
- | 'Europe/Skopje'
- | 'Europe/Sofia'
- | 'Europe/Stockholm'
- | 'Europe/Tallinn'
- | 'Europe/Tirane'
- | 'Europe/Ulyanovsk'
- | 'Europe/Uzhgorod'
- | 'Europe/Vaduz'
- | 'Europe/Vatican'
- | 'Europe/Vienna'
- | 'Europe/Vilnius'
- | 'Europe/Volgograd'
- | 'Europe/Warsaw'
- | 'Europe/Zagreb'
- | 'Europe/Zaporozhye'
- | 'Europe/Zurich'
- | 'Indian/Antananarivo'
- | 'Indian/Chagos'
- | 'Indian/Christmas'
- | 'Indian/Cocos'
- | 'Indian/Comoro'
- | 'Indian/Kerguelen'
- | 'Indian/Mahe'
- | 'Indian/Maldives'
- | 'Indian/Mauritius'
- | 'Indian/Mayotte'
- | 'Indian/Reunion'
- | 'Pacific/Apia'
- | 'Pacific/Auckland'
- | 'Pacific/Bougainville'
- | 'Pacific/Chatham'
- | 'Pacific/Chuuk'
- | 'Pacific/Easter'
- | 'Pacific/Efate'
- | 'Pacific/Enderbury'
- | 'Pacific/Fakaofo'
- | 'Pacific/Fiji'
- | 'Pacific/Funafuti'
- | 'Pacific/Galapagos'
- | 'Pacific/Gambier'
- | 'Pacific/Guadalcanal'
- | 'Pacific/Guam'
- | 'Pacific/Honolulu'
- | 'Pacific/Kiritimati'
- | 'Pacific/Kosrae'
- | 'Pacific/Kwajalein'
- | 'Pacific/Majuro'
- | 'Pacific/Marquesas'
- | 'Pacific/Midway'
- | 'Pacific/Nauru'
- | 'Pacific/Niue'
- | 'Pacific/Norfolk'
- | 'Pacific/Noumea'
- | 'Pacific/Pago_Pago'
- | 'Pacific/Palau'
- | 'Pacific/Pitcairn'
- | 'Pacific/Pohnpei'
- | 'Pacific/Port_Moresby'
- | 'Pacific/Rarotonga'
- | 'Pacific/Saipan'
- | 'Pacific/Tahiti'
- | 'Pacific/Tarawa'
- | 'Pacific/Tongatapu'
- | 'Pacific/Wake'
- | 'Pacific/Wallis'
- | 'UTC'
- )
- | null;
- showEndDate?: boolean | null;
- /**
- * If "showEndDate" is true, this will define when the event terminates.
- */
- endDate?: string | null;
- /**
- * Text string to display on the event page to indicate the duration of the event. (e.g. "45 mins", "2 days")
- */
- duration?: string | null;
- /**
- * Events that are will remain available on the events page after the event has ended.
- */
- onDemand?: boolean | null;
- /**
- * When true, the event page will not be built. It will link directly to an external event page (requires Link to be set)
- */
- disablePageBuild?: boolean | null;
- /**
- * Used on event previews to link to a custom page if "disablePageBuild" is true.
- */
- link?: {
- href?: string | null;
- target?: ('_self' | '_blank') | null;
- };
- /**
- * Main CTA button on the event page
- */
- mainCta?: {
- href?: string | null;
- target?: ('_self' | '_blank') | null;
- label?: string | null;
- disabled?: boolean | null;
- /**
- * Text for the main CTA button if "mainCta.disabled" is true.
- */
- disabled_label?: string | null;
- };
- company?: {
- /**
- * If an external company is collaborating with the event, this will display their logo on the event page.
- */
- showCompany?: boolean | null;
- name?: string | null;
- websiteUrl?: string | null;
- logo?: (number | null) | Media;
- /**
- * Light mode logo
- */
- logo_light?: (number | null) | Media;
- };
- participants?: {
- /**
- * Could be speakers, authors, guests, etc. It would source from Authors collections.
- */
- showParticipants?: boolean | null;
- participants?: (number | Author)[] | null;
- };
- meta?: {
- title?: string | null;
- /**
- * Maximum upload file size: 12MB. Recommended file size for images is <500KB.
- */
- image?: (number | null) | Media;
- description?: string | null;
- };
- publishedAt?: string | null;
- updatedAt: string;
- createdAt: string;
- _status?: ('draft' | 'published') | null;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "posts".
- */
-export interface Post {
- id: number;
- title: string;
- slug?: string | null;
- slugLock?: boolean | null;
- /**
- * Appears as subheading in the blog post preview.
- */
- description?: string | null;
- content: {
- root: {
- type: string;
- children: {
- type: string;
- version: number;
- [k: string]: unknown;
- }[];
- direction: ('ltr' | 'rtl') | null;
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
- indent: number;
- version: number;
- };
- [k: string]: unknown;
- };
- /**
- * Will show up as the blog post cover. Required.
- */
- thumb?: (number | null) | Media;
- /**
- * Authors must be one or more. Required.
- */
- authors?: (number | Author)[] | null;
- /**
- * Select only one category. Required.
- */
- categories?: (number | Category)[] | null;
- readingTime?: number | null;
- /**
- * Tags can be one or more. Optional.
- */
- tags?: (number | Tag)[] | null;
- toc_depth?: number | null;
- /**
- * Select a launch week to show launch week summary at the bottom of the blog post. Optional.
- */
- launchweek?: ('6' | '7' | '8' | 'x' | 'ga' | '12' | '13' | '14' | '15') | null;
- meta?: {
- /**
- * Defaults to the title of the post, if not set.
- */
- title?: string | null;
- /**
- * Defaults to the "thumb" image, if not set.
- */
- image?: (number | null) | Media;
- /**
- * Defaults to the description of the post, if not set.
- */
- description?: string | null;
- };
- publishedAt?: string | null;
- /**
- * This date will determine the chronological order of the blog post. Required.
- */
- date?: string | null;
- updatedAt: string;
- createdAt: string;
- _status?: ('draft' | 'published') | null;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "tags".
- */
-export interface Tag {
- id: number;
- name: string;
- updatedAt: string;
- createdAt: string;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "users".
- */
-export interface User {
- id: number;
- roles?: ('admin' | 'editor')[] | null;
- updatedAt: string;
- createdAt: string;
- email: string;
- resetPasswordToken?: string | null;
- resetPasswordExpiration?: string | null;
- salt?: string | null;
- hash?: string | null;
- loginAttempts?: number | null;
- lockUntil?: string | null;
- sessions?:
- | {
- id: string;
- createdAt?: string | null;
- expiresAt: string;
- }[]
- | null;
- password?: string | null;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "payload-jobs".
- */
-export interface PayloadJob {
- id: number;
- /**
- * Input data provided to the job
- */
- input?:
- | {
- [k: string]: unknown;
- }
- | unknown[]
- | string
- | number
- | boolean
- | null;
- taskStatus?:
- | {
- [k: string]: unknown;
- }
- | unknown[]
- | string
- | number
- | boolean
- | null;
- completedAt?: string | null;
- totalTried?: number | null;
- /**
- * If hasError is true this job will not be retried
- */
- hasError?: boolean | null;
- /**
- * If hasError is true, this is the error that caused it
- */
- error?:
- | {
- [k: string]: unknown;
- }
- | unknown[]
- | string
- | number
- | boolean
- | null;
- /**
- * Task execution log
- */
- log?:
- | {
- executedAt: string;
- completedAt: string;
- taskSlug: 'inline' | 'schedulePublish';
- taskID: string;
- input?:
- | {
- [k: string]: unknown;
- }
- | unknown[]
- | string
- | number
- | boolean
- | null;
- output?:
- | {
- [k: string]: unknown;
- }
- | unknown[]
- | string
- | number
- | boolean
- | null;
- state: 'failed' | 'succeeded';
- error?:
- | {
- [k: string]: unknown;
- }
- | unknown[]
- | string
- | number
- | boolean
- | null;
- id?: string | null;
- }[]
- | null;
- taskSlug?: ('inline' | 'schedulePublish') | null;
- queue?: string | null;
- waitUntil?: string | null;
- processing?: boolean | null;
- updatedAt: string;
- createdAt: string;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "payload-locked-documents".
- */
-export interface PayloadLockedDocument {
- id: number;
- document?:
- | ({
- relationTo: 'authors';
- value: number | Author;
- } | null)
- | ({
- relationTo: 'categories';
- value: number | Category;
- } | null)
- | ({
- relationTo: 'customers';
- value: number | Customer;
- } | null)
- | ({
- relationTo: 'events';
- value: number | Event;
- } | null)
- | ({
- relationTo: 'media';
- value: number | Media;
- } | null)
- | ({
- relationTo: 'posts';
- value: number | Post;
- } | null)
- | ({
- relationTo: 'tags';
- value: number | Tag;
- } | null)
- | ({
- relationTo: 'users';
- value: number | User;
- } | null)
- | ({
- relationTo: 'payload-jobs';
- value: number | PayloadJob;
- } | null);
- globalSlug?: string | null;
- user: {
- relationTo: 'users';
- value: number | User;
- };
- updatedAt: string;
- createdAt: string;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "payload-preferences".
- */
-export interface PayloadPreference {
- id: number;
- user: {
- relationTo: 'users';
- value: number | User;
- };
- key?: string | null;
- value?:
- | {
- [k: string]: unknown;
- }
- | unknown[]
- | string
- | number
- | boolean
- | null;
- updatedAt: string;
- createdAt: string;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "payload-migrations".
- */
-export interface PayloadMigration {
- id: number;
- name?: string | null;
- batch?: number | null;
- updatedAt: string;
- createdAt: string;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "authors_select".
- */
-export interface AuthorsSelect<T extends boolean = true> {
- author?: T;
- author_id?: T;
- username?: T;
- position?: T;
- company?: T;
- author_url?: T;
- author_image_url?: T;
- updatedAt?: T;
- createdAt?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "categories_select".
- */
-export interface CategoriesSelect<T extends boolean = true> {
- name?: T;
- parent?: T;
- breadcrumbs?:
- | T
- | {
- doc?: T;
- url?: T;
- label?: T;
- id?: T;
- };
- updatedAt?: T;
- createdAt?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "customers_select".
- */
-export interface CustomersSelect<T extends boolean = true> {
- name?: T;
- title?: T;
- slug?: T;
- slugLock?: T;
- content?: T;
- description?: T;
- about?: T;
- company_url?: T;
- stats?:
- | T
- | {
- stat?: T;
- label?: T;
- id?: T;
- };
- misc?:
- | T
- | {
- label?: T;
- text?: T;
- id?: T;
- };
- industry?: T;
- company_size?: T;
- region?: T;
- supabase_products?: T;
- meta?:
- | T
- | {
- title?: T;
- image?: T;
- description?: T;
- };
- publishedAt?: T;
- logo?: T;
- logo_inverse?: T;
- updatedAt?: T;
- createdAt?: T;
- _status?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "events_select".
- */
-export interface EventsSelect<T extends boolean = true> {
- title?: T;
- slug?: T;
- slugLock?: T;
- subtitle?: T;
- content?: T;
- thumb?: T;
- image?: T;
- type?: T;
- date?: T;
- timezone?: T;
- showEndDate?: T;
- endDate?: T;
- duration?: T;
- onDemand?: T;
- disablePageBuild?: T;
- link?:
- | T
- | {
- href?: T;
- target?: T;
- };
- mainCta?:
- | T
- | {
- href?: T;
- target?: T;
- label?: T;
- disabled?: T;
- disabled_label?: T;
- };
- company?:
- | T
- | {
- showCompany?: T;
- name?: T;
- websiteUrl?: T;
- logo?: T;
- logo_light?: T;
- };
- participants?:
- | T
- | {
- showParticipants?: T;
- participants?: T;
- };
- meta?:
- | T
- | {
- title?: T;
- image?: T;
- description?: T;
- };
- publishedAt?: T;
- updatedAt?: T;
- createdAt?: T;
- _status?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "media_select".
- */
-export interface MediaSelect<T extends boolean = true> {
- alt?: T;
- caption?: T;
- prefix?: T;
- updatedAt?: T;
- createdAt?: T;
- url?: T;
- thumbnailURL?: T;
- filename?: T;
- mimeType?: T;
- filesize?: T;
- width?: T;
- height?: T;
- focalX?: T;
- focalY?: T;
- sizes?:
- | T
- | {
- thumbnail?:
- | T
- | {
- url?: T;
- width?: T;
- height?: T;
- mimeType?: T;
- filesize?: T;
- filename?: T;
- };
- square?:
- | T
- | {
- url?: T;
- width?: T;
- height?: T;
- mimeType?: T;
- filesize?: T;
- filename?: T;
- };
- small?:
- | T
- | {
- url?: T;
- width?: T;
- height?: T;
- mimeType?: T;
- filesize?: T;
- filename?: T;
- };
- medium?:
- | T
- | {
- url?: T;
- width?: T;
- height?: T;
- mimeType?: T;
- filesize?: T;
- filename?: T;
- };
- large?:
- | T
- | {
- url?: T;
- width?: T;
- height?: T;
- mimeType?: T;
- filesize?: T;
- filename?: T;
- };
- xlarge?:
- | T
- | {
- url?: T;
- width?: T;
- height?: T;
- mimeType?: T;
- filesize?: T;
- filename?: T;
- };
- og?:
- | T
- | {
- url?: T;
- width?: T;
- height?: T;
- mimeType?: T;
- filesize?: T;
- filename?: T;
- };
- };
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "posts_select".
- */
-export interface PostsSelect<T extends boolean = true> {
- title?: T;
- slug?: T;
- slugLock?: T;
- description?: T;
- content?: T;
- thumb?: T;
- authors?: T;
- categories?: T;
- readingTime?: T;
- tags?: T;
- toc_depth?: T;
- launchweek?: T;
- meta?:
- | T
- | {
- title?: T;
- image?: T;
- description?: T;
- };
- publishedAt?: T;
- date?: T;
- updatedAt?: T;
- createdAt?: T;
- _status?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "tags_select".
- */
-export interface TagsSelect<T extends boolean = true> {
- name?: T;
- updatedAt?: T;
- createdAt?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "users_select".
- */
-export interface UsersSelect<T extends boolean = true> {
- roles?: T;
- updatedAt?: T;
- createdAt?: T;
- email?: T;
- resetPasswordToken?: T;
- resetPasswordExpiration?: T;
- salt?: T;
- hash?: T;
- loginAttempts?: T;
- lockUntil?: T;
- sessions?:
- | T
- | {
- id?: T;
- createdAt?: T;
- expiresAt?: T;
- };
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "payload-jobs_select".
- */
-export interface PayloadJobsSelect<T extends boolean = true> {
- input?: T;
- taskStatus?: T;
- completedAt?: T;
- totalTried?: T;
- hasError?: T;
- error?: T;
- log?:
- | T
- | {
- executedAt?: T;
- completedAt?: T;
- taskSlug?: T;
- taskID?: T;
- input?: T;
- output?: T;
- state?: T;
- error?: T;
- id?: T;
- };
- taskSlug?: T;
- queue?: T;
- waitUntil?: T;
- processing?: T;
- updatedAt?: T;
- createdAt?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "payload-locked-documents_select".
- */
-export interface PayloadLockedDocumentsSelect<T extends boolean = true> {
- document?: T;
- globalSlug?: T;
- user?: T;
- updatedAt?: T;
- createdAt?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "payload-preferences_select".
- */
-export interface PayloadPreferencesSelect<T extends boolean = true> {
- user?: T;
- key?: T;
- value?: T;
- updatedAt?: T;
- createdAt?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "payload-migrations_select".
- */
-export interface PayloadMigrationsSelect<T extends boolean = true> {
- name?: T;
- batch?: T;
- updatedAt?: T;
- createdAt?: T;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "TaskSchedulePublish".
- */
-export interface TaskSchedulePublish {
- input: {
- type?: ('publish' | 'unpublish') | null;
- locale?: string | null;
- doc?:
- | ({
- relationTo: 'customers';
- value: number | Customer;
- } | null)
- | ({
- relationTo: 'events';
- value: number | Event;
- } | null);
- global?: string | null;
- user?: (number | null) | User;
- };
- output?: unknown;
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "BannerBlock".
- */
-export interface BannerBlock {
- style: 'info' | 'warning' | 'error' | 'success';
- content: {
- root: {
- type: string;
- children: {
- type: string;
- version: number;
- [k: string]: unknown;
- }[];
- direction: ('ltr' | 'rtl') | null;
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
- indent: number;
- version: number;
- };
- [k: string]: unknown;
- };
- id?: string | null;
- blockName?: string | null;
- blockType: 'banner';
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "CodeBlock".
- */
-export interface CodeBlock {
- language?: ('sql' | 'json' | 'bash' | 'js' | 'ts' | 'tsx' | 'py' | 'kotlin' | 'yaml') | null;
- code: string;
- id?: string | null;
- blockName?: string | null;
- blockType: 'code';
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "MediaBlock".
- */
-export interface MediaBlock {
- media: number | Media;
- id?: string | null;
- blockName?: string | null;
- blockType: 'mediaBlock';
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "QuoteBlock".
- */
-export interface QuoteBlock {
- img?: (number | null) | Media;
- caption?: string | null;
- text: string;
- id?: string | null;
- blockName?: string | null;
- blockType: 'quote';
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "YouTubeBlock".
- */
-export interface YouTubeBlock {
- /**
- * Enter the YouTube video ID (e.g., "dQw4w9WgXcQ" from https://www.youtube.com/watch?v=dQw4w9WgXcQ)
- */
- youtubeId: string;
- id?: string | null;
- blockName?: string | null;
- blockType: 'youtube';
-}
-/**
- * This interface was referenced by `Config`'s JSON-Schema
- * via the `definition` "auth".
- */
-export interface Auth {
- [k: string]: unknown;
-}
-
-
-declare module 'payload' {
- export interface GeneratedTypes extends Config {}
-}
\ No newline at end of file
diff --git a/apps/cms/src/payload.config.ts b/apps/cms/src/payload.config.ts
deleted file mode 100644
index 676fcb3cefe..00000000000
--- a/apps/cms/src/payload.config.ts
+++ /dev/null
@@ -1,110 +0,0 @@
-import path from 'node:path'
-import { fileURLToPath } from 'node:url'
-import { postgresAdapter } from '@payloadcms/db-postgres'
-import { payloadCloudPlugin } from '@payloadcms/payload-cloud'
-import { nestedDocsPlugin } from '@payloadcms/plugin-nested-docs'
-import { seoPlugin } from '@payloadcms/plugin-seo'
-import type { GenerateTitle, GenerateURL } from '@payloadcms/plugin-seo/types'
-import { s3Storage } from '@payloadcms/storage-s3'
-import { buildConfig, type Plugin } from 'payload'
-import sharp from 'sharp'
-
-import { Authors } from './collections/Authors.ts'
-import { Categories } from './collections/Categories.ts'
-import { Customers } from './collections/Customers/index.ts'
-import { Events } from './collections/Events/index.ts'
-import { Media } from './collections/Media.ts'
-import { Posts } from './collections/Posts/index.ts'
-import { Tags } from './collections/Tags.ts'
-import { Users } from './collections/Users.ts'
-import { defaultLexical } from './fields/defaultLexical.ts'
-import type { Customer, Event, Post } from './payload-types'
-import { WWW_SITE_ORIGIN } from './utilities/constants.ts'
-import { getServerSideURL } from './utilities/getURL.ts'
-
-const filename = fileURLToPath(import.meta.url)
-const dirname = path.dirname(filename)
-const siteName = 'Supabase'
-
-const generateTitle: GenerateTitle<Post & Customer & Event> = ({ doc, collectionSlug }: any) => {
- switch (collectionSlug) {
- case 'customers':
- return `${doc.name} | ${siteName} Customer Stories`
- case 'events':
- return `${doc.title} | ${siteName} Events`
- case 'posts':
- return doc.title
- default:
- return `${doc.title} | ${siteName}`
- }
-}
-
-const generateURL: GenerateURL<Post> = ({ doc }: any) => {
- const url = getServerSideURL()
-
- return doc?.slug ? `${url}/${doc.slug}` : url
-}
-
-const plugins: Plugin[] = [
- nestedDocsPlugin({
- collections: ['categories'],
- generateURL: (docs) => docs.reduce((url, doc) => `${url}/${doc.slug}`, ''),
- }),
- seoPlugin({
- generateTitle,
- generateURL,
- }),
- payloadCloudPlugin(),
- s3Storage({
- collections: {
- media: {
- prefix: 'media',
- },
- },
- bucket: process.env.S3_BUCKET || '',
- config: {
- forcePathStyle: true,
- credentials: {
- accessKeyId: process.env.S3_ACCESS_KEY_ID || '',
- secretAccessKey: process.env.S3_SECRET_ACCESS_KEY || '',
- },
- region: process.env.S3_REGION,
- endpoint: process.env.S3_ENDPOINT,
- },
- }),
-]
-
-export default buildConfig({
- admin: {
- user: Users.slug,
- importMap: {
- baseDir: path.resolve(dirname),
- },
- },
- collections: [Authors, Categories, Customers, Events, Media, Posts, Tags, Users],
- editor: defaultLexical,
- secret: process.env.PAYLOAD_SECRET,
- typescript: {
- outputFile: path.resolve(dirname, 'payload-types.ts'),
- },
- cors: [getServerSideURL(), WWW_SITE_ORIGIN].filter(Boolean),
- db: postgresAdapter({
- pool: {
- connectionString: process.env.DATABASE_URI || '',
- // Connection pool configuration for serverless/Vercel
- max: 25, // Maximum number of connections in the pool (keep low for serverless)
- min: 0, // Minimum number of connections in the pool
- idleTimeoutMillis: 0, // Time a connection can be idle before being closed
- connectionTimeoutMillis: 0, // Time to wait for connection creation
- },
- }),
- // Global configuration for better performance
- globals: [],
- graphQL: {
- disable: true,
- },
- // Reduce payload init overhead
- telemetry: false,
- sharp,
- plugins,
-})
diff --git a/apps/cms/src/payload.migrate.config.ts b/apps/cms/src/payload.migrate.config.ts
deleted file mode 100644
index 6a37bfc6a8a..00000000000
--- a/apps/cms/src/payload.migrate.config.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { postgresAdapter } from '@payloadcms/db-postgres'
-import { buildConfig } from 'payload'
-
-export default buildConfig({
- secret: process.env.PAYLOAD_SECRET,
- db: postgresAdapter({
- pool: {
- connectionString: process.env.DATABASE_URI || '',
- },
- }),
-})
diff --git a/apps/cms/src/providers/HeaderTheme/index.tsx b/apps/cms/src/providers/HeaderTheme/index.tsx
deleted file mode 100644
index 5e303c1f8d4..00000000000
--- a/apps/cms/src/providers/HeaderTheme/index.tsx
+++ /dev/null
@@ -1,36 +0,0 @@
-'use client'
-
-import React, { createContext, use, useCallback, useState } from 'react'
-
-import type { Theme } from '@/providers/Theme/types'
-import canUseDOM from '@/utilities/canUseDOM'
-
-export interface ContextType {
- headerTheme?: Theme | null
- setHeaderTheme: (theme: Theme | null) => void
-}
-
-const initialContext: ContextType = {
- headerTheme: undefined,
- setHeaderTheme: () => null,
-}
-
-const HeaderThemeContext = createContext(initialContext)
-
-export const HeaderThemeProvider = ({ children }: { children: React.ReactNode }) => {
- const [headerTheme, setThemeState] = useState<Theme | undefined | null>(
- canUseDOM ? (document.documentElement.getAttribute('data-theme') as Theme) : undefined
- )
-
- const setHeaderTheme = useCallback((themeToSet: Theme | null) => {
- setThemeState(themeToSet)
- }, [])
-
- return (
- <HeaderThemeContext.Provider value={{ headerTheme, setHeaderTheme }}>
- {children}
- </HeaderThemeContext.Provider>
- )
-}
-
-export const useHeaderTheme = (): ContextType => use(HeaderThemeContext)
diff --git a/apps/cms/src/providers/Theme/InitTheme/index.tsx b/apps/cms/src/providers/Theme/InitTheme/index.tsx
deleted file mode 100644
index 13ce0d6c0d5..00000000000
--- a/apps/cms/src/providers/Theme/InitTheme/index.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-import Script from 'next/script'
-import React from 'react'
-
-import { defaultTheme, themeLocalStorageKey } from '../ThemeSelector/types'
-
-export const InitTheme: React.FC = () => {
- return (
- // eslint-disable-next-line @next/next/no-before-interactive-script-outside-document
- <Script
- dangerouslySetInnerHTML={{
- __html: `
- (function () {
- function getImplicitPreference() {
- var mediaQuery = '(prefers-color-scheme: dark)'
- var mql = window.matchMedia(mediaQuery)
- var hasImplicitPreference = typeof mql.matches === 'boolean'
-
- if (hasImplicitPreference) {
- return mql.matches ? 'dark' : 'light'
- }
-
- return null
- }
-
- function themeIsValid(theme) {
- return theme === 'light' || theme === 'dark'
- }
-
- var themeToSet = '${defaultTheme}'
- var preference = window.localStorage.getItem('${themeLocalStorageKey}')
-
- if (themeIsValid(preference)) {
- themeToSet = preference
- } else {
- var implicitPreference = getImplicitPreference()
-
- if (implicitPreference) {
- themeToSet = implicitPreference
- }
- }
-
- document.documentElement.setAttribute('data-theme', themeToSet)
- })();
- `,
- }}
- id="theme-script"
- strategy="beforeInteractive"
- />
- )
-}
diff --git a/apps/cms/src/providers/Theme/ThemeSelector/index.tsx b/apps/cms/src/providers/Theme/ThemeSelector/index.tsx
deleted file mode 100644
index 480a4e44193..00000000000
--- a/apps/cms/src/providers/Theme/ThemeSelector/index.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-'use client'
-
-import { useTheme } from '..'
-import React, { useState } from 'react'
-
-import type { Theme } from './types'
-import { themeLocalStorageKey } from './types'
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from '@/components/ui/select'
-
-export const ThemeSelector: React.FC = () => {
- const { setTheme } = useTheme()
- const [value, setValue] = useState('')
-
- const onThemeChange = (themeToSet: Theme & 'auto') => {
- if (themeToSet === 'auto') {
- setTheme(null)
- setValue('auto')
- } else {
- setTheme(themeToSet)
- setValue(themeToSet)
- }
- }
-
- React.useEffect(() => {
- const preference = window.localStorage.getItem(themeLocalStorageKey)
- setValue(preference ?? 'auto')
- }, [])
-
- return (
- <Select onValueChange={onThemeChange} value={value}>
- <SelectTrigger
- aria-label="Select a theme"
- className="w-auto bg-transparent gap-2 pl-0 md:pl-3 border-none"
- >
- <SelectValue placeholder="Theme" />
- </SelectTrigger>
- <SelectContent>
- <SelectItem value="auto">Auto</SelectItem>
- <SelectItem value="light">Light</SelectItem>
- <SelectItem value="dark">Dark</SelectItem>
- </SelectContent>
- </Select>
- )
-}
diff --git a/apps/cms/src/providers/Theme/ThemeSelector/types.ts b/apps/cms/src/providers/Theme/ThemeSelector/types.ts
deleted file mode 100644
index 9bd94ceba51..00000000000
--- a/apps/cms/src/providers/Theme/ThemeSelector/types.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export type Theme = 'dark' | 'light'
-
-export const themeLocalStorageKey = 'payload-theme'
-
-export const defaultTheme = 'light'
diff --git a/apps/cms/src/providers/Theme/index.tsx b/apps/cms/src/providers/Theme/index.tsx
deleted file mode 100644
index af9f152d098..00000000000
--- a/apps/cms/src/providers/Theme/index.tsx
+++ /dev/null
@@ -1,56 +0,0 @@
-'use client'
-
-import React, { createContext, use, useCallback, useEffect, useState } from 'react'
-
-import { defaultTheme, getImplicitPreference, themeLocalStorageKey } from './shared'
-import type { Theme, ThemeContextType } from './types'
-import { themeIsValid } from './types'
-import canUseDOM from '@/utilities/canUseDOM'
-
-const initialContext: ThemeContextType = {
- setTheme: () => null,
- theme: undefined,
-}
-
-const ThemeContext = createContext(initialContext)
-
-export const ThemeProvider = ({ children }: { children: React.ReactNode }) => {
- const [theme, setThemeState] = useState<Theme | undefined>(
- canUseDOM ? (document.documentElement.getAttribute('data-theme') as Theme) : undefined
- )
-
- const setTheme = useCallback((themeToSet: Theme | null) => {
- if (themeToSet === null) {
- window.localStorage.removeItem(themeLocalStorageKey)
- const implicitPreference = getImplicitPreference()
- document.documentElement.setAttribute('data-theme', implicitPreference || '')
- if (implicitPreference) setThemeState(implicitPreference)
- } else {
- setThemeState(themeToSet)
- window.localStorage.setItem(themeLocalStorageKey, themeToSet)
- document.documentElement.setAttribute('data-theme', themeToSet)
- }
- }, [])
-
- useEffect(() => {
- let themeToSet: Theme = defaultTheme
- const preference = window.localStorage.getItem(themeLocalStorageKey)
-
- if (themeIsValid(preference)) {
- themeToSet = preference
- } else {
- const implicitPreference = getImplicitPreference()
-
- if (implicitPreference) {
- themeToSet = implicitPreference
- }
- }
-
- document.documentElement.setAttribute('data-theme', themeToSet)
- setThemeState(themeToSet)
- }, [])
-
- return <ThemeContext.Provider value={{ setTheme, theme }}>{children}</ThemeContext.Provider>
-}
-
-export const useTheme = (): ThemeContextType => use(ThemeContext)
diff --git a/apps/cms/src/providers/Theme/shared.ts b/apps/cms/src/providers/Theme/shared.ts
deleted file mode 100644
index 4d0b0042c2b..00000000000
--- a/apps/cms/src/providers/Theme/shared.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type { Theme } from './types.ts'
-
-export const themeLocalStorageKey = 'payload-theme'
-
-export const defaultTheme = 'light'
-
-export const getImplicitPreference = (): Theme | null => {
- const mediaQuery = '(prefers-color-scheme: dark)'
- const mql = window.matchMedia(mediaQuery)
- const hasImplicitPreference = typeof mql.matches === 'boolean'
-
- if (hasImplicitPreference) {
- return mql.matches ? 'dark' : 'light'
- }
-
- return null
-}
diff --git a/apps/cms/src/providers/Theme/types.ts b/apps/cms/src/providers/Theme/types.ts
deleted file mode 100644
index c39b9b3e79c..00000000000
--- a/apps/cms/src/providers/Theme/types.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-export type Theme = 'dark' | 'light'
-
-export interface ThemeContextType {
- setTheme: (theme: Theme | null) => void
- theme?: Theme | null
-}
-
-export function themeIsValid(string: null | string): string is Theme {
- return string ? ['dark', 'light'].includes(string) : false
-}
diff --git a/apps/cms/src/providers/index.tsx b/apps/cms/src/providers/index.tsx
deleted file mode 100644
index 92276a82918..00000000000
--- a/apps/cms/src/providers/index.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react'
-
-import { HeaderThemeProvider } from './HeaderTheme'
-import { ThemeProvider } from './Theme'
-
-export const Providers: React.FC<{
- children: React.ReactNode
-}> = ({ children }) => {
- return (
- <ThemeProvider>
- <HeaderThemeProvider>{children}</HeaderThemeProvider>
- </ThemeProvider>
- )
-}
diff --git a/apps/cms/src/utilities/canUseDOM.ts b/apps/cms/src/utilities/canUseDOM.ts
deleted file mode 100644
index 541b4de3941..00000000000
--- a/apps/cms/src/utilities/canUseDOM.ts
+++ /dev/null
@@ -1 +0,0 @@
-export default !!(typeof window !== 'undefined' && window.document && window.document.createElement)
diff --git a/apps/cms/src/utilities/constants.ts b/apps/cms/src/utilities/constants.ts
deleted file mode 100644
index 42d982ad963..00000000000
--- a/apps/cms/src/utilities/constants.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-// https://cms-git-chore-fix-cms-types-supabase.vercel.app/
-// https://zone-www-dot-com-git-chore-fix-cms-types-supabase.vercel.app/
-export const WWW_SITE_ORIGIN =
- process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
- ? 'https://supabase.com'
- : process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL
- ? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL?.replace('cms-git-', 'zone-www-dot-com-git-')}`
- : 'http://localhost:3000'
diff --git a/apps/cms/src/utilities/deepMerge.ts b/apps/cms/src/utilities/deepMerge.ts
deleted file mode 100644
index 7e5095f2290..00000000000
--- a/apps/cms/src/utilities/deepMerge.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-// @ts-nocheck
-
-/**
- * Simple object check.
- * @param item
- * @returns {boolean}
- */
-export function isObject(item: unknown): item is object {
- return typeof item === 'object' && !Array.isArray(item)
-}
-
-/**
- * Deep merge two objects.
- * @param target
- * @param ...sources
- */
-export default function deepMerge<T, R>(target: T, source: R): T {
- const output = { ...target }
- if (isObject(target) && isObject(source)) {
- Object.keys(source).forEach((key) => {
- if (isObject(source[key])) {
- if (!(key in target)) {
- Object.assign(output, { [key]: source[key] })
- } else {
- output[key] = deepMerge(target[key], source[key])
- }
- } else {
- Object.assign(output, { [key]: source[key] })
- }
- })
- }
-
- return output
-}
diff --git a/apps/cms/src/utilities/formatDateTime.ts b/apps/cms/src/utilities/formatDateTime.ts
deleted file mode 100644
index ea684885b91..00000000000
--- a/apps/cms/src/utilities/formatDateTime.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-export const formatDateTime = (timestamp: string): string => {
- const now = new Date()
- let date = now
- if (timestamp) date = new Date(timestamp)
- const months = date.getMonth()
- const days = date.getDate()
- // const hours = date.getHours();
- // const minutes = date.getMinutes();
- // const seconds = date.getSeconds();
-
- const MM = months + 1 < 10 ? `0${months + 1}` : months + 1
- const DD = days < 10 ? `0${days}` : days
- const YYYY = date.getFullYear()
- // const AMPM = hours < 12 ? 'AM' : 'PM';
- // const HH = hours > 12 ? hours - 12 : hours;
- // const MinMin = (minutes < 10) ? `0${minutes}` : minutes;
- // const SS = (seconds < 10) ? `0${seconds}` : seconds;
-
- return `${MM}/${DD}/${YYYY}`
-}
diff --git a/apps/cms/src/utilities/generateMeta.ts b/apps/cms/src/utilities/generateMeta.ts
deleted file mode 100644
index 09125cca175..00000000000
--- a/apps/cms/src/utilities/generateMeta.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-import type { Metadata } from 'next'
-
-import type { Config, Media, Post } from '../payload-types'
-import { getServerSideURL } from './getURL.ts'
-import { mergeOpenGraph } from './mergeOpenGraph.ts'
-
-const getImageURL = (image?: Media | Config['db']['defaultIDType'] | null) => {
- const serverUrl = getServerSideURL()
-
- let url = serverUrl + '/website-template-OG.webp'
-
- if (image && typeof image === 'object' && 'url' in image) {
- const ogUrl = image.sizes?.og?.url
-
- url = ogUrl ? serverUrl + ogUrl : serverUrl + image.url
- }
-
- return url
-}
-
-export const generateMeta = async (args: { doc: Partial<Post> | null }): Promise<Metadata> => {
- const { doc } = args
-
- const ogImage = getImageURL(doc?.meta?.image)
-
- const title = doc?.meta?.title
- ? doc?.meta?.title + ' | Payload Website Template'
- : 'Payload Website Template'
-
- return {
- description: doc?.meta?.description,
- openGraph: mergeOpenGraph({
- description: doc?.meta?.description || '',
- images: ogImage
- ? [
- {
- url: ogImage,
- },
- ]
- : undefined,
- title,
- url: Array.isArray(doc?.slug) ? doc?.slug.join('/') : '/',
- }),
- title,
- }
-}
diff --git a/apps/cms/src/utilities/generatePreviewPath.ts b/apps/cms/src/utilities/generatePreviewPath.ts
deleted file mode 100644
index 88450b50a98..00000000000
--- a/apps/cms/src/utilities/generatePreviewPath.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import { CollectionSlug, PayloadRequest } from 'payload'
-
-import { WWW_SITE_ORIGIN } from './constants'
-
-const collectionPrefixMap: Partial<Record<CollectionSlug, string>> = {
- posts: '/blog',
-}
-
-type Props = {
- collection: keyof typeof collectionPrefixMap
- slug: string
- req: PayloadRequest
-}
-
-export const generatePreviewPath = ({ collection, slug }: Props) => {
- if (collection === 'posts') {
- const baseUrl = WWW_SITE_ORIGIN || 'http://localhost:3000'
- // Use our preview API route for post previews
- return `${baseUrl}/api-v2/cms/preview?slug=${slug}`
- }
-
- const encodedParams = new URLSearchParams({
- slug,
- collection,
- path: `${collectionPrefixMap[collection]}/${slug}`,
- previewSecret: process.env.PREVIEW_SECRET || '',
- })
-
- const url = `/next/preview?${encodedParams.toString()}`
-
- return url
-}
diff --git a/apps/cms/src/utilities/getDocument.ts b/apps/cms/src/utilities/getDocument.ts
deleted file mode 100644
index 026260f40ed..00000000000
--- a/apps/cms/src/utilities/getDocument.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import configPromise from '@payload-config'
-import { getPayload } from 'payload'
-
-import type { Config } from '@/payload-types'
-
-// Do not import next/cache at module scope to keep migrate step Node-compatible
-
-type Collection = keyof Config['collections']
-
-async function getDocument(collection: Collection, slug: string, depth = 0) {
- const payload = await getPayload({ config: configPromise })
-
- const page = await payload.find({
- collection,
- depth,
- where: {
- slug: {
- equals: slug,
- },
- },
- })
-
- return page.docs[0]
-}
-
-/**
- * Returns a unstable_cache function mapped with the cache tag for the slug
- */
-export const getCachedDocument = (collection: Collection, slug: string) => {
- return async () => {
- try {
- const { unstable_cache } = await import('next/cache')
- const cached = unstable_cache(async () => getDocument(collection, slug), [collection, slug], {
- tags: [`${collection}_${slug}`],
- })
- return cached()
- } catch {
- return getDocument(collection, slug)
- }
- }
-}
diff --git a/apps/cms/src/utilities/getGlobals.ts b/apps/cms/src/utilities/getGlobals.ts
deleted file mode 100644
index 08594485e72..00000000000
--- a/apps/cms/src/utilities/getGlobals.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-import configPromise from '@payload-config'
-import { getPayload } from 'payload'
-
-import type { Config } from '@/payload-types'
-
-// Do not import next/cache at module scope to keep migrate step Node-compatible
-
-type Global = keyof Config['globals']
-
-async function getGlobal(slug: Global, depth = 0) {
- const payload = await getPayload({ config: configPromise })
-
- const global = await payload.findGlobal({
- slug,
- depth,
- })
-
- return global
-}
-
-/**
- * Returns a unstable_cache function mapped with the cache tag for the slug
- */
-export const getCachedGlobal = (slug: Global, depth = 0) => {
- return async () => {
- try {
- const { unstable_cache } = await import('next/cache')
- const cached = unstable_cache(async () => getGlobal(slug, depth), [slug], {
- tags: [`global_${slug}`],
- })
- return cached()
- } catch {
- return getGlobal(slug, depth)
- }
- }
-}
diff --git a/apps/cms/src/utilities/getMeUser.ts b/apps/cms/src/utilities/getMeUser.ts
deleted file mode 100644
index 6ce8100c794..00000000000
--- a/apps/cms/src/utilities/getMeUser.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-import { cookies } from 'next/headers'
-import { redirect } from 'next/navigation'
-
-import type { User } from '../payload-types'
-import { getClientSideURL } from './getURL.ts'
-
-export const getMeUser = async (args?: {
- nullUserRedirect?: string
- validUserRedirect?: string
-}): Promise<{
- token: string
- user: User
-}> => {
- const { nullUserRedirect, validUserRedirect } = args || {}
- const cookieStore = await cookies()
- const token = cookieStore.get('payload-token')?.value
-
- const meUserReq = await fetch(`${getClientSideURL()}/api/users/me`, {
- headers: {
- Authorization: `JWT ${token}`,
- },
- })
-
- const {
- user,
- }: {
- user: User
- } = await meUserReq.json()
-
- if (validUserRedirect && meUserReq.ok && user) {
- redirect(validUserRedirect)
- }
-
- if (nullUserRedirect && (!meUserReq.ok || !user)) {
- redirect(nullUserRedirect)
- }
-
- // Token will exist here because if it doesn't the user will be redirected
- return {
- token: token!,
- user,
- }
-}
diff --git a/apps/cms/src/utilities/getURL.ts b/apps/cms/src/utilities/getURL.ts
deleted file mode 100644
index e7622965ac8..00000000000
--- a/apps/cms/src/utilities/getURL.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import canUseDOM from './canUseDOM.ts'
-
-export const getServerSideURL = () => {
- let url = process.env.NEXT_PUBLIC_SERVER_URL
-
- if (!url && process.env.VERCEL_PROJECT_PRODUCTION_URL) {
- return `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`
- }
-
- if (!url) {
- url = 'http://localhost:3030'
- }
-
- return url
-}
-
-export const getClientSideURL = () => {
- if (canUseDOM) {
- const protocol = window.location.protocol
- const domain = window.location.hostname
- const port = window.location.port
-
- return `${protocol}//${domain}${port ? `:${port}` : ''}`
- }
-
- if (process.env.VERCEL_PROJECT_PRODUCTION_URL) {
- return `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`
- }
-
- return process.env.NEXT_PUBLIC_SERVER_URL || ''
-}
diff --git a/apps/cms/src/utilities/mergeOpenGraph.ts b/apps/cms/src/utilities/mergeOpenGraph.ts
deleted file mode 100644
index ef1eeaab642..00000000000
--- a/apps/cms/src/utilities/mergeOpenGraph.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import type { Metadata } from 'next'
-
-import { getServerSideURL } from './getURL.ts'
-
-const defaultOpenGraph: Metadata['openGraph'] = {
- type: 'website',
- description: 'An open-source website built with Payload and Next.js.',
- images: [
- {
- url: `${getServerSideURL()}/website-template-OG.webp`,
- },
- ],
- siteName: 'Payload Website Template',
- title: 'Payload Website Template',
-}
-
-export const mergeOpenGraph = (og?: Metadata['openGraph']): Metadata['openGraph'] => {
- return {
- ...defaultOpenGraph,
- ...og,
- images: og?.images ? og.images : defaultOpenGraph.images,
- }
-}
diff --git a/apps/cms/src/utilities/timezones.ts b/apps/cms/src/utilities/timezones.ts
deleted file mode 100644
index cf84ad20664..00000000000
--- a/apps/cms/src/utilities/timezones.ts
+++ /dev/null
@@ -1,450 +0,0 @@
-export const timezoneOptions = [
- // Africa
- { label: 'Africa/Abidjan', value: 'Africa/Abidjan' },
- { label: 'Africa/Accra', value: 'Africa/Accra' },
- { label: 'Africa/Addis_Ababa', value: 'Africa/Addis_Ababa' },
- { label: 'Africa/Algiers', value: 'Africa/Algiers' },
- { label: 'Africa/Asmara', value: 'Africa/Asmara' },
- { label: 'Africa/Bamako', value: 'Africa/Bamako' },
- { label: 'Africa/Bangui', value: 'Africa/Bangui' },
- { label: 'Africa/Banjul', value: 'Africa/Banjul' },
- { label: 'Africa/Bissau', value: 'Africa/Bissau' },
- { label: 'Africa/Blantyre', value: 'Africa/Blantyre' },
- { label: 'Africa/Brazzaville', value: 'Africa/Brazzaville' },
- { label: 'Africa/Bujumbura', value: 'Africa/Bujumbura' },
- { label: 'Africa/Cairo', value: 'Africa/Cairo' },
- { label: 'Africa/Casablanca', value: 'Africa/Casablanca' },
- { label: 'Africa/Ceuta', value: 'Africa/Ceuta' },
- { label: 'Africa/Conakry', value: 'Africa/Conakry' },
- { label: 'Africa/Dakar', value: 'Africa/Dakar' },
- { label: 'Africa/Dar_es_Salaam', value: 'Africa/Dar_es_Salaam' },
- { label: 'Africa/Djibouti', value: 'Africa/Djibouti' },
- { label: 'Africa/Douala', value: 'Africa/Douala' },
- { label: 'Africa/El_Aaiun', value: 'Africa/El_Aaiun' },
- { label: 'Africa/Freetown', value: 'Africa/Freetown' },
- { label: 'Africa/Gaborone', value: 'Africa/Gaborone' },
- { label: 'Africa/Harare', value: 'Africa/Harare' },
- { label: 'Africa/Johannesburg', value: 'Africa/Johannesburg' },
- { label: 'Africa/Juba', value: 'Africa/Juba' },
- { label: 'Africa/Kampala', value: 'Africa/Kampala' },
- { label: 'Africa/Khartoum', value: 'Africa/Khartoum' },
- { label: 'Africa/Kigali', value: 'Africa/Kigali' },
- { label: 'Africa/Kinshasa', value: 'Africa/Kinshasa' },
- { label: 'Africa/Lagos', value: 'Africa/Lagos' },
- { label: 'Africa/Libreville', value: 'Africa/Libreville' },
- { label: 'Africa/Lome', value: 'Africa/Lome' },
- { label: 'Africa/Luanda', value: 'Africa/Luanda' },
- { label: 'Africa/Lubumbashi', value: 'Africa/Lubumbashi' },
- { label: 'Africa/Lusaka', value: 'Africa/Lusaka' },
- { label: 'Africa/Malabo', value: 'Africa/Malabo' },
- { label: 'Africa/Maputo', value: 'Africa/Maputo' },
- { label: 'Africa/Maseru', value: 'Africa/Maseru' },
- { label: 'Africa/Mbabane', value: 'Africa/Mbabane' },
- { label: 'Africa/Mogadishu', value: 'Africa/Mogadishu' },
- { label: 'Africa/Monrovia', value: 'Africa/Monrovia' },
- { label: 'Africa/Nairobi', value: 'Africa/Nairobi' },
- { label: 'Africa/Ndjamena', value: 'Africa/Ndjamena' },
- { label: 'Africa/Niamey', value: 'Africa/Niamey' },
- { label: 'Africa/Nouakchott', value: 'Africa/Nouakchott' },
- { label: 'Africa/Ouagadougou', value: 'Africa/Ouagadougou' },
- { label: 'Africa/Porto-Novo', value: 'Africa/Porto-Novo' },
- { label: 'Africa/Sao_Tome', value: 'Africa/Sao_Tome' },
- { label: 'Africa/Tripoli', value: 'Africa/Tripoli' },
- { label: 'Africa/Tunis', value: 'Africa/Tunis' },
- { label: 'Africa/Windhoek', value: 'Africa/Windhoek' },
-
- // America
- { label: 'America/Adak', value: 'America/Adak' },
- { label: 'America/Anchorage', value: 'America/Anchorage' },
- { label: 'America/Anguilla', value: 'America/Anguilla' },
- { label: 'America/Antigua', value: 'America/Antigua' },
- { label: 'America/Araguaina', value: 'America/Araguaina' },
- { label: 'America/Argentina/Buenos_Aires', value: 'America/Argentina/Buenos_Aires' },
- { label: 'America/Argentina/Catamarca', value: 'America/Argentina/Catamarca' },
- { label: 'America/Argentina/Cordoba', value: 'America/Argentina/Cordoba' },
- { label: 'America/Argentina/Jujuy', value: 'America/Argentina/Jujuy' },
- { label: 'America/Argentina/La_Rioja', value: 'America/Argentina/La_Rioja' },
- { label: 'America/Argentina/Mendoza', value: 'America/Argentina/Mendoza' },
- { label: 'America/Argentina/Rio_Gallegos', value: 'America/Argentina/Rio_Gallegos' },
- { label: 'America/Argentina/Salta', value: 'America/Argentina/Salta' },
- { label: 'America/Argentina/San_Juan', value: 'America/Argentina/San_Juan' },
- { label: 'America/Argentina/San_Luis', value: 'America/Argentina/San_Luis' },
- { label: 'America/Argentina/Tucuman', value: 'America/Argentina/Tucuman' },
- { label: 'America/Argentina/Ushuaia', value: 'America/Argentina/Ushuaia' },
- { label: 'America/Aruba', value: 'America/Aruba' },
- { label: 'America/Asuncion', value: 'America/Asuncion' },
- { label: 'America/Atikokan', value: 'America/Atikokan' },
- { label: 'America/Bahia', value: 'America/Bahia' },
- { label: 'America/Bahia_Banderas', value: 'America/Bahia_Banderas' },
- { label: 'America/Barbados', value: 'America/Barbados' },
- { label: 'America/Belem', value: 'America/Belem' },
- { label: 'America/Belize', value: 'America/Belize' },
- { label: 'America/Blanc-Sablon', value: 'America/Blanc-Sablon' },
- { label: 'America/Boa_Vista', value: 'America/Boa_Vista' },
- { label: 'America/Bogota', value: 'America/Bogota' },
- { label: 'America/Boise', value: 'America/Boise' },
- { label: 'America/Cambridge_Bay', value: 'America/Cambridge_Bay' },
- { label: 'America/Campo_Grande', value: 'America/Campo_Grande' },
- { label: 'America/Cancun', value: 'America/Cancun' },
- { label: 'America/Caracas', value: 'America/Caracas' },
- { label: 'America/Cayenne', value: 'America/Cayenne' },
- { label: 'America/Cayman', value: 'America/Cayman' },
- { label: 'America/Chicago', value: 'America/Chicago' },
- { label: 'America/Chihuahua', value: 'America/Chihuahua' },
- { label: 'America/Costa_Rica', value: 'America/Costa_Rica' },
- { label: 'America/Creston', value: 'America/Creston' },
- { label: 'America/Cuiaba', value: 'America/Cuiaba' },
- { label: 'America/Curacao', value: 'America/Curacao' },
- { label: 'America/Danmarkshavn', value: 'America/Danmarkshavn' },
- { label: 'America/Dawson', value: 'America/Dawson' },
- { label: 'America/Dawson_Creek', value: 'America/Dawson_Creek' },
- { label: 'America/Denver', value: 'America/Denver' },
- { label: 'America/Detroit', value: 'America/Detroit' },
- { label: 'America/Dominica', value: 'America/Dominica' },
- { label: 'America/Edmonton', value: 'America/Edmonton' },
- { label: 'America/Eirunepe', value: 'America/Eirunepe' },
- { label: 'America/El_Salvador', value: 'America/El_Salvador' },
- { label: 'America/Fort_Nelson', value: 'America/Fort_Nelson' },
- { label: 'America/Fortaleza', value: 'America/Fortaleza' },
- { label: 'America/Glace_Bay', value: 'America/Glace_Bay' },
- { label: 'America/Godthab', value: 'America/Godthab' },
- { label: 'America/Goose_Bay', value: 'America/Goose_Bay' },
- { label: 'America/Grand_Turk', value: 'America/Grand_Turk' },
- { label: 'America/Grenada', value: 'America/Grenada' },
- { label: 'America/Guadeloupe', value: 'America/Guadeloupe' },
- { label: 'America/Guatemala', value: 'America/Guatemala' },
- { label: 'America/Guayaquil', value: 'America/Guayaquil' },
- { label: 'America/Guyana', value: 'America/Guyana' },
- { label: 'America/Halifax', value: 'America/Halifax' },
- { label: 'America/Havana', value: 'America/Havana' },
- { label: 'America/Hermosillo', value: 'America/Hermosillo' },
- { label: 'America/Indiana/Indianapolis', value: 'America/Indiana/Indianapolis' },
- { label: 'America/Indiana/Knox', value: 'America/Indiana/Knox' },
- { label: 'America/Indiana/Marengo', value: 'America/Indiana/Marengo' },
- { label: 'America/Indiana/Petersburg', value: 'America/Indiana/Petersburg' },
- { label: 'America/Indiana/Tell_City', value: 'America/Indiana/Tell_City' },
- { label: 'America/Indiana/Vevay', value: 'America/Indiana/Vevay' },
- { label: 'America/Indiana/Vincennes', value: 'America/Indiana/Vincennes' },
- { label: 'America/Indiana/Winamac', value: 'America/Indiana/Winamac' },
- { label: 'America/Inuvik', value: 'America/Inuvik' },
- { label: 'America/Iqaluit', value: 'America/Iqaluit' },
- { label: 'America/Jamaica', value: 'America/Jamaica' },
- { label: 'America/Juneau', value: 'America/Juneau' },
- { label: 'America/Kentucky/Louisville', value: 'America/Kentucky/Louisville' },
- { label: 'America/Kentucky/Monticello', value: 'America/Kentucky/Monticello' },
- { label: 'America/Kralendijk', value: 'America/Kralendijk' },
- { label: 'America/La_Paz', value: 'America/La_Paz' },
- { label: 'America/Lima', value: 'America/Lima' },
- { label: 'America/Los_Angeles', value: 'America/Los_Angeles' },
- { label: 'America/Lower_Princes', value: 'America/Lower_Princes' },
- { label: 'America/Maceio', value: 'America/Maceio' },
- { label: 'America/Managua', value: 'America/Managua' },
- { label: 'America/Manaus', value: 'America/Manaus' },
- { label: 'America/Marigot', value: 'America/Marigot' },
- { label: 'America/Martinique', value: 'America/Martinique' },
- { label: 'America/Matamoros', value: 'America/Matamoros' },
- { label: 'America/Mazatlan', value: 'America/Mazatlan' },
- { label: 'America/Menominee', value: 'America/Menominee' },
- { label: 'America/Merida', value: 'America/Merida' },
- { label: 'America/Metlakatla', value: 'America/Metlakatla' },
- { label: 'America/Mexico_City', value: 'America/Mexico_City' },
- { label: 'America/Miquelon', value: 'America/Miquelon' },
- { label: 'America/Moncton', value: 'America/Moncton' },
- { label: 'America/Monterrey', value: 'America/Monterrey' },
- { label: 'America/Montevideo', value: 'America/Montevideo' },
- { label: 'America/Montserrat', value: 'America/Montserrat' },
- { label: 'America/Nassau', value: 'America/Nassau' },
- { label: 'America/New_York', value: 'America/New_York' },
- { label: 'America/Nipigon', value: 'America/Nipigon' },
- { label: 'America/Nome', value: 'America/Nome' },
- { label: 'America/Noronha', value: 'America/Noronha' },
- { label: 'America/North_Dakota/Beulah', value: 'America/North_Dakota/Beulah' },
- { label: 'America/North_Dakota/Center', value: 'America/North_Dakota/Center' },
- { label: 'America/North_Dakota/New_Salem', value: 'America/North_Dakota/New_Salem' },
- { label: 'America/Ojinaga', value: 'America/Ojinaga' },
- { label: 'America/Panama', value: 'America/Panama' },
- { label: 'America/Pangnirtung', value: 'America/Pangnirtung' },
- { label: 'America/Paramaribo', value: 'America/Paramaribo' },
- { label: 'America/Phoenix', value: 'America/Phoenix' },
- { label: 'America/Port-au-Prince', value: 'America/Port-au-Prince' },
- { label: 'America/Port_of_Spain', value: 'America/Port_of_Spain' },
- { label: 'America/Porto_Velho', value: 'America/Porto_Velho' },
- { label: 'America/Puerto_Rico', value: 'America/Puerto_Rico' },
- { label: 'America/Punta_Arenas', value: 'America/Punta_Arenas' },
- { label: 'America/Rainy_River', value: 'America/Rainy_River' },
- { label: 'America/Rankin_Inlet', value: 'America/Rankin_Inlet' },
- { label: 'America/Recife', value: 'America/Recife' },
- { label: 'America/Regina', value: 'America/Regina' },
- { label: 'America/Resolute', value: 'America/Resolute' },
- { label: 'America/Rio_Branco', value: 'America/Rio_Branco' },
- { label: 'America/Santarem', value: 'America/Santarem' },
- { label: 'America/Santiago', value: 'America/Santiago' },
- { label: 'America/Santo_Domingo', value: 'America/Santo_Domingo' },
- { label: 'America/Sao_Paulo', value: 'America/Sao_Paulo' },
- { label: 'America/Scoresbysund', value: 'America/Scoresbysund' },
- { label: 'America/Sitka', value: 'America/Sitka' },
- { label: 'America/St_Barthelemy', value: 'America/St_Barthelemy' },
- { label: 'America/St_Johns', value: 'America/St_Johns' },
- { label: 'America/St_Kitts', value: 'America/St_Kitts' },
- { label: 'America/St_Lucia', value: 'America/St_Lucia' },
- { label: 'America/St_Thomas', value: 'America/St_Thomas' },
- { label: 'America/St_Vincent', value: 'America/St_Vincent' },
- { label: 'America/Swift_Current', value: 'America/Swift_Current' },
- { label: 'America/Tegucigalpa', value: 'America/Tegucigalpa' },
- { label: 'America/Thule', value: 'America/Thule' },
- { label: 'America/Thunder_Bay', value: 'America/Thunder_Bay' },
- { label: 'America/Tijuana', value: 'America/Tijuana' },
- { label: 'America/Toronto', value: 'America/Toronto' },
- { label: 'America/Tortola', value: 'America/Tortola' },
- { label: 'America/Vancouver', value: 'America/Vancouver' },
- { label: 'America/Whitehorse', value: 'America/Whitehorse' },
- { label: 'America/Winnipeg', value: 'America/Winnipeg' },
- { label: 'America/Yakutat', value: 'America/Yakutat' },
- { label: 'America/Yellowknife', value: 'America/Yellowknife' },
-
- // Antarctica
- { label: 'Antarctica/Casey', value: 'Antarctica/Casey' },
- { label: 'Antarctica/Davis', value: 'Antarctica/Davis' },
- { label: 'Antarctica/DumontDUrville', value: 'Antarctica/DumontDUrville' },
- { label: 'Antarctica/Macquarie', value: 'Antarctica/Macquarie' },
- { label: 'Antarctica/Mawson', value: 'Antarctica/Mawson' },
- { label: 'Antarctica/McMurdo', value: 'Antarctica/McMurdo' },
- { label: 'Antarctica/Palmer', value: 'Antarctica/Palmer' },
- { label: 'Antarctica/Rothera', value: 'Antarctica/Rothera' },
- { label: 'Antarctica/Syowa', value: 'Antarctica/Syowa' },
- { label: 'Antarctica/Troll', value: 'Antarctica/Troll' },
- { label: 'Antarctica/Vostok', value: 'Antarctica/Vostok' },
-
- // Arctic
- { label: 'Arctic/Longyearbyen', value: 'Arctic/Longyearbyen' },
-
- // Asia
- { label: 'Asia/Aden', value: 'Asia/Aden' },
- { label: 'Asia/Almaty', value: 'Asia/Almaty' },
- { label: 'Asia/Amman', value: 'Asia/Amman' },
- { label: 'Asia/Anadyr', value: 'Asia/Anadyr' },
- { label: 'Asia/Aqtau', value: 'Asia/Aqtau' },
- { label: 'Asia/Aqtobe', value: 'Asia/Aqtobe' },
- { label: 'Asia/Ashgabat', value: 'Asia/Ashgabat' },
- { label: 'Asia/Atyrau', value: 'Asia/Atyrau' },
- { label: 'Asia/Baghdad', value: 'Asia/Baghdad' },
- { label: 'Asia/Bahrain', value: 'Asia/Bahrain' },
- { label: 'Asia/Baku', value: 'Asia/Baku' },
- { label: 'Asia/Bangkok', value: 'Asia/Bangkok' },
- { label: 'Asia/Barnaul', value: 'Asia/Barnaul' },
- { label: 'Asia/Beirut', value: 'Asia/Beirut' },
- { label: 'Asia/Bishkek', value: 'Asia/Bishkek' },
- { label: 'Asia/Brunei', value: 'Asia/Brunei' },
- { label: 'Asia/Chita', value: 'Asia/Chita' },
- { label: 'Asia/Choibalsan', value: 'Asia/Choibalsan' },
- { label: 'Asia/Colombo', value: 'Asia/Colombo' },
- { label: 'Asia/Damascus', value: 'Asia/Damascus' },
- { label: 'Asia/Dhaka', value: 'Asia/Dhaka' },
- { label: 'Asia/Dili', value: 'Asia/Dili' },
- { label: 'Asia/Dubai', value: 'Asia/Dubai' },
- { label: 'Asia/Dushanbe', value: 'Asia/Dushanbe' },
- { label: 'Asia/Famagusta', value: 'Asia/Famagusta' },
- { label: 'Asia/Gaza', value: 'Asia/Gaza' },
- { label: 'Asia/Hebron', value: 'Asia/Hebron' },
- { label: 'Asia/Ho_Chi_Minh', value: 'Asia/Ho_Chi_Minh' },
- { label: 'Asia/Hong_Kong', value: 'Asia/Hong_Kong' },
- { label: 'Asia/Hovd', value: 'Asia/Hovd' },
- { label: 'Asia/Irkutsk', value: 'Asia/Irkutsk' },
- { label: 'Asia/Istanbul', value: 'Asia/Istanbul' },
- { label: 'Asia/Jakarta', value: 'Asia/Jakarta' },
- { label: 'Asia/Jayapura', value: 'Asia/Jayapura' },
- { label: 'Asia/Jerusalem', value: 'Asia/Jerusalem' },
- { label: 'Asia/Kabul', value: 'Asia/Kabul' },
- { label: 'Asia/Kamchatka', value: 'Asia/Kamchatka' },
- { label: 'Asia/Karachi', value: 'Asia/Karachi' },
- { label: 'Asia/Kathmandu', value: 'Asia/Kathmandu' },
- { label: 'Asia/Khandyga', value: 'Asia/Khandyga' },
- { label: 'Asia/Kolkata', value: 'Asia/Kolkata' },
- { label: 'Asia/Krasnoyarsk', value: 'Asia/Krasnoyarsk' },
- { label: 'Asia/Kuala_Lumpur', value: 'Asia/Kuala_Lumpur' },
- { label: 'Asia/Kuching', value: 'Asia/Kuching' },
- { label: 'Asia/Kuwait', value: 'Asia/Kuwait' },
- { label: 'Asia/Macau', value: 'Asia/Macau' },
- { label: 'Asia/Magadan', value: 'Asia/Magadan' },
- { label: 'Asia/Makassar', value: 'Asia/Makassar' },
- { label: 'Asia/Manila', value: 'Asia/Manila' },
- { label: 'Asia/Muscat', value: 'Asia/Muscat' },
- { label: 'Asia/Nicosia', value: 'Asia/Nicosia' },
- { label: 'Asia/Novokuznetsk', value: 'Asia/Novokuznetsk' },
- { label: 'Asia/Novosibirsk', value: 'Asia/Novosibirsk' },
- { label: 'Asia/Omsk', value: 'Asia/Omsk' },
- { label: 'Asia/Oral', value: 'Asia/Oral' },
- { label: 'Asia/Phnom_Penh', value: 'Asia/Phnom_Penh' },
- { label: 'Asia/Pontianak', value: 'Asia/Pontianak' },
- { label: 'Asia/Pyongyang', value: 'Asia/Pyongyang' },
- { label: 'Asia/Qatar', value: 'Asia/Qatar' },
- { label: 'Asia/Qostanay', value: 'Asia/Qostanay' },
- { label: 'Asia/Qyzylorda', value: 'Asia/Qyzylorda' },
- { label: 'Asia/Riyadh', value: 'Asia/Riyadh' },
- { label: 'Asia/Sakhalin', value: 'Asia/Sakhalin' },
- { label: 'Asia/Samarkand', value: 'Asia/Samarkand' },
- { label: 'Asia/Seoul', value: 'Asia/Seoul' },
- { label: 'Asia/Shanghai', value: 'Asia/Shanghai' },
- { label: 'Asia/Singapore', value: 'Asia/Singapore' },
- { label: 'Asia/Srednekolymsk', value: 'Asia/Srednekolymsk' },
- { label: 'Asia/Taipei', value: 'Asia/Taipei' },
- { label: 'Asia/Tashkent', value: 'Asia/Tashkent' },
- { label: 'Asia/Tbilisi', value: 'Asia/Tbilisi' },
- { label: 'Asia/Tehran', value: 'Asia/Tehran' },
- { label: 'Asia/Thimphu', value: 'Asia/Thimphu' },
- { label: 'Asia/Tokyo', value: 'Asia/Tokyo' },
- { label: 'Asia/Tomsk', value: 'Asia/Tomsk' },
- { label: 'Asia/Ulaanbaatar', value: 'Asia/Ulaanbaatar' },
- { label: 'Asia/Urumqi', value: 'Asia/Urumqi' },
- { label: 'Asia/Ust-Nera', value: 'Asia/Ust-Nera' },
- { label: 'Asia/Vientiane', value: 'Asia/Vientiane' },
- { label: 'Asia/Vladivostok', value: 'Asia/Vladivostok' },
- { label: 'Asia/Yakutsk', value: 'Asia/Yakutsk' },
- { label: 'Asia/Yangon', value: 'Asia/Yangon' },
- { label: 'Asia/Yekaterinburg', value: 'Asia/Yekaterinburg' },
- { label: 'Asia/Yerevan', value: 'Asia/Yerevan' },
-
- // Atlantic
- { label: 'Atlantic/Azores', value: 'Atlantic/Azores' },
- { label: 'Atlantic/Bermuda', value: 'Atlantic/Bermuda' },
- { label: 'Atlantic/Canary', value: 'Atlantic/Canary' },
- { label: 'Atlantic/Cape_Verde', value: 'Atlantic/Cape_Verde' },
- { label: 'Atlantic/Faroe', value: 'Atlantic/Faroe' },
- { label: 'Atlantic/Madeira', value: 'Atlantic/Madeira' },
- { label: 'Atlantic/Reykjavik', value: 'Atlantic/Reykjavik' },
- { label: 'Atlantic/South_Georgia', value: 'Atlantic/South_Georgia' },
- { label: 'Atlantic/St_Helena', value: 'Atlantic/St_Helena' },
- { label: 'Atlantic/Stanley', value: 'Atlantic/Stanley' },
-
- // Australia
- { label: 'Australia/Adelaide', value: 'Australia/Adelaide' },
- { label: 'Australia/Brisbane', value: 'Australia/Brisbane' },
- { label: 'Australia/Broken_Hill', value: 'Australia/Broken_Hill' },
- { label: 'Australia/Currie', value: 'Australia/Currie' },
- { label: 'Australia/Darwin', value: 'Australia/Darwin' },
- { label: 'Australia/Eucla', value: 'Australia/Eucla' },
- { label: 'Australia/Hobart', value: 'Australia/Hobart' },
- { label: 'Australia/Lindeman', value: 'Australia/Lindeman' },
- { label: 'Australia/Lord_Howe', value: 'Australia/Lord_Howe' },
- { label: 'Australia/Melbourne', value: 'Australia/Melbourne' },
- { label: 'Australia/Perth', value: 'Australia/Perth' },
- { label: 'Australia/Sydney', value: 'Australia/Sydney' },
-
- // Europe
- { label: 'Europe/Amsterdam', value: 'Europe/Amsterdam' },
- { label: 'Europe/Andorra', value: 'Europe/Andorra' },
- { label: 'Europe/Astrakhan', value: 'Europe/Astrakhan' },
- { label: 'Europe/Athens', value: 'Europe/Athens' },
- { label: 'Europe/Belgrade', value: 'Europe/Belgrade' },
- { label: 'Europe/Berlin', value: 'Europe/Berlin' },
- { label: 'Europe/Bratislava', value: 'Europe/Bratislava' },
- { label: 'Europe/Brussels', value: 'Europe/Brussels' },
- { label: 'Europe/Bucharest', value: 'Europe/Bucharest' },
- { label: 'Europe/Budapest', value: 'Europe/Budapest' },
- { label: 'Europe/Busingen', value: 'Europe/Busingen' },
- { label: 'Europe/Chisinau', value: 'Europe/Chisinau' },
- { label: 'Europe/Copenhagen', value: 'Europe/Copenhagen' },
- { label: 'Europe/Dublin', value: 'Europe/Dublin' },
- { label: 'Europe/Gibraltar', value: 'Europe/Gibraltar' },
- { label: 'Europe/Guernsey', value: 'Europe/Guernsey' },
- { label: 'Europe/Helsinki', value: 'Europe/Helsinki' },
- { label: 'Europe/Isle_of_Man', value: 'Europe/Isle_of_Man' },
- { label: 'Europe/Istanbul', value: 'Europe/Istanbul' },
- { label: 'Europe/Jersey', value: 'Europe/Jersey' },
- { label: 'Europe/Kaliningrad', value: 'Europe/Kaliningrad' },
- { label: 'Europe/Kiev', value: 'Europe/Kiev' },
- { label: 'Europe/Kirov', value: 'Europe/Kirov' },
- { label: 'Europe/Lisbon', value: 'Europe/Lisbon' },
- { label: 'Europe/Ljubljana', value: 'Europe/Ljubljana' },
- { label: 'Europe/London', value: 'Europe/London' },
- { label: 'Europe/Luxembourg', value: 'Europe/Luxembourg' },
- { label: 'Europe/Madrid', value: 'Europe/Madrid' },
- { label: 'Europe/Malta', value: 'Europe/Malta' },
- { label: 'Europe/Mariehamn', value: 'Europe/Mariehamn' },
- { label: 'Europe/Minsk', value: 'Europe/Minsk' },
- { label: 'Europe/Monaco', value: 'Europe/Monaco' },
- { label: 'Europe/Moscow', value: 'Europe/Moscow' },
- { label: 'Europe/Oslo', value: 'Europe/Oslo' },
- { label: 'Europe/Paris', value: 'Europe/Paris' },
- { label: 'Europe/Podgorica', value: 'Europe/Podgorica' },
- { label: 'Europe/Prague', value: 'Europe/Prague' },
- { label: 'Europe/Riga', value: 'Europe/Riga' },
- { label: 'Europe/Rome', value: 'Europe/Rome' },
- { label: 'Europe/Samara', value: 'Europe/Samara' },
- { label: 'Europe/San_Marino', value: 'Europe/San_Marino' },
- { label: 'Europe/Sarajevo', value: 'Europe/Sarajevo' },
- { label: 'Europe/Saratov', value: 'Europe/Saratov' },
- { label: 'Europe/Simferopol', value: 'Europe/Simferopol' },
- { label: 'Europe/Skopje', value: 'Europe/Skopje' },
- { label: 'Europe/Sofia', value: 'Europe/Sofia' },
- { label: 'Europe/Stockholm', value: 'Europe/Stockholm' },
- { label: 'Europe/Tallinn', value: 'Europe/Tallinn' },
- { label: 'Europe/Tirane', value: 'Europe/Tirane' },
- { label: 'Europe/Ulyanovsk', value: 'Europe/Ulyanovsk' },
- { label: 'Europe/Uzhgorod', value: 'Europe/Uzhgorod' },
- { label: 'Europe/Vaduz', value: 'Europe/Vaduz' },
- { label: 'Europe/Vatican', value: 'Europe/Vatican' },
- { label: 'Europe/Vienna', value: 'Europe/Vienna' },
- { label: 'Europe/Vilnius', value: 'Europe/Vilnius' },
- { label: 'Europe/Volgograd', value: 'Europe/Volgograd' },
- { label: 'Europe/Warsaw', value: 'Europe/Warsaw' },
- { label: 'Europe/Zagreb', value: 'Europe/Zagreb' },
- { label: 'Europe/Zaporozhye', value: 'Europe/Zaporozhye' },
- { label: 'Europe/Zurich', value: 'Europe/Zurich' },
-
- // Indian
- { label: 'Indian/Antananarivo', value: 'Indian/Antananarivo' },
- { label: 'Indian/Chagos', value: 'Indian/Chagos' },
- { label: 'Indian/Christmas', value: 'Indian/Christmas' },
- { label: 'Indian/Cocos', value: 'Indian/Cocos' },
- { label: 'Indian/Comoro', value: 'Indian/Comoro' },
- { label: 'Indian/Kerguelen', value: 'Indian/Kerguelen' },
- { label: 'Indian/Mahe', value: 'Indian/Mahe' },
- { label: 'Indian/Maldives', value: 'Indian/Maldives' },
- { label: 'Indian/Mauritius', value: 'Indian/Mauritius' },
- { label: 'Indian/Mayotte', value: 'Indian/Mayotte' },
- { label: 'Indian/Reunion', value: 'Indian/Reunion' },
-
- // Pacific
- { label: 'Pacific/Apia', value: 'Pacific/Apia' },
- { label: 'Pacific/Auckland', value: 'Pacific/Auckland' },
- { label: 'Pacific/Bougainville', value: 'Pacific/Bougainville' },
- { label: 'Pacific/Chatham', value: 'Pacific/Chatham' },
- { label: 'Pacific/Chuuk', value: 'Pacific/Chuuk' },
- { label: 'Pacific/Easter', value: 'Pacific/Easter' },
- { label: 'Pacific/Efate', value: 'Pacific/Efate' },
- { label: 'Pacific/Enderbury', value: 'Pacific/Enderbury' },
- { label: 'Pacific/Fakaofo', value: 'Pacific/Fakaofo' },
- { label: 'Pacific/Fiji', value: 'Pacific/Fiji' },
- { label: 'Pacific/Funafuti', value: 'Pacific/Funafuti' },
- { label: 'Pacific/Galapagos', value: 'Pacific/Galapagos' },
- { label: 'Pacific/Gambier', value: 'Pacific/Gambier' },
- { label: 'Pacific/Guadalcanal', value: 'Pacific/Guadalcanal' },
- { label: 'Pacific/Guam', value: 'Pacific/Guam' },
- { label: 'Pacific/Honolulu', value: 'Pacific/Honolulu' },
- { label: 'Pacific/Kiritimati', value: 'Pacific/Kiritimati' },
- { label: 'Pacific/Kosrae', value: 'Pacific/Kosrae' },
- { label: 'Pacific/Kwajalein', value: 'Pacific/Kwajalein' },
- { label: 'Pacific/Majuro', value: 'Pacific/Majuro' },
- { label: 'Pacific/Marquesas', value: 'Pacific/Marquesas' },
- { label: 'Pacific/Midway', value: 'Pacific/Midway' },
- { label: 'Pacific/Nauru', value: 'Pacific/Nauru' },
- { label: 'Pacific/Niue', value: 'Pacific/Niue' },
- { label: 'Pacific/Norfolk', value: 'Pacific/Norfolk' },
- { label: 'Pacific/Noumea', value: 'Pacific/Noumea' },
- { label: 'Pacific/Pago_Pago', value: 'Pacific/Pago_Pago' },
- { label: 'Pacific/Palau', value: 'Pacific/Palau' },
- { label: 'Pacific/Pitcairn', value: 'Pacific/Pitcairn' },
- { label: 'Pacific/Pohnpei', value: 'Pacific/Pohnpei' },
- { label: 'Pacific/Port_Moresby', value: 'Pacific/Port_Moresby' },
- { label: 'Pacific/Rarotonga', value: 'Pacific/Rarotonga' },
- { label: 'Pacific/Saipan', value: 'Pacific/Saipan' },
- { label: 'Pacific/Tahiti', value: 'Pacific/Tahiti' },
- { label: 'Pacific/Tarawa', value: 'Pacific/Tarawa' },
- { label: 'Pacific/Tongatapu', value: 'Pacific/Tongatapu' },
- { label: 'Pacific/Wake', value: 'Pacific/Wake' },
- { label: 'Pacific/Wallis', value: 'Pacific/Wallis' },
-
- // UTC
- { label: 'UTC', value: 'UTC' },
-]
diff --git a/apps/cms/src/utilities/toKebabCase.ts b/apps/cms/src/utilities/toKebabCase.ts
deleted file mode 100644
index 228865f1231..00000000000
--- a/apps/cms/src/utilities/toKebabCase.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export const toKebabCase = (string: string): string =>
- string
- ?.replace(/([a-z])([A-Z])/g, '$1-$2')
- .replace(/\s+/g, '-')
- .toLowerCase()
diff --git a/apps/cms/src/utilities/ui.ts b/apps/cms/src/utilities/ui.ts
deleted file mode 100644
index 1607416e52f..00000000000
--- a/apps/cms/src/utilities/ui.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Utility functions for UI components automatically added by ShadCN and used in a few of our frontend components and blocks.
- *
- * Other functions may be exported from here in the future or by installing other shadcn components.
- */
-import { clsx, type ClassValue } from 'clsx'
-import { twMerge } from 'tailwind-merge'
-
-export function cn(...inputs: ClassValue[]) {
- return twMerge(clsx(inputs))
-}
diff --git a/apps/cms/src/utilities/useClickableCard.ts b/apps/cms/src/utilities/useClickableCard.ts
deleted file mode 100644
index 742ffa72345..00000000000
--- a/apps/cms/src/utilities/useClickableCard.ts
+++ /dev/null
@@ -1,108 +0,0 @@
-'use client'
-
-import { useRouter } from 'next/navigation'
-import type { RefObject } from 'react'
-import { useCallback, useEffect, useRef } from 'react'
-
-type UseClickableCardType<T extends HTMLElement> = {
- card: {
- ref: RefObject<T | null>
- }
- link: {
- ref: RefObject<HTMLAnchorElement | null>
- }
-}
-
-interface Props {
- external?: boolean
- newTab?: boolean
- scroll?: boolean
-}
-
-function useClickableCard<T extends HTMLElement>({
- external = false,
- newTab = false,
- scroll = true,
-}: Props): UseClickableCardType<T> {
- const router = useRouter()
- const card = useRef<T>(null)
- const link = useRef<HTMLAnchorElement>(null)
- const timeDown = useRef<number>(0)
- const hasActiveParent = useRef<boolean>(false)
- const pressedButton = useRef<number>(0)
-
- const handleMouseDown = useCallback(
- (e: MouseEvent) => {
- if (e.target) {
- const target = e.target as Element
-
- const timeNow = +new Date()
- const parent = target?.closest('a')
-
- pressedButton.current = e.button
-
- if (!parent) {
- hasActiveParent.current = false
- timeDown.current = timeNow
- } else {
- hasActiveParent.current = true
- }
- }
- },
- // eslint-disable-next-line react-hooks/exhaustive-deps
- [router, card, link, timeDown]
- )
-
- const handleMouseUp = useCallback(
- (e: MouseEvent) => {
- if (link.current?.href) {
- const timeNow = +new Date()
- const difference = timeNow - timeDown.current
-
- if (link.current?.href && difference <= 250) {
- if (!hasActiveParent.current && pressedButton.current === 0 && !e.ctrlKey) {
- if (external) {
- const target = newTab ? '_blank' : '_self'
- window.open(link.current.href, target)
- } else {
- router.push(link.current.href, { scroll })
- }
- }
- }
- }
- },
- // eslint-disable-next-line react-hooks/exhaustive-deps
- [router, card, link, timeDown]
- )
-
- useEffect(() => {
- const cardNode = card.current
-
- const abortController = new AbortController()
-
- if (cardNode) {
- cardNode.addEventListener('mousedown', handleMouseDown, {
- signal: abortController.signal,
- })
- cardNode.addEventListener('mouseup', handleMouseUp, {
- signal: abortController.signal,
- })
- }
-
- return () => {
- abortController.abort()
- }
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [card, link, router])
-
- return {
- card: {
- ref: card,
- },
- link: {
- ref: link,
- },
- }
-}
-
-export default useClickableCard
diff --git a/apps/cms/src/utilities/useDebounce.ts b/apps/cms/src/utilities/useDebounce.ts
deleted file mode 100644
index 3c84dc99d5c..00000000000
--- a/apps/cms/src/utilities/useDebounce.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { useEffect, useState } from 'react'
-
-export function useDebounce<T>(value: T, delay = 200): T {
- const [debouncedValue, setDebouncedValue] = useState<T>(value)
-
- useEffect(() => {
- const handler = setTimeout(() => {
- setDebouncedValue(value)
- }, delay)
-
- return () => {
- clearTimeout(handler)
- }
- }, [value, delay])
-
- return debouncedValue
-}
diff --git a/apps/cms/supabase/.gitignore b/apps/cms/supabase/.gitignore
deleted file mode 100644
index ad9264f0b14..00000000000
--- a/apps/cms/supabase/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-# Supabase
-.branches
-.temp
-
-# dotenvx
-.env.keys
-.env.local
-.env.*.local
diff --git a/apps/cms/supabase/config.toml b/apps/cms/supabase/config.toml
deleted file mode 100644
index 1ae9e92ecd7..00000000000
--- a/apps/cms/supabase/config.toml
+++ /dev/null
@@ -1,337 +0,0 @@
-# For detailed configuration reference documentation, visit:
-# https://supabase.com/docs/guides/local-development/cli/config
-# A string used to distinguish different Supabase projects on the same host. Defaults to the
-# working directory name when running `supabase init`.
-project_id = "cms"
-
-[remotes.prod]
-project_id = "koovxkbhviltdcwwaqvc"
-
-[api]
-enabled = true
-# Port to use for the API URL.
-port = 34321
-# Schemas to expose in your API. Tables, views and stored procedures in this schema will get API
-# endpoints. `public` and `graphql_public` schemas are included by default.
-schemas = ["public", "graphql_public"]
-# Extra schemas to add to the search_path of every request.
-extra_search_path = ["public", "extensions"]
-# The maximum number of rows returns from a view, table, or stored procedure. Limits payload size
-# for accidental or malicious requests.
-max_rows = 1000
-
-[api.tls]
-# Enable HTTPS endpoints locally using a self-signed certificate.
-enabled = false
-
-[db]
-# Port to use for the local database URL.
-port = 34322
-# Port used by db diff command to initialize the shadow database.
-shadow_port = 34320
-# The database major version to use. This has to be the same as your remote database's. Run `SHOW
-# server_version;` on the remote database to check.
-major_version = 15
-
-[db.pooler]
-enabled = false
-# Port to use for the local connection pooler.
-port = 34329
-# Specifies when a server connection can be reused by other clients.
-# Configure one of the supported pooler modes: `transaction`, `session`.
-pool_mode = "transaction"
-# How many server connections to allow per user/database pair.
-default_pool_size = 20
-# Maximum number of client connections allowed.
-max_client_conn = 100
-
-# [db.vault]
-# secret_key = "env(SECRET_VALUE)"
-
-[db.migrations]
-# If disabled, migrations will be skipped during a db push or reset.
-enabled = true
-# Specifies an ordered list of schema files that describe your database.
-# Supports glob patterns relative to supabase directory: "./schemas/*.sql"
-schema_paths = []
-
-[db.seed]
-# If enabled, seeds the database after migrations during a db reset.
-enabled = true
-# Specifies an ordered list of seed files to load during db reset.
-# Supports glob patterns relative to supabase directory: "./seeds/*.sql"
-sql_paths = ["./seed.sql"]
-
-[db.network_restrictions]
-# Enable management of network restrictions.
-enabled = false
-# List of IPv4 CIDR blocks allowed to connect to the database.
-# Defaults to allow all IPv4 connections. Set empty array to block all IPs.
-allowed_cidrs = ["0.0.0.0/0"]
-# List of IPv6 CIDR blocks allowed to connect to the database.
-# Defaults to allow all IPv6 connections. Set empty array to block all IPs.
-allowed_cidrs_v6 = ["::/0"]
-
-[realtime]
-enabled = true
-# Bind realtime via either IPv4 or IPv6. (default: IPv4)
-# ip_version = "IPv6"
-# The maximum length in bytes of HTTP request headers. (default: 4096)
-# max_header_length = 4096
-
-[studio]
-enabled = true
-# Port to use for Supabase Studio.
-port = 34323
-# External URL of the API server that frontend connects to.
-api_url = "http://127.0.0.1"
-# OpenAI API Key to use for Supabase AI in the Supabase Studio.
-openai_api_key = "env(OPENAI_API_KEY)"
-
-# Email testing server. Emails sent with the local dev setup are not actually sent - rather, they
-# are monitored, and you can view the emails that would have been sent from the web interface.
-[inbucket]
-enabled = true
-# Port to use for the email testing server web interface.
-port = 34324
-# Uncomment to expose additional ports for testing user applications that send emails.
-# smtp_port = 34325
-# pop3_port = 34326
-# admin_email = "[email protected]"
-# sender_name = "Admin"
-
-[storage]
-enabled = true
-# The maximum file size allowed (e.g. "5MB", "500KB").
-file_size_limit = "50MiB"
-
-# Image transformation API is available to Supabase Pro plan.
-# [storage.image_transformation]
-# enabled = true
-
-# Uncomment to configure local storage buckets
-# [storage.buckets.images]
-# public = false
-# file_size_limit = "50MiB"
-# allowed_mime_types = ["image/png", "image/jpeg"]
-# objects_path = "./images"
-
-[auth]
-enabled = true
-# The base URL of your website. Used as an allow-list for redirects and for constructing URLs used
-# in emails.
-site_url = "http://127.0.0.1:3000"
-# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
-additional_redirect_urls = ["https://127.0.0.1:3000"]
-# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).
-jwt_expiry = 3600
-# Path to JWT signing key. DO NOT commit your signing keys file to git.
-# signing_keys_path = "./signing_keys.json"
-# If disabled, the refresh token will never expire.
-enable_refresh_token_rotation = true
-# Allows refresh tokens to be reused after expiry, up to the specified interval in seconds.
-# Requires enable_refresh_token_rotation = true.
-refresh_token_reuse_interval = 10
-# Allow/disallow new user signups to your project.
-enable_signup = true
-# Allow/disallow anonymous sign-ins to your project.
-enable_anonymous_sign_ins = false
-# Allow/disallow testing manual linking of accounts
-enable_manual_linking = false
-# Passwords shorter than this value will be rejected as weak. Minimum 6, recommended 8 or more.
-minimum_password_length = 6
-# Passwords that do not meet the following requirements will be rejected as weak. Supported values
-# are: `letters_digits`, `lower_upper_letters_digits`, `lower_upper_letters_digits_symbols`
-password_requirements = ""
-
-[auth.rate_limit]
-# Number of emails that can be sent per hour. Requires auth.email.smtp to be enabled.
-email_sent = 2
-# Number of SMS messages that can be sent per hour. Requires auth.sms to be enabled.
-sms_sent = 30
-# Number of anonymous sign-ins that can be made per hour per IP address. Requires enable_anonymous_sign_ins = true.
-anonymous_users = 30
-# Number of sessions that can be refreshed in a 5 minute interval per IP address.
-token_refresh = 150
-# Number of sign up and sign-in requests that can be made in a 5 minute interval per IP address (excludes anonymous users).
-sign_in_sign_ups = 30
-# Number of OTP / Magic link verifications that can be made in a 5 minute interval per IP address.
-token_verifications = 30
-# Number of Web3 logins that can be made in a 5 minute interval per IP address.
-web3 = 30
-
-# Configure one of the supported captcha providers: `hcaptcha`, `turnstile`.
-# [auth.captcha]
-# enabled = true
-# provider = "hcaptcha"
-# secret = ""
-
-[auth.email]
-# Allow/disallow new user signups via email to your project.
-enable_signup = true
-# If enabled, a user will be required to confirm any email change on both the old, and new email
-# addresses. If disabled, only the new email is required to confirm.
-double_confirm_changes = true
-# If enabled, users need to confirm their email address before signing in.
-enable_confirmations = false
-# If enabled, users will need to reauthenticate or have logged in recently to change their password.
-secure_password_change = false
-# Controls the minimum amount of time that must pass before sending another signup confirmation or password reset email.
-max_frequency = "1s"
-# Number of characters used in the email OTP.
-otp_length = 6
-# Number of seconds before the email OTP expires (defaults to 1 hour).
-otp_expiry = 3600
-
-# Use a production-ready SMTP server
-# [auth.email.smtp]
-# enabled = true
-# host = "smtp.sendgrid.net"
-# port = 587
-# user = "apikey"
-# pass = "env(SENDGRID_API_KEY)"
-# admin_email = "[email protected]"
-# sender_name = "Admin"
-
-# Uncomment to customize email template
-# [auth.email.template.invite]
-# subject = "You have been invited"
-# content_path = "./supabase/templates/invite.html"
-
-[auth.sms]
-# Allow/disallow new user signups via SMS to your project.
-enable_signup = false
-# If enabled, users need to confirm their phone number before signing in.
-enable_confirmations = false
-# Template for sending OTP to users
-template = "Your code is {{ .Code }}"
-# Controls the minimum amount of time that must pass before sending another sms otp.
-max_frequency = "5s"
-
-# Use pre-defined map of phone number to OTP for testing.
-# [auth.sms.test_otp]
-# 4152127777 = "123456"
-
-# Configure logged in session timeouts.
-# [auth.sessions]
-# Force log out after the specified duration.
-# timebox = "24h"
-# Force log out if the user has been inactive longer than the specified duration.
-# inactivity_timeout = "8h"
-
-# This hook runs before a new user is created and allows developers to reject the request based on the incoming user object.
-# [auth.hook.before_user_created]
-# enabled = true
-# uri = "pg-functions://postgres/auth/before-user-created-hook"
-
-# This hook runs before a token is issued and allows you to add additional claims based on the authentication method used.
-# [auth.hook.custom_access_token]
-# enabled = true
-# uri = "pg-functions://<database>/<schema>/<hook_name>"
-
-# Configure one of the supported SMS providers: `twilio`, `twilio_verify`, `messagebird`, `textlocal`, `vonage`.
-[auth.sms.twilio]
-enabled = false
-account_sid = ""
-message_service_sid = ""
-# DO NOT commit your Twilio auth token to git. Use environment variable substitution instead:
-auth_token = "env(SUPABASE_AUTH_SMS_TWILIO_AUTH_TOKEN)"
-
-# Multi-factor-authentication is available to Supabase Pro plan.
-[auth.mfa]
-# Control how many MFA factors can be enrolled at once per user.
-max_enrolled_factors = 10
-
-# Control MFA via App Authenticator (TOTP)
-[auth.mfa.totp]
-enroll_enabled = false
-verify_enabled = false
-
-# Configure MFA via Phone Messaging
-[auth.mfa.phone]
-enroll_enabled = false
-verify_enabled = false
-otp_length = 6
-template = "Your code is {{ .Code }}"
-max_frequency = "5s"
-
-# Configure MFA via WebAuthn
-# [auth.mfa.web_authn]
-# enroll_enabled = true
-# verify_enabled = true
-
-# Use an external OAuth provider. The full list of providers are: `apple`, `azure`, `bitbucket`,
-# `discord`, `facebook`, `github`, `gitlab`, `google`, `keycloak`, `linkedin_oidc`, `notion`, `twitch`,
-# `twitter`, `slack`, `spotify`, `workos`, `zoom`.
-[auth.external.apple]
-enabled = false
-client_id = ""
-# DO NOT commit your OAuth provider secret to git. Use environment variable substitution instead:
-secret = "env(SUPABASE_AUTH_EXTERNAL_APPLE_SECRET)"
-# Overrides the default auth redirectUrl.
-redirect_uri = ""
-# Overrides the default auth provider URL. Used to support self-hosted gitlab, single-tenant Azure,
-# or any other third-party OIDC providers.
-url = ""
-# If enabled, the nonce check will be skipped. Required for local sign in with Google auth.
-skip_nonce_check = false
-
-# Allow Solana wallet holders to sign in to your project via the Sign in with Solana (SIWS, EIP-4361) standard.
-# You can configure "web3" rate limit in the [auth.rate_limit] section and set up [auth.captcha] if self-hosting.
-[auth.web3.solana]
-enabled = false
-
-# Use Firebase Auth as a third-party provider alongside Supabase Auth.
-[auth.third_party.firebase]
-enabled = false
-# project_id = "my-firebase-project"
-
-# Use Auth0 as a third-party provider alongside Supabase Auth.
-[auth.third_party.auth0]
-enabled = false
-# tenant = "my-auth0-tenant"
-# tenant_region = "us"
-
-# Use AWS Cognito (Amplify) as a third-party provider alongside Supabase Auth.
-[auth.third_party.aws_cognito]
-enabled = false
-# user_pool_id = "my-user-pool-id"
-# user_pool_region = "us-east-1"
-
-# Use Clerk as a third-party provider alongside Supabase Auth.
-[auth.third_party.clerk]
-enabled = false
-# Obtain from https://clerk.com/setup/supabase
-# domain = "example.clerk.accounts.dev"
-
-[edge_runtime]
-enabled = false
-# Configure one of the supported request policies: `oneshot`, `per_worker`.
-# Use `oneshot` for hot reload, or `per_worker` for load testing.
-policy = "oneshot"
-# Port to attach the Chrome inspector for debugging edge functions.
-inspector_port = 8083
-# The Deno major version to use.
-deno_version = 1
-
-# [edge_runtime.secrets]
-# secret_key = "env(SECRET_VALUE)"
-
-[analytics]
-enabled = false
-port = 34327
-# Configure one of the supported backends: `postgres`, `bigquery`.
-backend = "postgres"
-
-# Experimental features may be deprecated any time
-[experimental]
-# Configures Postgres storage engine to use OrioleDB (S3)
-orioledb_version = ""
-# Configures S3 bucket URL, eg. <bucket_name>.s3-<region>.amazonaws.com
-s3_host = "env(S3_HOST)"
-# Configures S3 bucket region, eg. us-east-1
-s3_region = "env(S3_REGION)"
-# Configures AWS_ACCESS_KEY_ID for S3 bucket
-s3_access_key = "env(S3_ACCESS_KEY)"
-# Configures AWS_SECRET_ACCESS_KEY for S3 bucket
-s3_secret_key = "env(S3_SECRET_KEY)"
diff --git a/apps/cms/tailwind.config.mjs b/apps/cms/tailwind.config.mjs
deleted file mode 100644
index 44469ab102a..00000000000
--- a/apps/cms/tailwind.config.mjs
+++ /dev/null
@@ -1,153 +0,0 @@
-import tailwindcssAnimate from 'tailwindcss-animate'
-import typography from '@tailwindcss/typography'
-
-/** @type {import('tailwindcss').Config} */
-const config = {
- content: [
- './pages/**/*.{ts,tsx}',
- './components/**/*.{ts,tsx}',
- './app/**/*.{ts,tsx}',
- './src/**/*.{ts,tsx}',
- ],
- darkMode: ['selector', '[data-theme="dark"]'],
- plugins: [tailwindcssAnimate, typography],
- prefix: '',
- safelist: [
- 'lg:col-span-4',
- 'lg:col-span-6',
- 'lg:col-span-8',
- 'lg:col-span-12',
- 'border-border',
- 'bg-card',
- 'border-error',
- 'bg-error/30',
- 'border-success',
- 'bg-success/30',
- 'border-warning',
- 'bg-warning/30',
- ],
- theme: {
- container: {
- center: true,
- padding: {
- '2xl': '2rem',
- DEFAULT: '1rem',
- lg: '2rem',
- md: '2rem',
- sm: '1rem',
- xl: '2rem',
- },
- screens: {
- '2xl': '86rem',
- lg: '64rem',
- md: '48rem',
- sm: '40rem',
- xl: '80rem',
- },
- },
- extend: {
- animation: {
- 'accordion-down': 'accordion-down 0.2s ease-out',
- 'accordion-up': 'accordion-up 0.2s ease-out',
- },
- borderRadius: {
- lg: 'var(--radius)',
- md: 'calc(var(--radius) - 2px)',
- sm: 'calc(var(--radius) - 4px)',
- },
- colors: {
- accent: {
- DEFAULT: 'hsl(var(--accent))',
- foreground: 'hsl(var(--accent-foreground))',
- },
- background: 'hsl(var(--background))',
- border: 'hsla(var(--border))',
- card: {
- DEFAULT: 'hsl(var(--card))',
- foreground: 'hsl(var(--card-foreground))',
- },
- destructive: {
- DEFAULT: 'hsl(var(--destructive))',
- foreground: 'hsl(var(--destructive-foreground))',
- },
- foreground: 'hsl(var(--foreground))',
- input: 'hsl(var(--input))',
- muted: {
- DEFAULT: 'hsl(var(--muted))',
- foreground: 'hsl(var(--muted-foreground))',
- },
- popover: {
- DEFAULT: 'hsl(var(--popover))',
- foreground: 'hsl(var(--popover-foreground))',
- },
- primary: {
- DEFAULT: 'hsl(var(--primary))',
- foreground: 'hsl(var(--primary-foreground))',
- },
- ring: 'hsl(var(--ring))',
- secondary: {
- DEFAULT: 'hsl(var(--secondary))',
- foreground: 'hsl(var(--secondary-foreground))',
- },
- success: 'hsl(var(--success))',
- error: 'hsl(var(--error))',
- warning: 'hsl(var(--warning))',
- },
- fontFamily: {
- mono: ['var(--font-geist-mono)'],
- sans: ['var(--font-geist-sans)'],
- },
- keyframes: {
- 'accordion-down': {
- from: { height: '0' },
- to: { height: 'var(--radix-accordion-content-height)' },
- },
- 'accordion-up': {
- from: { height: 'var(--radix-accordion-content-height)' },
- to: { height: '0' },
- },
- },
- typography: () => ({
- DEFAULT: {
- css: [
- {
- '--tw-prose-body': 'var(--text)',
- '--tw-prose-headings': 'var(--text)',
- h1: {
- fontWeight: 'normal',
- marginBottom: '0.25em',
- },
- },
- ],
- },
- base: {
- css: [
- {
- h1: {
- fontSize: '2.5rem',
- },
- h2: {
- fontSize: '1.25rem',
- fontWeight: 600,
- },
- },
- ],
- },
- md: {
- css: [
- {
- h1: {
- fontSize: '3.5rem',
- },
- h2: {
- fontSize: '1.5rem',
- },
- },
- ],
- },
- }),
- },
- },
-}
-
-export default config
diff --git a/apps/cms/tsconfig.json b/apps/cms/tsconfig.json
deleted file mode 100644
index b9a9542387c..00000000000
--- a/apps/cms/tsconfig.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "compilerOptions": {
- "strict": true,
- "noUncheckedIndexedAccess": true,
- "noImplicitOverride": true,
- "esModuleInterop": true,
- "target": "ES2022",
- "lib": ["DOM", "DOM.Iterable", "ES2022"],
- "allowJs": true,
- "skipLibCheck": true,
- "strictNullChecks": true,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "incremental": true,
- "jsx": "preserve",
- "module": "esnext",
- "moduleResolution": "bundler",
- "allowImportingTsExtensions": true,
- "resolveJsonModule": true,
- "sourceMap": true,
- "isolatedModules": true,
- "plugins": [
- {
- "name": "next"
- }
- ],
- "paths": {
- "@payload-config": ["./src/payload.config.ts"],
- "react": ["./node_modules/@types/react"],
- "@/*": ["./src/*"]
- }
- },
- "include": [
- "**/*.ts",
- "**/*.tsx",
- ".next/types/**/*.ts",
- "redirects.js",
- "next.config.js",
- "next-sitemap.config.cjs"
- ],
- "exclude": ["node_modules"]
-}
diff --git a/apps/cms/vercel.json b/apps/cms/vercel.json
deleted file mode 100644
index 650a555c7f3..00000000000
--- a/apps/cms/vercel.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "buildCommand": "pnpm vercel-build",
- "installCommand": "pnpm install"
-}
diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjs
index 6f92ead8e81..f28c6463698 100644
--- a/apps/www/next.config.mjs
+++ b/apps/www/next.config.mjs
@@ -77,31 +77,6 @@ const nextConfig = {
},
async headers() {
return [
- // Allow CMS preview iframe embedding by omitting X-Frame-Options for blog routes
- {
- source: '/blog/:slug*',
- headers: [
- {
- key: 'X-Robots-Tag',
- value: 'all',
- },
- // No X-Frame-Options header to allow iframe embedding
- ],
- },
- // Default X-Frame-Options for all other paths
- {
- source: '/((?!blog|api-v2/cms/preview).*)',
- headers: [
- {
- key: 'X-Robots-Tag',
- value: 'all',
- },
- {
- key: 'X-Frame-Options',
- value: 'SAMEORIGIN',
- },
- ],
- },
{
source: '/.well-known/vercel/flags',
headers: [
diff --git a/package.json b/package.json
index 82556d44d35..2968550a6cf 100644
--- a/package.json
+++ b/package.json
@@ -8,13 +8,11 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "turbo run build",
- "build:cms": "turbo run build --filter=cms --parallel",
"build:studio": "turbo run build --filter=studio",
"build:design-system": "turbo run build --filter=design-system",
"build:docs": "turbo run build --filter=docs",
"clean": "turbo run clean --parallel && rimraf -G node_modules/{*,.bin,.modules.yaml}",
"dev": "turbo run dev --parallel",
- "dev:cms": "turbo run dev --filter=cms --parallel",
"dev:studio": "turbo run dev --filter=studio --parallel",
"dev:studio-local": "pnpm setup:cli && NODE_ENV=test pnpm --prefix ./apps/studio dev",
"dev:docs": "turbo run dev --filter=docs --parallel",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7251422ba4a..ff51e819229 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -126,120 +126,6 @@ importers:
specifier: 'catalog:'
version: 3.25.76
- apps/cms:
- dependencies:
- '@payloadcms/admin-bar':
- specifier: ^3.52.0
- '@payloadcms/db-postgres':
- specifier: ^3.73.0
- '@payloadcms/live-preview-react':
- specifier: ^3.52.0
- '@payloadcms/next':
- specifier: 3.52.0
- '@payloadcms/payload-cloud':
- specifier: 3.60.0
- '@payloadcms/plugin-form-builder':
- specifier: 3.52.0
- '@payloadcms/plugin-nested-docs':
- specifier: 3.52.0
- '@payloadcms/plugin-seo':
- specifier: 3.52.0
- '@payloadcms/richtext-lexical':
- specifier: 3.52.0
- '@payloadcms/storage-s3':
- specifier: 3.52.0
- '@payloadcms/ui':
- specifier: 3.52.0
- '@radix-ui/react-checkbox':
- specifier: ^1.3.2
- '@radix-ui/react-label':
- specifier: ^2.1.7
- '@radix-ui/react-select':
- specifier: ^2.0.0
- '@radix-ui/react-slot':
- specifier: ^1.2.3
- version: 1.2.3(@types/[email protected])([email protected])
- '@types/node':
- specifier: 'catalog:'
- version: 22.13.14
- '@types/react':
- specifier: 'catalog:'
- version: 18.3.3
- '@types/react-dom':
- specifier: 'catalog:'
- version: 18.3.0
- class-variance-authority:
- specifier: ^0.7.1
- version: 0.7.1
- clsx:
- specifier: ^2.1.1
- version: 2.1.1
- common:
- specifier: workspace:*
- version: link:../../packages/common
- config:
- specifier: workspace:*
- version: link:../../packages/config
- cross-env:
- specifier: ^7.0.3
- version: 7.0.3
- eslint-config-supabase:
- specifier: workspace:*
- version: link:../../packages/eslint-config-supabase
- graphql:
- specifier: ^16.11.0
- version: 16.11.0
- image-size:
- specifier: 2.0.2
- version: 2.0.2
- lucide-react:
- specifier: ^0.511.0
- version: 0.511.0([email protected])
- next:
- specifier: 'catalog:'
- payload:
- specifier: 3.52.0
- pg:
- specifier: ^8.16.3
- version: 8.16.3
- prism-react-renderer:
- specifier: ^2.3.1
- version: 2.3.1([email protected])
- react:
- specifier: 'catalog:'
- version: 18.3.1
- react-dom:
- specifier: 'catalog:'
- version: 18.3.1([email protected])
- sharp:
- specifier: ~0.34.5
- version: 0.34.5
- tailwind-merge:
- specifier: ^1.13.2
- version: 1.14.0
- tsx:
- specifier: 'catalog:'
- version: 4.20.3
- typescript:
- specifier: 'catalog:'
- version: 5.9.2
-
apps/design-system:
dependencies:
'@hookform/resolvers':
@@ -2929,10 +2815,6 @@ packages:
resolution: {integrity: sha512-TMilPqXyii1AsiEii6l6ubRzbo76p6oshUSYPaKsmXDavyMLqjzVDkcp3pHp5ELMUNJHATcEOGxKTTsX9yYhGg==}
- '@apidevtools/[email protected]':
- resolution: {integrity: sha512-60vepv88RwcJtSHrD6MjIL6Ta3SOYbgfnkHb+ppAVK+o9mXprRtulx7VlRl3lN3bbvysAfCS7WMVfhUYemB0IQ==}
- engines: {node: '>= 16'}
-
'@apm-js-collab/[email protected]':
resolution: {integrity: sha512-YRjJjNq5KFSjDUoqu5pFUWrrsvGOxl6c3bu+uMFc9HNNptZ2rNU/TI2nLw4jnhQNtka972Ee2m3uqbvDQtPeCA==}
@@ -2949,18 +2831,9 @@ packages:
resolution: {integrity: sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==}
engines: {node: '>=16.0.0'}
- '@aws-crypto/[email protected]':
- resolution: {integrity: sha512-+iWb8qaHLYKrNvGRbiYRHSdKRWhto5XlZUEBwDjYNf+ly5SVYG6zEoYIdxvf5R3zyeP16w4PLBn3rH1xc74Rag==}
-
- '@aws-crypto/[email protected]':
- resolution: {integrity: sha512-OH6lveCFfcDjX4dbAvCFSYUjJZjDr/3XJ3xHtjn3Oj5b9RjojQo8npoLeA/bNwkOkrSQ0wgrHzXk4tDRxGKJeg==}
-
'@aws-crypto/[email protected]':
resolution: {integrity: sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw==}
- '@aws-crypto/[email protected]':
- resolution: {integrity: sha512-Nr1QJIbW/afYYGzYvrF70LtaHrIRtd4TNAglX8BvlfxJLZ45SAmueIKYl5tWoNBPzp65ymXGFK0Bb1vZUpuc9g==}
-
'@aws-crypto/[email protected]':
resolution: {integrity: sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==}
engines: {node: '>=16.0.0'}
@@ -2968,9 +2841,6 @@ packages:
'@aws-crypto/[email protected]':
resolution: {integrity: sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg==}
- '@aws-crypto/[email protected]':
- resolution: {integrity: sha512-H8PjG5WJ4wz0UXAFXeJjWCW1vkvIJ3qUUD+rGRwJ2/hj+xT58Qle2MTql/2MGzkU+1JLAFuR6aJpLAjHwhmwwg==}
-
'@aws-crypto/[email protected]':
resolution: {integrity: sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==}
@@ -2978,10 +2848,6 @@ packages:
resolution: {integrity: sha512-YhhQNVmHykPC6h6Xj60BMG7ELxxlynwNW2wK+8HJRiT62nYhbDyHypY9W2zNshqh/SE+5gLvwt1sXAu7KHGWmQ==}
engines: {node: '>=18.0.0'}
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-Cti+zj1lqvQIScXFQv8/t1xo3pvcvk/ObmGIbyLzfgcYpKMHaIWhzhi6aN+z4dYEv1EwrukC9tNoqScyShc5tw==}
- engines: {node: '>=18.0.0'}
-
'@aws-sdk/[email protected]':
resolution: {integrity: sha512-KP5LjcFNfoVakVjvBRFuQ2B4GLSkOYRpzsoloy32MFyT/IJaJg+NhVtFPq5XpJ2FiVJFV1+8qwp9wRzxnC0h1A==}
engines: {node: '>=18.0.0'}
@@ -3066,32 +2932,10 @@ packages:
resolution: {integrity: sha512-Q16Yf52L9QWsRhaaG/Q6eUkUWGUrbKTM2ba8at8ZZ8tsGaKO5pYgXUTErxB1bin11S6JszinbLqUf9G9oUExxA==}
engines: {node: '>=18.0.0'}
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-jHNM1HhOmwMB5sguttXozL1HiDPf0yovu2o2L3ijMvexSUlrtqE2b2JjevMfVq7xZ5RYhBnQ+T8Q4MUclI8GnQ==}
- engines: {node: '>=18.0.0'}
- peerDependencies:
- '@aws-sdk/client-s3': ^3.830.0
-
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-ElVeCReZSH5Ds+/pkL5ebneJjuo8f49e9JXV1cYizuH0OAOQfYaBU9+M+7+rn61pTttOFE8W//qKzrXBBJhfMg==}
- engines: {node: '>=18.0.0'}
-
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-zAOoSZKe1njOrtynvK6ZORU57YGv5I7KP4+rwOvUN3ZhJbQ7QPf8gKtFUCYAPRMegaXCKF/ADPtDZBAmM+zZ9g==}
- engines: {node: '>=18.0.0'}
-
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-Fz9w8CFYPfSlHEB6feSsi06hdS+s+FB8k5pO4L7IV0tUa78mlhxF/VNlAJaVWYyOkZXl4HPH2K48aapACSQOXw==}
- engines: {node: '>=18.0.0'}
-
'@aws-sdk/[email protected]':
resolution: {integrity: sha512-xSMR+sopSeWGx5/4pAGhhfMvGBHioVBbqGvDs6pG64xfNwM5vq5s5v6D04e2i+uSTj4qGa71dLUs5I0UzAK3sw==}
engines: {node: '>=18.0.0'}
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-sKrm80k0t3R0on8aA/WhWFoMaAl4yvdk+riotmMElLUpcMcRXAd1+600uFVrxJqZdbrKQ0mjX0PjT68DlkYXLg==}
- engines: {node: '>=18.0.0'}
-
'@aws-sdk/[email protected]':
resolution: {integrity: sha512-0cvI0ipf2tGx7fXYEEN5fBeZDz2RnHyb9xftSgUsEq7NBxjV0yTZfLJw6Za5rjE6snC80dRN8+bTNR1tuG89zA==}
engines: {node: '>=18.0.0'}
@@ -3100,14 +2944,6 @@ packages:
resolution: {integrity: sha512-efmaifbhBoqKG3bAoEfDdcM8hn1psF+4qa7ykWuYmfmah59JBeqHLfz5W9m9JoTwoKPkFcVLWZxnyZzAnVBOIg==}
engines: {node: '>=18.0.0'}
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-8F0qWaYKfvD/de1AKccXuigM+gb/IZSncCqxdnFWqd+TFzo9qI9Hh+TpUhWOMYSgxsMsYQ8ipmLzlD/lDhjrmA==}
- engines: {node: '>=18.0.0'}
-
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-YYi1Hhr2AYiU/24cQc8HIB+SWbQo6FBkMYojVuz/zgrtkFmALxENGF/21OPg7f/QWd+eadZJRxCjmRwh5F2Cxg==}
- engines: {node: '>=18.0.0'}
-
'@aws-sdk/[email protected]':
resolution: {integrity: sha512-TKRQK09ld1LrIPExC9rIDpqnMsWcv+eq8ABKFHVo8mDLTSuWx/IiQ4eCh9T5zDuEZcLY4nNYCSzXKqw6XKcMCA==}
engines: {node: '>=18.0.0'}
@@ -3128,14 +2964,6 @@ packages:
resolution: {integrity: sha512-t8og+lRCIIy5nlId0bScNpCkif8sc0LhmtaKsbm0ZPm3sCa/WhCbSZibjbZ28FNjVCV+p0D9RYZx0VDDbtWyjw==}
engines: {node: '>=18.0.0'}
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-IEiSJfuf/hcf9WvCmvV35ci1yGcV3IYKS0e6l5xPRLYDNBrAWao9j8mrp0N4WCD3Nr+3xZRY5JglEFAH6CN3OQ==}
- engines: {node: '>=18.0.0'}
-
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-3fEi/zy6tpMzomYosksGtu7jZqGFcdBXoL7YRsG7OEeQzBbOW9B+fVaQZ4jnsViSjzA/yKydLahMrfPnt+iaxg==}
- engines: {node: '>=18.0.0'}
-
'@aws-sdk/[email protected]':
resolution: {integrity: sha512-vz6onCb/+g4y+owxGGPMEMdN789dTfBOgz/c9pFv0f01840w9Rrt46l+gjQlnXnx+0KG6wNeBIVhFdbCfV3HyQ==}
engines: {node: '>=18.0.0'}
@@ -3152,10 +2980,6 @@ packages:
resolution: {integrity: sha512-xliuHaUFZxEx1NSXeLLZ9Dyu6+EJVQKEoD+yM+zqUo3YDZ7medKJWY6fIOKiPX/N7XbLdBYwajb15Q7IL8KkeA==}
engines: {node: '>=18.0.0'}
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-wmBJqn1DRXnZu3b4EkE6CWnoWMo1ZMvlfkqU5zPz67xx1GMaXlDCchFvKAXMjk4jn/L1O3tKnoFDNsoLV1kgNQ==}
- engines: {node: '>=18.0.0'}
-
'@aws-sdk/[email protected]':
resolution: {integrity: sha512-Uknt/zUZnLE76zaAAPEayOeF5/4IZ2puTFXvcSCWHsi9m3tqbb9UozlnlVqvCZLCRWfQryZQoG2W4XSS3qgk5A==}
engines: {node: '>=18.0.0'}
@@ -3164,10 +2988,6 @@ packages:
resolution: {integrity: sha512-RvKch111SblqdkPzg3oCIdlGxlQs+k+P7Etory9FmxPHyPDvsP1j1c74PmgYqtzzMWmoXTjd+c9naUHh9xG8xg==}
engines: {node: '>=18.0.0'}
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-h+xqmPToxDrZ0a7rxE1a8Oh4zpWfZe9oiQUphGtfiGFA6j75UiURH5J3MmGHa/G4t15I3iLLbYtUXxvb1i7evg==}
- engines: {node: '>=18.0.0'}
-
'@aws-sdk/[email protected]':
resolution: {integrity: sha512-f+QNcWGswredzC1ExNAB/QzODlxwaTdXkNT5cvke2RLX8SFU5pYk6h4uCtWC0vWPELzOfMfloBrJefBzlarhsw==}
engines: {node: '>=14.0.0'}
@@ -3193,9 +3013,6 @@ packages:
aws-crt:
optional: true
- '@aws-sdk/[email protected]':
- resolution: {integrity: sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==}
-
'@aws-sdk/[email protected]':
resolution: {integrity: sha512-DIIotRnefVL6DiaHtO6/21DhJ4JZnnIwdNbpwiAhdt/AVbttcE4yw925gsjur0OGv5BTYXQXU3YnANBYnZjuQA==}
engines: {node: '>=18.0.0'}
@@ -3529,9 +3346,6 @@ packages:
resolution: {integrity: sha512-calbMa7Gcyo+/t23XBaqQqon8LlgE9regey4UVoikoenKBXvUnCUL3s9RP6USCxttfr0XWVICtYUuKMdehKqMw==}
engines: {node: '>17.0.0'}
- '@date-fns/[email protected]':
- resolution: {integrity: sha512-LBrd7MiJZ9McsOgxqWX7AaxrDjcFVjWH/tIKJd7pnR7McaslGYOP1QmmiBXdJH/H/yLCT+rcQ7FaPBUxRGUtrg==}
-
'@date-fns/[email protected]':
resolution: {integrity: sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA==}
@@ -3544,12 +3358,6 @@ packages:
peerDependencies:
react: '>=16.8.0'
- '@dnd-kit/[email protected]':
- resolution: {integrity: sha512-lYaoP8yHTQSLlZe6Rr9qogouGUz9oRUj4AHhDQGQzq/hqaJRpFo65X+JKsdHf8oUFBzx5A+SJPUvxAwTF2OabA==}
- peerDependencies:
- react: '>=16.8.0'
- react-dom: '>=16.8.0'
-
'@dnd-kit/[email protected]':
resolution: {integrity: sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==}
peerDependencies:
@@ -3562,12 +3370,6 @@ packages:
'@dnd-kit/core': ^6.3.0
react: '>=16.8.0'
- '@dnd-kit/[email protected]':
- resolution: {integrity: sha512-wDkBHHf9iCi1veM834Gbk1429bd4lHX4RpAwT0y2cHLf246GAvU2sVw/oxWNpPKQNQRQaeGXhAVgrOl1IT+iyA==}
- peerDependencies:
- '@dnd-kit/core': ^6.0.7
- react: '>=16.8.0'
-
'@dnd-kit/[email protected]':
resolution: {integrity: sha512-U3jk5ebVXe1Lr7c2wU7SBZjcWdQP+j7peHJfCspnA81enlu88Mgd7CC8Q+pub9ubP7eKVETzJW+IBAhsqbSu/g==}
peerDependencies:
@@ -3583,9 +3385,6 @@ packages:
resolution: {integrity: sha512-CbMGzyOYSyFF7d4uaeYwO9gpSBzLTnMmSmTVpCZjvpJFV69qYbjYPpzNnCz1mb2wIvEhjWjRwQWuBzTO0jITww==}
hasBin: true
- '@drizzle-team/[email protected]':
- resolution: {integrity: sha512-z33Il7l5dKjUgGULTqBsQBQwckHh5AbIuxhdsIxDDiZAzBOrZO6q9ogcWC65kU382AfynTfgNumVcNIjuIua6w==}
-
resolution: {integrity: sha512-t+iX+Wf5nRKyNzk8dviW3Ikb/280+aEJAnw9YXvCp2tYGPSkMki+NRY+8aNLmVFv3eNtMdvViPNOPxS8SZNP+w==}
engines: {bun: '>=1', deno: '>=2', node: '>=16'}
@@ -3634,15 +3433,6 @@ packages:
'@emnapi/[email protected]':
resolution: {integrity: sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==}
- '@emotion/[email protected]':
- resolution: {integrity: sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==}
-
'@emotion/[email protected]':
resolution: {integrity: sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==}
@@ -3655,41 +3445,9 @@ packages:
'@emotion/[email protected]':
resolution: {integrity: sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==}
- '@emotion/[email protected]':
- resolution: {integrity: sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-O000MLDBDdk/EohJPFUqvnp4qnHeYkVP5B0xEG0D/L7cOKP9kefu2DXn8dj74cQfsEzUqh+sr1RzFqiL1o+PpA==}
- peerDependencies:
- '@types/react': '*'
- react: '>=16.8.0'
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-EISGqt7sSNWHGI76hC7x1CksiXPahbxEOrC5RjmFRJTqLyEK9/9hZvBbiYn70dw4wuwMKiEMCUlR6ZXTSWQqxA==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==}
-
'@emotion/[email protected]':
resolution: {integrity: sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw==}
- '@emotion/[email protected]':
- resolution: {integrity: sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==}
- peerDependencies:
- react: '>=16.8.0'
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==}
-
'@envelop/[email protected]':
resolution: {integrity: sha512-KfoGlYD/XXQSc3BkM1/k15+JQbkQ4ateHazeZoWl9P71FsLTDXSjGy6j7QqfhpIDSbxNISqhPMfZHYSbDFOofQ==}
engines: {node: '>=18.0.0'}
@@ -3702,14 +3460,6 @@ packages:
resolution: {integrity: sha512-CsFmA3u3c2QoLDTfEpGr4t25fjMU31nyvse7IzWTvb0ZycuPjMjb0fjlheh+PbhBYb9YLugnT2uY6Mwcg1o+Zg==}
engines: {node: '>=18.0.0'}
- '@esbuild-kit/[email protected]':
- resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==}
- deprecated: 'Merged into tsx: https://tsx.is'
-
- '@esbuild-kit/[email protected]':
- resolution: {integrity: sha512-FxEMIkJKnodyA1OaCUoEvbYRkoZlLZ4d/eXFu9Fh8CbBBgP5EmZxrfTRyN0qpXZ4vOvqnE5YdRdcrmUUXuU+dA==}
- deprecated: 'Merged into tsx: https://tsx.is'
-
'@esbuild-plugins/[email protected]':
resolution: {integrity: sha512-+t5FdX3ATQlb53UFDBRb4nqjYBz492bIrnVWvpQHpzZlu9BQL5HasMZhqc409ygUwOWCXZhrWr6NyZ6T6Y+cxw==}
peerDependencies:
@@ -3906,24 +3656,6 @@ packages:
'@exodus/[email protected]':
resolution: {integrity: sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==}
- '@faceless-ui/[email protected]':
- resolution: {integrity: sha512-UmXvz7Iw3KMO4Pm3llZczU4uc5pPQDb6rdqwoBvYDFgWvkraOAHKx0HxSZgwqQvqOhn8joEFBfFp6/Do2562ow==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0
-
- '@faceless-ui/[email protected]':
- resolution: {integrity: sha512-BkyJ9OQ4bzpKjE3UhI8BhcG36ZgfB4run8TmlaR4oMFUbl59dfyarNfjveyimrxIso9RhFEja/AJ5nQmbcR9hw==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
- '@faceless-ui/[email protected]':
- resolution: {integrity: sha512-uPjdJYE/j7hqVNelE9CRUNOeXuXDdPxR4DMe+oz3xwyZi2Y4CxsfpfdPTqqwmNAZa1P33O+ZiCyIkBEeNed0kw==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
'@faker-js/[email protected]':
resolution: {integrity: sha512-XK6BTq1NDMo9Xqw/YkYyGjSsg44fbNwYRx7QK2CuoQgyy+f1rrTDHoExVM5PsyXCtfl2vs2vVJ0MN0yN6LppRw==}
engines: {node: '>=14.0.0', npm: '>=6.0.0'}
@@ -3985,12 +3717,6 @@ packages:
react: '>=16.8.0'
react-dom: '>=16.8.0'
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-kKlWNrpIQxF1B/a2MZvE0/uyKby4960yjO91W7nVyNKmmfNi62xU9HCjL1M1eWzx/LFj/VPSwJVbwQk9Pq/68A==}
- peerDependencies:
- react: '>=17.0.0'
- react-dom: '>=17.0.0'
-
'@floating-ui/[email protected]':
resolution: {integrity: sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==}
@@ -4763,9 +4489,6 @@ packages:
resolution: {integrity: sha512-2X6bvghJ/JAoZO52lbgyAPFj8uCflhTo2g7nkFzEQdXd/D8rEeD4HtmTEpmtGCva260fcd66YNXBOYdnmHqSOg==}
engines: {node: '>=12'}
- '@jsdevtools/[email protected]':
- resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==}
-
'@jsep-plugin/[email protected]':
resolution: {integrity: sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==}
engines: {node: '>= 10.16.0'}
@@ -4811,80 +4534,6 @@ packages:
'@kwsites/[email protected]':
resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-LYqion+kAwFQJStA37JAEMxTL/m1WlZbotDfM/2WuONmlO0yWxiyRDI18oeCwhBD6LQQd9c3Ccxp9HFwUG1AVw==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-9LOKSWdRhxqAKRq5yveNC21XKtW4h2rmFNTucwMWZ9vLu9xteOHEwZdO1Qv82PFUmgCpAhg6EntmnZu9xD3K7Q==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-Fk4itAjZ+MqTYXN84aE5RDf+wQX67N5nyo3JVxQTFZGAghx7Ux1xLWHB25zzD0YfjMtJ0NQROAbE3xdecZzxcQ==}
- peerDependencies:
- react: '>=17.x'
- react-dom: '>=17.x'
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-T6T8YaHnhU863ruuqmRHTLUYa8sfg/ArYcrnNGZGfpvvFTfFjpWb/ELOvOWo8N6Y/4fnSLjQ20aXexVW1KcTBQ==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-zcqX9Qna4lj96bAUfwSQSVEhYQ0O5erSjrIhOVqEgeQ5ubz0EvqnnMbbwNHIb2n6jzSwAvpD/3UZJZtolh+zVg==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-btcaTfw9I/xQ/XYom6iKWgsPecmRawGd/5jOhP7QDtLUp7gxgM7/kiCZFYa8jDJO6j20rXuWTkc81ynVpKvjow==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-CHzDxaGDn6qCFFhU0YKP1B8sgEb++0Ksqsj6BfDL/6TMxoLNQwRQhP3BUNNXl1kvUhxTQZgk3b9MjJZRaFKG9Q==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-ayb0FPxr55Ko99/d9ewbfrApul4L0z+KpU2ZG03im7EvUPVLyIGLx4S0QguMDvQh0Vu+eJ7/EESuonDs5BCe3A==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-T5VKxpOnML5DcXv2lW3Le0vjNlcbdohZjS9f6PAvm6eX8EzBKDpLQCopr1/0KGdlLd1QrzQsykQrdU7ieC4LRg==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-3a8QcZ75n2TLxP+xkSPJ2V15jsysMLMe0YoObG+ew/sioVelIU8GciYsWBo5GgQmwSzJNQJeK5cJ9p1b71z2cg==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-v5PzmTACsJrw3GvNZy2rgPxrNn9InLvLFoKqrSlNhhyvYNIAcuC4KVy00LKLja43Gw/fuB3QwKohYfAtM3yR3g==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-F3JXClqN4cjmXYLDK0IztxkbZuqkqS/AVbxnhGvnDYHQ9Gp8l7BonczhOiPwmJCDubJrAACP0L9LCqyt0jDRFw==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-/SMDQgBPeWM936t04mtH6UAn3xAjP/meu9q136bcT3S7p7V8ew9JfNp9aznTPTx+2W3brJORAvUow7Xn1fSHmw==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-ppmhHXEZVicBm05w9EVflzwFavTVNAe4q0bkabWUeW0IoCT3Vg2A3JT7PC9ypmp+mboUD195foFEr1BBSv1Y8Q==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-Jj2dCMDEfRuVetfDKcUes8J5jvAfZrLnILFlHxnu7y+lC+7R/NR403DYb3NJ8H7+lNiH1K15+U2K7ewbjxS6KQ==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-dWPnxrKrbQFjNqExqnaAsV0UEUgw/5M1ZYRWd5FGBGjHqVTCaX2jNHlKLMA68Od0VPIoOX2Zy1TYZ8ZKtsj5Dg==}
- peerDependencies:
- react: '>=17.x'
- react-dom: '>=17.x'
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-y+vUWI+9uFupIb9UvssKU/DKcT9dFUZuQBu7utFkLadxCNyXQHeRjxzjzmvFiM3DBV0guPUDGu5VS5TPnIA+OA==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-AJDi67Nsexyejzp4dEQSVoPov4P+FJ0t1v6DxUU+YmcvV56QyJQi6ue0i/xd8unr75ZufzLsAC0cDJJCEI7QDA==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-HMPCwXdj0sRWdlDzsHcNWRgbeKbEhn3L8LPhFnTq7q61gZ4YW2umdmuvQFKnIBcKq49drTH8cUwZoIwI8+AEEw==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-PT/A2RZv+ktn7SG/tJkOpGlYE6zjOND59VtRHnV/xciZ+jEJVaqAHtWjhbWibAIZQAkv/O7UouuDqzDaNTSGAA==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-Qw00DjkS1nRK7DLSgqJpJ77Ti2AuiOQ6m5eM38YojoWXkVmoxqKAUMaIbVNVKqjFgrQvKFF46sXxIJPbUQkB0w==}
-
- '@lexical/[email protected]':
- resolution: {integrity: sha512-rKHpUEd3nrvMY7ghmOC0AeGSYT7YIviba+JViaOzrCX4/Wtv5C/3Sl7Io12Z9k+s1BKmy7C28bOdQHvRWaD7vQ==}
- peerDependencies:
- yjs: '>=13.5.22'
-
resolution: {integrity: sha512-w7ojc8ejBqr2REPsWxJjrMFsA/ysDCFICn8zEOR9mrqzOu2amhITYuLD8ag6XZf0CFXDrhKqw7+tW8cX66NaDA==}
@@ -6200,112 +5849,6 @@ packages:
resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==}
engines: {node: '>= 10.0.0'}
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-aBwwt2+C19uIaKgfeKd9DgMLQyf0GWKHs1rTkk5xtiNVUzHfazbQoSu54FivgXLTyN+zGr5q44acfNdsTZFPxw==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-39wwFY1tooHrS7M8ycAtIOvRRQqRJfjzD3kBlv4oI9q+Xhs0dvCBcIsgwiFy+4eXC1rkOAyTnWk4l0vVagePbQ==}
- peerDependencies:
- payload: 3.74.0
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-GjlOnAPALhECzzuU8zp6TBG+Sd0MEhBdU3KKzCaUkupwSef68KrNfvX9muVpqiCJTUo7q4Yievo80YkFh/fIYw==}
- peerDependencies:
- payload: 3.74.0
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-9yU2oU4eYTbrMYUNO9P3o7RQgTgt2fpfpuYVSynlOokR/vRnNBRN3k/W6oEmPjfQylybtbY/gnda1I/4KL8NYg==}
- engines: {node: ^18.20.2 || >=20.9.0}
- peerDependencies:
- payload: 3.60.0
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-F8jaMldtxzgVUVYt18t36OgcYf6wUkM9kFVxbtY4LzpzaUVV8NhaBQsPKWAOGCOSn4wqJITbLVHm6edh6WjTwg==}
- hasBin: true
- peerDependencies:
- graphql: ^16.8.1
- payload: 3.52.0
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-vTHhwnKEn1oRfQAllPKiNzqcw5UhuP+FBdlD2fPkFEEA7TL/+eV75gROYu+/gBv4g5ZTA+AHtE3UvRuNEUHdTA==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-BJjgrbOe/lnt3RNjwtpzv23n1snEKSYhpEupYyhSuImWTQ4FfppgyxYLLdtoGP0kbwhFN1VP2+sZtfbaW42F7w==}
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-Cy23EDAMatFB/hx17DhG7RmFFVmacuoNZIlEEkjrTHk+XAQW1TAGBch7TcuFGbzciwvt6pb/MuiPbe3T0/hgqA==}
- engines: {node: ^18.20.2 || >=20.9.0}
- peerDependencies:
- graphql: ^16.8.1
- next: ^15.2.3
- payload: 3.52.0
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-rD7EFTTjSTL3WawCRAvdqPkALpZQLmI+/tXw9A7joiVsHVULXQPzBYeWb5GnKZF3Nmp6FlVllAX6fsq+4UIulg==}
- peerDependencies:
- payload: 3.60.0
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-LQ4144YVrVW5T9x0jKPMSWFj2UNaBrByS+84Z8PNvXNiWI3tCSGvzUR31kbiKXfO057qE2UZt+g//ZrL1H+pUA==}
- peerDependencies:
- payload: 3.52.0
- react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
- react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-Jn9yoMCB2wMTU6uLos/iAp7stTdtf3YVT3onUzJ9otFDQTi6cYh9minYP2/BSTlJCKVNjbvmidpniqhg7xDYDg==}
- peerDependencies:
- payload: 3.52.0
- react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
- react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-ZqX3GU9PTRXF5RKj3+ddUseUvJL3hQ+350e1erDQhMyGIFXH5KcYG+i0NW+2fL/fbOb6apFxD6QfK4zCBuP0MA==}
- peerDependencies:
- payload: 3.52.0
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-GkrStaidYi9cI9XqGxGAcxP6R2pKgcxJXB3qTMGwJ6tRTNd8bVthR+dWDV5nD0NLJ8G/xb3T6NFfCYtdSpkJkg==}
- peerDependencies:
- payload: 3.52.0
- react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
- react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-iutfonJA91apP0psfcILMOJyMvEKDn8uYtVq7WUCKY8eM/aucxXaxs/r4WhKajRW1iRlX8BCbMeDzct/a/asPw==}
- engines: {node: ^18.20.2 || >=20.9.0}
- peerDependencies:
- '@faceless-ui/modal': 3.0.0-beta.2
- '@faceless-ui/scroll-info': 2.0.0
- '@payloadcms/next': 3.52.0
- payload: 3.52.0
- react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
- react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-hzZX8rDNSrvSKg/Ye+J3vEe4vHcHZybe2sP9nqMVL14XJSBPZdNqs6C5o7cBE/vFgKqdrExFi1Xo+NdzCY2HzQ==}
- engines: {node: ^18.20.2 || >=20.9.0}
- peerDependencies:
- payload: 3.52.0
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-pzQRcOPMBNT2qYk8fO2t9D4Toe9eC+Wn/pE/tjwL3r/6TgfsORy0sif7/RDtoFMqTKwITU7hznz/x5IUaCijMA==}
-
- '@payloadcms/[email protected]':
- resolution: {integrity: sha512-ug80MbpxxFEGvoVlEHX9jc/eR5dtJ/2MOtHwFQDvDMmE5ZzWboFPiUrEvoCtAet1PINqL/mBCG3y7mowGXBzBg==}
- engines: {node: ^18.20.2 || >=20.9.0}
- peerDependencies:
- next: ^15.2.3
- payload: 3.52.0
- react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
- react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020
-
resolution: {integrity: sha512-K3gtnbqbSUuUVmPm143qx5Gy2EmKuooshV95yMD48EUQ1256sgZBriEfY61OWJnlzdREdqHTIOxQqpZAb7XdZg==}
@@ -6551,19 +6094,6 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-yd+dI56KZqawxKZrJ31eENUwqc1QSqg4OZ15rybGjF2ZNwMO+wCyHzAVLRp9qoYJf7kYy0YpZ2b0JCzJ42HZpA==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
'@radix-ui/[email protected]':
resolution: {integrity: sha512-UBmVDkmR6IvDsloHVN+3rtx4Mi5TFvylYXpluuv0f37dtaz3H99bp8No0LGXRigVpl3UAT4l9j6bIchh42S/Gg==}
peerDependencies:
@@ -7016,19 +6546,6 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
'@radix-ui/[email protected]':
resolution: {integrity: sha512-BVkFLS+bUC8HcImkRKPSiVumA1VPOOEC5WBMiT+QAVsPzW1FJzI9KnqgGxVDPBcql5xXrHkD3JOVoXWEXD8SYA==}
peerDependencies:
@@ -8601,14 +8118,6 @@ packages:
resolution: {integrity: sha512-gJnEjZMvigPDQWHrW3oPrFhQtkrgqBkyjj3pCIdF3A5M6vsZODG93KNlfJprv6bp4245bdT32fsHK4kkH3KYDA==}
engines: {node: '>=18.0.0'}
- '@smithy/[email protected]':
- resolution: {integrity: sha512-R9wM2yPmfEMsUmlMlIgSzOyICs0x9uu7UTHoccMyt7BWw8shcGM8HqB355+BZCPBcySvbTYMs62EgEQkNxz2ig==}
- engines: {node: '>=18.0.0'}
-
- '@smithy/[email protected]':
- resolution: {integrity: sha512-+sKqDBQqb036hh4NPaUiEkYFkTUGYzRsn3EuFhyfQfMy6oGHEUJDurLP9Ufb5dasr/XiAmPNMr6wa9afjQB+Gw==}
- engines: {node: '>=18.0.0'}
-
'@smithy/[email protected]':
resolution: {integrity: sha512-qJpzYC64kaj3S0fueiu3kXm8xPrR3PcXDPEgnaNMRn0EjNSZFoFjvbUp0YUDsRhN1CB90EnHJtbxWKevnH99UQ==}
engines: {node: '>=18.0.0'}
@@ -8625,38 +8134,14 @@ packages:
resolution: {integrity: sha512-7XoWfZqWb/QoR/rAU4VSi0mWnO2vu9/ltS6JZ5ZSZv0eovLVfDfu0/AX4ub33RsJTOth3TiFWSHS5YdztvFnig==}
engines: {node: '>=18.0.0'}
- '@smithy/[email protected]':
- resolution: {integrity: sha512-3fb/9SYaYqbpy/z/H3yIi0bYKyAa89y6xPmIqwr2vQiUT2St+avRt8UKwsWt9fEdEasc5d/V+QjrviRaX1JRFA==}
- engines: {node: '>=18.0.0'}
-
- '@smithy/[email protected]':
- resolution: {integrity: sha512-JGtambizrWP50xHgbzZI04IWU7LdI0nh/wGbqH3sJesYToMi2j/DcoElqyOcqEIG/D4tNyxgRuaqBXWE3zOFhQ==}
- engines: {node: '>=18.0.0'}
-
- '@smithy/[email protected]':
- resolution: {integrity: sha512-RD6UwNZ5zISpOWPuhVgRz60GkSIp0dy1fuZmj4RYmqLVRtejFqQ16WmfYDdoSoAjlp1LX+FnZo+/hkdmyyGZ1w==}
- engines: {node: '>=18.0.0'}
-
- '@smithy/[email protected]':
- resolution: {integrity: sha512-UeJpOmLGhq1SLox79QWw/0n2PFX+oPRE1ZyRMxPIaFEfCqWaqpB7BU9C8kpPOGEhLF7AwEqfFbtwNxGy4ReENA==}
- engines: {node: '>=18.0.0'}
-
'@smithy/[email protected]':
resolution: {integrity: sha512-AMtBR5pHppYMVD7z7G+OlHHAcgAN7v0kVKEpHuTO4Gb199Gowh0taYi9oDStFeUhetkeP55JLSVlTW1n9rFtUw==}
engines: {node: '>=18.0.0'}
- '@smithy/[email protected]':
- resolution: {integrity: sha512-WszRiACJiQV3QG6XMV44i5YWlkrlsM5Yxgz4jvsksuu7LDXA6wAtypfPajtNTadzpJy3KyJPoWehYpmZGKUFIQ==}
- engines: {node: '>=18.0.0'}
-
'@smithy/[email protected]':
resolution: {integrity: sha512-qnbTPUhCVnCgBp4z4BUJUhOEkVwxiEi1cyFM+Zj6o+aY8OFGxUQleKWq8ltgp3dujuhXojIvJWdoqpm6dVO3lQ==}
engines: {node: '>=18.0.0'}
- '@smithy/[email protected]':
- resolution: {integrity: sha512-wHo0d8GXyVmpmMh/qOR0R7Y46/G1y6OR8U+bSTB4ppEzRxd1xVAQ9xOE9hOc0bSjhz0ujCPAbfNLkLrpa6cevg==}
- engines: {node: '>=18.0.0'}
-
'@smithy/[email protected]':
resolution: {integrity: sha512-bNYMi7WKTJHu0gn26wg8OscncTt1t2b8KcsZxvOv56XA6cyXtOAAAaNP7+m45xfppXfOatXF3Sb1MNsLUgVLTw==}
engines: {node: '>=18.0.0'}
@@ -8669,10 +8154,6 @@ packages:
resolution: {integrity: sha512-saYhF8ZZNoJDTvJBEWgeBccCg+yvp1CX+ed12yORU3NilJScfc6gfch2oVb4QgxZrGUx3/ZJlb+c/dJbyupxlw==}
engines: {node: '>=18.0.0'}
- '@smithy/[email protected]':
- resolution: {integrity: sha512-uGLBVqcOwrLvGh/v/jw423yWHq/ofUGK1W31M2TNspLQbUV1Va0F5kTxtirkoHawODAZcjXTSGi7JwbnPcDPJg==}
- engines: {node: '>=18.0.0'}
-
'@smithy/[email protected]':
resolution: {integrity: sha512-F7gDyfI2BB1Kc+4M6rpuOLne5LOcEknH1n6UQB69qv+HucXBR1rkzXBnQTB2q46sFy1PM/zuSJOB532yc8bg3w==}
engines: {node: '>=18.0.0'}
@@ -8825,10 +8306,6 @@ packages:
resolution: {integrity: sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow==}
engines: {node: '>=18.0.0'}
- '@smithy/[email protected]':
- resolution: {integrity: sha512-4QvC49HTteI1gfemu0I1syWovJgPvGn7CVUoN9ZFkdvr/cCFkrEL7qNCdx/2eICqDWEGnnr68oMdSIPCLAriSQ==}
- engines: {node: '>=18.0.0'}
-
'@speed-highlight/[email protected]':
resolution: {integrity: sha512-0dxmVj4gxg3Jg879kvFS/msl4s9F3T9UXC1InxgOf7t5NvcPD97u/WTA5vL/IxWHMn7qSxBozqrnnE2wvl1m8g==}
@@ -9185,9 +8662,6 @@ packages:
peerDependencies:
'@testing-library/dom': '>=7.21.4'
- '@tokenizer/[email protected]':
- resolution: {integrity: sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==}
-
'@tootallnate/[email protected]':
resolution: {integrity: sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==}
engines: {node: '>= 6'}
@@ -9241,9 +8715,6 @@ packages:
resolution: {integrity: sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==}
- '@types/[email protected]':
- resolution: {integrity: sha512-kG7WrUuAKK0NoyxfQHsVE6j1m01s6kMma64E+OZenQABMQyTJop1DumUWcLwAQ2JzpefU7PDYoRDKl8uZosFjw==}
-
resolution: {integrity: sha512-8kB30R7Hwqf40JPiKhVzodJs2Qc1ZJ5zuT3uzw5Hq/dhNCl3G3l83jfpdI1e20BP348+fV7VIL/+FxaXkqBmWg==}
@@ -9521,9 +8992,6 @@ packages:
resolution: {integrity: sha512-TaAUE5rq2VQYxab5Ts7WZhKNmuN78Q6PiFonTDdpbx8a1H0M1vhy3rhiMjl+e2iHmogyMw7jZF4FrE6eJUy5HQ==}
- '@types/[email protected]':
- resolution: {integrity: sha512-MKFs9P6nJ+LAeHLU3V0cODEOgyThJ3OAnmOlsZsxux6sfQs3HRXR5bBn7xG5DjckEFhTAxsXi7k7cd0pCMxpJw==}
-
resolution: {integrity: sha512-kGT1qKM8wJQ5qlawUrEkXgvMSXoV213KfMGXcwfDwUIfUHXqXYXOfS1nE1LINRJVVVx5wCm70XnFlMHaIcQAfw==}
@@ -9566,11 +9034,6 @@ packages:
resolution: {integrity: sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==}
- peerDependencies:
- '@types/react': '*'
-
resolution: {integrity: sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==}
@@ -10049,11 +9512,6 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
- resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==}
- engines: {node: '>=0.4.0'}
- hasBin: true
-
resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==}
engines: {node: '>=0.4.0'}
@@ -10128,9 +9586,6 @@ packages:
resolution: {integrity: sha512-oo72OEYOSfSPe+96V+jh41gaFWfl9HddXFAHMFM+emjdZkzbtcg0bFWoYaWf8IMlqmZ0VM8F13frI8Ktt3+ADA==}
engines: {node: '>=22'}
- resolution: {integrity: sha512-G2mzTlGYHKYh9oZDO0Gk94xVQ4iY9GYWBaYScbDYvz05ps6dqi0IvdNx1Lxi7oA3tjS5X+mUN7/svFJJdOB9YA==}
-
resolution: {integrity: sha512-f0L/kSya2RF23iMSF/VO01pMmLwlAFoiQeNAvBXhEyLzIPd2/QTBRatwGUqkVCC6seaAJYzAkGir55N4SL+h3A==}
@@ -10468,9 +9923,6 @@ packages:
resolution: {integrity: sha512-nfDwkulwiZYQIGwxdy0RUmowMhKcFVcYXUU7m4QlKYim1rUtg83xm2yjZ40QjDuc291AJjjeSc9b++AWHSgSHw==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-a7tP5+0Mw3YlUJcGAKUqIBkYYGlYxk2fnCasq/FUph1hadxlTRjF+gAcZksxANnaMnALjxEddmSi/H3OR8ugcQ==}
-
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
@@ -10505,9 +9957,6 @@ packages:
resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==}
- resolution: {integrity: sha512-vgnKAUzcDoa+AeyYwXCoHyF2q6u/8H46dxu5JN+4/TZeq/Dlinn0K6GvxsCLb3LHUJl0m/TLiEK31kUwtgocMQ==}
-
resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==}
engines: {node: '>=8.0.0'}
@@ -10515,12 +9964,6 @@ packages:
resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
- resolution: {integrity: sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==}
-
- resolution: {integrity: sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==}
-
resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==}
@@ -10531,10 +9974,6 @@ packages:
resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==}
- engines: {node: '>=10.16.0'}
-
resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
engines: {node: '>= 0.8'}
@@ -10664,9 +10103,6 @@ packages:
resolution: {integrity: sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==}
- resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==}
-
resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==}
engines: {node: '>= 16'}
@@ -10713,10 +10149,6 @@ packages:
resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==}
engines: {node: '>=6.0'}
- resolution: {integrity: sha512-cYY9mypksY8NRqgDB1XD1RiJL338v/551niynFTGkZOO2LHuB2OmOYxDIe/ttN9AHwrqdum1360G3ald0W9kCg==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==}
@@ -11016,9 +10448,6 @@ packages:
resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==}
- resolution: {integrity: sha512-wKGOQRRvdnd89pCeH96e2Fn4wkbenSP6LMHfjfyNLMbGuHEFbMqQNuxXqd0oXG9caIOQ1FTvc5Uijp9/4jujnQ==}
-
resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==}
@@ -11039,9 +10468,6 @@ packages:
engines: {node: '>=14.18'}
hasBin: true
- resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==}
-
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
@@ -11144,11 +10570,6 @@ packages:
resolution: {integrity: sha512-ULYhWIonJzlScCCQrPUG5uMXzXxSixty4djud9SS37DoNxDdkeRocxzHuAo4ImRBUK+mAuU5X9TSwEDccnnuPg==}
hasBin: true
- resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==}
- engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'}
- hasBin: true
-
resolution: {integrity: sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==}
@@ -11170,9 +10591,6 @@ packages:
resolution: {integrity: sha512-ojKiDvcmByhwa8YYqbQI/hg7MEU0NC03+pSdEq4ZUnZR9xXpwk7E43SMNGkn+JxJGPFtNvQ48+vV2p+P1ml5PA==}
- resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==}
-
resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}
@@ -11231,9 +10649,6 @@ packages:
engines: {node: '>=4'}
hasBin: true
- resolution: {integrity: sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==}
-
resolution: {integrity: sha512-tCD6AAFgYBOVpMBX41KjbvRh9c2uUjLXRyV7KHSIrwHiq5Z9o0TFfUCoM3TwVrRsRteN3sVXGNvjVNxYzkpTsA==}
engines: {node: ^18.12.0 || ^20.9.0 || >=22.0}
@@ -11471,15 +10886,9 @@ packages:
resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==}
engines: {node: '>=0.11'}
- resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==}
-
resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==}
- resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==}
-
resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
@@ -11663,10 +11072,6 @@ packages:
resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==}
engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16}
- resolution: {integrity: sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==}
engines: {node: '>=8'}
@@ -11796,10 +11201,6 @@ packages:
resolution: {integrity: sha512-pYxfDYpued//QpnLIm4Avk7rsNtAtQkUES2cwAYSvD/wd2pKD71gN2Ebj3e7klzXwjocvE8c5vx/1fxwpqmSxA==}
engines: {node: '>=4'}
- resolution: {integrity: sha512-hOzRGSdyKIU4FcTSFYGKdXEjFsncVwHZ43gY3WU5Bz9j5Iadp6Rh6hxLSQ1IWXpKLBKt/d5y1cpSPcV+FcoQ1A==}
- hasBin: true
-
resolution: {integrity: sha512-quIpnYznjU9lHshEOAYLoZ9s3jweleHlZIAWR/jX9gAWNg/JhQ1wj0KGRf7/Zm+obRrYd9GjPVJg790QY9N5AQ==}
peerDependencies:
@@ -12046,11 +11447,6 @@ packages:
resolution: {integrity: sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==}
engines: {node: '>=0.12'}
- resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==}
- peerDependencies:
- esbuild: ^0.25.2
-
resolution: {integrity: sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ==}
engines: {node: '>=18'}
@@ -12423,10 +11819,6 @@ packages:
resolution: {integrity: sha512-AFASGfIlnIbkKPQwX1yHaDjFvh/1gyKJODme52V6IORh69uEYgZp0o9C+qsIGNVEiuuhQU0CSSl++Rlegg1qvA==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA==}
engines: {node: '>=12.0.0'}
@@ -12469,18 +11861,12 @@ packages:
resolution: {integrity: sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA==}
engines: {'0': node >=0.6.0}
- resolution: {integrity: sha512-qwaScUgUGBYeDNRnbc/KyllVU88Jk1pRHPStuF/lO7B0/RTRLj7U0lkdTAutlBblY08rwZDff6tNU9cjv6j//Q==}
-
resolution: {integrity: sha512-fBHHqSTFLVnR61C+gltJuE5GkVQMV0S2nqUO8TJ+5Z3qAKG8vAx4FKai1s5jq/inV1+sREynIWSuQ6HgoSXpDQ==}
resolution: {integrity: sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==}
- resolution: {integrity: sha512-dl0O9Vhju8IrcLndv2eU4ldt1ftXMqqfgN4H1cpmGV7P6jeB9FwpN9a2c8DPGE1Ys88rNUJVYDHq73CGAGOPfQ==}
-
resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==}
@@ -12627,10 +12013,6 @@ packages:
resolution: {integrity: sha512-QgXo+mXTe8ljeqUFaX3QVHc5osSItJ/Km+xpocx0aSqWGMSCf6qYs/VnzZgS864Pjn5iceMRFigeAV7AfTlaig==}
engines: {node: '>= 12'}
- resolution: {integrity: sha512-mROwiKLZf/Kwa/2Rol+OOZQn1eyTkPB3ZTwC0ExY6OLFCbgxHYZvBm7xI77NvfZFMKBsmuXfmLJnD4eEftEhrA==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==}
@@ -12657,20 +12039,10 @@ packages:
resolution: {integrity: sha512-Dobi7gcTEq8yszimcfp/R7+owiT4WncAJ7VTTgFH1jYJ5GaG1FbhjwDG820hptN0QDFvzVY3RfCzdInvGPGzjA==}
engines: {node: '>=14'}
- resolution: {integrity: sha512-UC2I2+nx1ZuOBclWVNdcnbDR5dlrOdVb7xNjmT/lHE+LsgztWks3dG7boJ37yTS/venXw84B/mAW9uHVoC5QRg==}
-
- resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==}
-
resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==}
- engines: {node: '>= 8'}
-
resolution: {integrity: sha512-nJNY97LoI+BDNCSnGIEvBAxYkRYeRuMZ3KtdjCj60quGH3cnyjnSQfw9vB/kvb3+wAtdn2sm5t+jO6dy5tpi1w==}
peerDependencies:
@@ -12698,9 +12070,6 @@ packages:
resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==}
- resolution: {integrity: sha512-N7kHdlgsO/v+iD/dMoJKtsSqs5Dz/dXZVebRgJw23LDk+jMi/974zyiOYDziY2JPp8xivq9BmUGwIJMiuSBi7w==}
-
resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==}
engines: {node: '>=4.0'}
@@ -12927,9 +12296,6 @@ packages:
resolution: {integrity: sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A==}
- resolution: {integrity: sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==}
-
resolution: {integrity: sha512-mKZj9JLQrwMBtj5wxi6MH8Z5eSKaERpAwjg43dPtlGI1ZVEgH/qC7T8/6R2OBSUA+zzHBZgICsVJaEIV2tKTDA==}
engines: {node: '>=6.0'}
@@ -12991,14 +12357,6 @@ packages:
resolution: {integrity: sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==}
- engines: {node: '>=0.10.0'}
-
- resolution: {integrity: sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
engines: {node: '>=18'}
@@ -13057,12 +12415,6 @@ packages:
cosmiconfig-toml-loader:
optional: true
- resolution: {integrity: sha512-OC3ucK988teMf+Ak/O+ZJ0N2ukcgrEurypp8ePyJFWq83VzwRAmHxxr+XxrMpxO/FIwI4a7m/Fzv3tWGJv0wPA==}
- engines: {node: '>=12'}
- peerDependencies:
- graphql: '>=0.11 <=16'
-
resolution: {integrity: sha512-o/ZgTS0pBxWm3hSF4+6GwiV1//DxzoLWEbS38+jqpzzy1d/QXBidwQuVYTOksclbtOJZ3KR/tZ8fi/tI6VpVMg==}
hasBin: true
@@ -13075,20 +12427,11 @@ packages:
peerDependencies:
graphql: ^15.5.0 || ^16.0.0 || ^17.0.0
- resolution: {integrity: sha512-tpCujhsJMva4aqE8ULnF7/l3xw4sNRZcSHu+R00VV+W0mfp+Q20Plvcrp+5UXD+2yS6oyCXncA+zoQJQqhGCEw==}
-
resolution: {integrity: sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw==}
peerDependencies:
graphql: 14 - 16
- resolution: {integrity: sha512-my9FB4GtghqXqi/lWSVAOPiTzTnnEzdOXCsAC2bb5V7EFNQjVjwy3cSSbUvgYOtDuDibd+ZsCDhz+4eykYOlhQ==}
- engines: {node: '>=10'}
- peerDependencies:
- graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
-
resolution: {integrity: sha512-gSA0CXdNMvNlpEnH2GY1//SUY7laDsAn51sDm4yh6TTH5UkfbNINydyUAoMHHkAaCaOLNXELQmu3GVcSOw4twg==}
hasBin: true
@@ -13307,9 +12650,6 @@ packages:
resolution: {integrity: sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==}
- resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==}
-
resolution: {integrity: sha512-Ox1pJVrDCyGHMG9CFg1tmrRUMRPRsAWYc/PinY0XzJU4K7y7vjNoLKIQ7BR5UJMCxNN8EM1MNDmHWA/B3aZUuw==}
engines: {node: '>=6'}
@@ -13329,10 +12669,6 @@ packages:
resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
- resolution: {integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-l7qMiNee7t82bH3SeyUCt9UF15EVmaBvsppY2zQtrbIhl/yzBTny+YUxsVjSjQ6gaqaeVtZmGocom8TzBlA4Yw==}
engines: {node: '>=16.9.0'}
@@ -13473,11 +12809,6 @@ packages:
resolution: {integrity: sha512-K6acvFaelNxx8wc2VjbIzXKDVB0Khs0QT35U6NkGfTdCmjLNcO2945m7RFNR9/RPVFm48hq7QPzK8uGH18HCGw==}
- resolution: {integrity: sha512-IRqXKlaXwgSMAMtpNzZa1ZAe8m+Sa1770Dhk8VkSsP9LS+iHD62Zd8FQKs8fbPiagBE7BzoFX23cxFnwshpV6w==}
- engines: {node: '>=16.x'}
- hasBin: true
-
resolution: {integrity: sha512-lCYzQrWzdnA68K03oMj/BUlBJrVBnslzDOgGFymAp49NmdGEJxGeN7sHh5mCva0nQkq+kkKSuru2zLf1m04+3A==}
engines: {node: '>=14.0.0'}
@@ -13535,9 +12866,6 @@ packages:
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
- resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==}
-
resolution: {integrity: sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
@@ -13610,10 +12938,6 @@ packages:
resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
engines: {node: '>= 0.10'}
- resolution: {integrity: sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==}
- engines: {node: '>= 10'}
-
resolution: {integrity: sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==}
@@ -13955,17 +13279,11 @@ packages:
resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==}
-
resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==}
peerDependencies:
ws: '*'
- resolution: {integrity: sha512-PIeMbHqMt4DnUP3MA/Flc0HElYjMXArsw1qwJZcm9sqR8mq3l8NYizFMty0pWwE/tzIGH3EKK5+jes5mAr85yw==}
-
resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==}
engines: {node: '>=8'}
@@ -14040,10 +13358,6 @@ packages:
react:
optional: true
- resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}
- engines: {node: '>=10'}
-
resolution: {integrity: sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw==}
@@ -14133,11 +13447,6 @@ packages:
resolution: {integrity: sha512-pJ4XLQP4Q9HTxl6RVDLJ8Cyh1uitSs0CzDBAz1uoJ4sRD/Bk7cFSXL1FUXDW3zJ7YnfliJx6eu8Jn283bpZ4Yg==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-iOKdzTUWEVM4nlxpFudFsWyUiu/Jakkga4OZPEt7CGoSEsAsUgdOZqR6pcgx2STBek9Gm4hcarJpXSzIvZ/hKA==}
- engines: {node: '>=16.0.0'}
- hasBin: true
-
resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}
@@ -14275,14 +13584,6 @@ packages:
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
engines: {node: '>= 0.8.0'}
- resolution: {integrity: sha512-dLE3O1PZg0TlZxRQo9YDpjCjDUj8zluGyBO9MHdjo21qZmMUNrxQPeCRt8fn2s5l4HKYFQ1YNgl7k1pOJB/vZQ==}
-
- resolution: {integrity: sha512-+3eK/B0SqYoZiQu9fNk4VEc6EX8cb0Li96tPGKgugzoGj/OdRdREtuTLvUW+mtinoB2mFiJjSqOJBIaMkAGhxQ==}
- engines: {node: '>=16'}
- hasBin: true
-
resolution: {integrity: sha512-RLvnKPLWngNR7bNep/Q9euPcfFJVFfDg/iP13lYGxcSI01emS/1vbTw6EBd8UordweWFdvUuK+31sHp104dukA==}
@@ -14603,9 +13904,6 @@ packages:
resolution: {integrity: sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==}
- resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==}
-
resolution: {integrity: sha512-8SVPMuHqlPME/z3gqVwWY4zVXn8lqKv/pAhC57FuJ40ImXyBpmO5ukh98zB2v7Blql2FiHjHv9LVztSIqjY+MA==}
@@ -14757,9 +14055,6 @@ packages:
resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==}
- resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==}
-
resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==}
engines: {node: '>= 0.10.0'}
@@ -14778,9 +14073,6 @@ packages:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
- resolution: {integrity: sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==}
-
resolution: {integrity: sha512-UlIZrRariB11TY1RtTgUWp65tphtBv4CSq7vyS2ZZ2TgoMjs2nloq+wFqxiwcxlhHUvs7DPGgMjs2aeQxz5h9g==}
@@ -15501,10 +14793,6 @@ packages:
resolution: {integrity: sha512-2YEOR5qlI1zUFbGMLKNfsrR5JUvFg9LxIRVE+xJe962pfVLH0rnItqLzv96XVs1Y1UIR8FxsXAuvX/lYAWZ2BQ==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-gnXhNRE0FNhD7wPSCGhdNh46Hs6nm+uTyg+Kq0cZukNQiYdnCsoQjodNP9BQVG9XrcK/v6/MgpAPBUFyzh9pvw==}
- engines: {node: '>=6.0.0'}
-
resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==}
engines: {node: '>=6'}
@@ -15698,9 +14986,6 @@ packages:
resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-QiM9D0NiU5jV6J6tjE1g7b4Z2tcUnKs1OPUi4iMb2zH+7jwlcUrASghgkFk9GtzqNNq8rTQJtT8AzjBAvLoNMw==}
-
resolution: {integrity: sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==}
engines: {node: '>= 10'}
@@ -15960,10 +15245,6 @@ packages:
resolution: {integrity: sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==}
- resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-EuCycjZtfPcjWk7KTksnJ5xPMvWGA/6i4zrLYhRG0hGvC3GPU/jGUj3Cy+ZR0v30duV3e23R95T1lE2+lsndSw==}
@@ -16076,17 +15357,6 @@ packages:
resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==}
engines: {node: '>= 14.16'}
- resolution: {integrity: sha512-Zft3sHTNJRUGkp7j7/aZ+TYSPuIsIxNe9qIrI0Bwk6kgS0YkRvI4BSCN6+2bNRT5MNpxnshoe17CBdkQl6emvw==}
- engines: {node: ^18.20.2 || >=20.9.0}
- hasBin: true
- peerDependencies:
- graphql: ^16.8.1
-
- resolution: {integrity: sha512-peBp3qZyuS6cNIJ2akRNG1uo1WJ1d0wTxg/fxMdZ0BqCVhx242bSFHM9eNqflfJVS9SsgkzgT/1UgnsurBOTMg==}
- engines: {node: '>=14.16'}
-
resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==}
@@ -16229,10 +15499,6 @@ packages:
resolution: {integrity: sha512-F63x5tizV6WCh4R6RHyi2Ml+M70DNRXt/+HANowMflpgGFMAym/VKm6G7ZOQRjqN7XbGxK1Lg9t6ZrtzOaivMw==}
- resolution: {integrity: sha512-cQBBIVG3YajgoUjo1FdKVRX6t9XPxwB9lcNJVD5GCnNM4Y6T12YYx8c6zEejxQsU0wrg9TwmDulcE9LR7qcJqA==}
- hasBin: true
-
resolution: {integrity: sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==}
@@ -16243,10 +15509,6 @@ packages:
resolution: {integrity: sha512-ip4qdzjkAyDDZklUaZkcRFb2iA118H9SgRh8yzTkSQK8HilsOJF7rSY8HoW5+I0M46AZgX/pxbprf2vvzQCE0Q==}
hasBin: true
- resolution: {integrity: sha512-xSEmD4pLnV54t0NOUN16yCl7RIB1c5UUOse5HSyEXtBp+FgFQyPeDutc+Q2ZO7/22vImV7VfEjH/1zV2QuqvYw==}
- hasBin: true
-
resolution: {integrity: sha512-i85pKRCt4qMjZ1+L7sy2Ag4t1atFcdbEt76+7iRJn1g2BvsnRMGu9p8pivl9fs63M2kF/A0OacFZhTub+m/qMg==}
hasBin: true
@@ -16598,11 +15860,6 @@ packages:
engines: {node: '>=14'}
hasBin: true
- resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==}
- engines: {node: '>=14'}
- hasBin: true
-
resolution: {integrity: sha512-QgODejq9K3OzoBbuyobZlUhznP5SKwPqp+6Q6xw6o8gnhr4O85L2U915iM2IDcfF2NPXVaM9zlo9tdwipnYwzg==}
engines: {node: '>=14'}
@@ -16734,10 +15991,6 @@ packages:
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-D8NAthKSD7SGn748v+GLaaO6k08Mvpoqroa35PqIQC4gtUa8/Pb/k+r0m0NnGBVbHDP1gKZ2nVywqfMisRhV5A==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==}
engines: {node: '>=0.6'}
@@ -16843,12 +16096,6 @@ packages:
react: ^18.0
react-dom: ^18.0
- resolution: {integrity: sha512-9cQH6Z/qa4LrGhzdc3XoHbhrxNcMi9MKjZmYgF/1MNNaJwvdSjv3Xd+jjvrEEbKEf71ZgCA3n7fQbdwd70qCRw==}
- peerDependencies:
- react: ^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc
- react-dom: ^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc
-
resolution: {integrity: sha512-l3ub6o8NlchqIjPKrRFUCkTUEq6KwemQlfv3XZzzwpUeGwmDJ+0u0Upmt38hJyd7D/vn2dQoOoLV/qAp0o3uUw==}
engines: {node: '>=18'}
@@ -16893,22 +16140,11 @@ packages:
peerDependencies:
react: '>= 16.8 || 18.0.0'
- resolution: {integrity: sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==}
- engines: {node: '>=10', npm: '>=6'}
- peerDependencies:
- react: '>=16.13.1'
-
resolution: {integrity: sha512-b6PwbdSv8XeOSYvjt8LpgpKrZ0yGdtZokYwkwV2wlcZbxgopHX/hgPl5VgpnoVOWd868n1hktM8Qm4b+02MiLQ==}
peerDependencies:
react: '>=16.13.1'
- resolution: {integrity: sha512-GQDxZ5Jd+Aq/qUxbCm1UtzmL/s++V7zKgE8yMktJiCQXCCFZnMZh9ng+6/Ne6PjNSXH0L9CjeOEREfRnq6Duag==}
- peerDependencies:
- react: '>=16.13.1'
-
resolution: {integrity: sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==}
@@ -16932,11 +16168,6 @@ packages:
peerDependencies:
react: ^16.8.0 || ^17 || ^18
- resolution: {integrity: sha512-4rb8XtXNx7ZaOZarKKnckgz4xLMvds/YrU6mpJfGhGAsy2Mg4mIw1x+DCCGngVGq2soTBVVOxx2s/C6mTX9+pA==}
- peerDependencies:
- react: '>=16.13.1'
-
resolution: {integrity: sha512-OnXi+IHoY2zj6rt+kLmXQth9HZ3rS1TDtDwjFbELcCZngAJC32nXp2ZzLp4FpijzISDe7YfHI3SFs9qALWv+xw==}
peerDependencies:
@@ -17068,12 +16299,6 @@ packages:
react-dom:
optional: true
- resolution: {integrity: sha512-nwRKGanVHGjdccsnzhFte/PULziueZxGD8LL2WojON78Mvnq7LdAMEtu2frrwld1fr3geixg3iiMBIc/LLAZpw==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
resolution: {integrity: sha512-PVKah7p9AgmAesKTijIzUHP1iSq7FTpuY5g8DixKZWkIEvNLjL/gjPok9iqhIS6gmw6aziQxNSQ/C6umZwMePg==}
peerDependencies:
@@ -17394,10 +16619,6 @@ packages:
resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==}
- resolution: {integrity: sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
engines: {node: '>=4'}
@@ -17561,9 +16782,6 @@ packages:
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
- resolution: {integrity: sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==}
-
resolution: {integrity: sha512-Gpczt3WA56Ly0Mn8Sl21Vj94s1axi9hDIzDFn9Ph9x3C3p4nNyvsqJoQyVXKou6cBlfFWEgRW4rT8Tb4i3XnVA==}
engines: {node: '>=14.0.0'}
@@ -17588,9 +16806,6 @@ packages:
resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}
- resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==}
-
resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==}
engines: {node: '>= 10.13.0'}
@@ -17599,9 +16814,6 @@ packages:
resolution: {integrity: sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==}
engines: {node: '>= 10.13.0'}
- resolution: {integrity: sha512-o/mRQGk9Rcer/jEEw/yw4mwo3EU/NvYvp577/Btqrym9Qy5/MdWGBqipbALgd2lrdWTJ5/gqDusxfnQBxOxT2Q==}
-
resolution: {integrity: sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==}
engines: {node: '>=0.10.0'}
@@ -17825,9 +17037,6 @@ packages:
resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}
- resolution: {integrity: sha512-R3q3/eoeNBp24CNTASEUrffXi0j9TwPIEvSStlvSrsFimM17sV5EHcMOc86j3K+UWZyLYvH0hRmYGCpCoaJ4vw==}
-
resolution: {integrity: sha512-8MJPnjRN6A8UCp1I+H/dSFyjwJhp6wta4hsVRhjf8w9qBHRzxYt14RaOcjvQnhD1N4yKOddEjflwMnQM4VtXjQ==}
@@ -17908,12 +17117,6 @@ packages:
react: ^18.0.0
react-dom: ^18.0.0
- resolution: {integrity: sha512-DIS8z4PfJRbIyfVFDVnK9rO3eYDtse4Omcm6bt0oEr5/jtLgysmjuBl1frJ9E/EQZrFmKx2A8m/s5s9CRXIzhw==}
- peerDependencies:
- react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
- react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
-
resolution: {integrity: sha512-Pdz01AvCAottHTPQGzndktFNdbRA75BgOfeT1hH+AMnJFv8lynkPi42rfeEhpx1saTEI3YNMWxfqu0sFD1G8pw==}
engines: {node: '>=12'}
@@ -17929,10 +17132,6 @@ packages:
resolution: {integrity: sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
engines: {node: '>=0.10.0'}
@@ -18077,18 +17276,11 @@ packages:
resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==}
-
resolution: {integrity: sha512-vFZdoWKUeagzKwGGOcEqkV1fcgXOJOQqrNBor5/hbaAE/e/ULxZoIHHJJd5KEuaSddCM9KuYtIuZi3WSttXTEA==}
peerDependencies:
react: ^18.0.0 || ^19.0.0
- resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}
- engines: {node: '>=10.0.0'}
-
resolution: {integrity: sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==}
@@ -18218,10 +17410,6 @@ packages:
resolution: {integrity: sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA==}
- resolution: {integrity: sha512-ExzDvHYPj6F6QkSNe/JxSlBxTh3OrI6wrAIz53ulxo1c4hBJ1bT9C/JrAthEKHWG9riVH3Xzg7B03Oxty6S2Lw==}
- engines: {node: '>=16'}
-
resolution: {integrity: sha512-FL8EeKFFyNQv5cMnXI31CIMCsFarSVI2bF0U0ImeNE3g/F1IvJQyqzOXxPBRXiwQfyBTlbNe88jh1jFW0O/jiQ==}
@@ -18274,9 +17462,6 @@ packages:
peerDependencies:
postcss: ^8.4.32
- resolution: {integrity: sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==}
-
resolution: {integrity: sha512-EQepAV+wMsIaGVGX1RECzgrcqRRU/0sYOHkeLsZ3fzHaHXZy4DaOOX0vOlGQdlsjkh3mFHAIlVimpwAs4dslyQ==}
@@ -18522,9 +17707,6 @@ packages:
resolution: {integrity: sha512-blmhJ/gIrytWnWLgPSRCkhCPeki6UBK2daa3k9mGahN7GjwHu8KrS7F70MvwlsG7IE794JLgwAdCbi4hU4faFQ==}
- resolution: {integrity: sha512-Z3g735FxuZY8rodxV4gH7LxClE4H0hTIyHNIHdk+vpQxjLm0cwnKXq/OFVZ76SOQmto7txVcwSCwkU5kqp+FKg==}
-
resolution: {integrity: sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==}
engines: {node: '>=0.10.0'}
@@ -18533,12 +17715,6 @@ packages:
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
engines: {node: '>=8.0'}
- resolution: {integrity: sha512-joRpzBAk1Bhi2eGEYBjukEWHOe/IvclOkiJl3DtA91jV6NwQ3MwXA4FHYeqk8BNp/D8bmi9tcNbRu/SozP0jbQ==}
-
- resolution: {integrity: sha512-rLdvwXZ39VOn1IxGL3V6ZstoTbwLRckQmn/U8ZDLuWwIXNpuZDhQ3AiRUlhTbOXFVE9C+dR51wM0CBDhk31VcA==}
-
resolution: {integrity: sha512-BxX8EkCxOAZe+D/ToHdDsJcVI4HqQfmw0tCkp31zf3dNP/XWIAjU4CmeuSwsSoOzOTqHPOL0KUzyZqJplkD0Qw==}
@@ -18553,10 +17729,6 @@ packages:
resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
engines: {node: '>=0.6'}
- resolution: {integrity: sha512-lbDrTLVsHhOMljPscd0yitpozq7Ga2M5Cvez5AjGg8GASBjtt6iERCAJ93yommPmz62fb45oFIXHEZ3u9bfJEA==}
- engines: {node: '>=14.16'}
-
resolution: {integrity: sha512-gVweAectJU3ebq//Ferr2JUY4WKSDe5N+z0FvjDncLGyHmIDoxgY/2Ie4qfEIDm4IS7OA6Rmdm7pdEEdMcV/xQ==}
@@ -18605,9 +17777,6 @@ packages:
resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==}
- resolution: {integrity: sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==}
-
resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==}
engines: {node: '>=18.12'}
@@ -18621,14 +17790,6 @@ packages:
resolution: {integrity: sha512-Z86EW+fFFh/IFB1fqQ3/+7Zpf9t2ebOAxNI/V6Wo7r5gqiqtxmgTlQ1qbqQcjLKYeSHPTsEmvlJUDg/EuL0uHQ==}
- resolution: {integrity: sha512-/FrVAZ76JLTWxJOERk04fm8hYENDo0PWSP3YLQKxevLwWtxemGcl5JJEzN4iqfDlRve0ckyfFaOBu4xbNH/wZw==}
- peerDependencies:
- typescript: '>=4.5.0'
- peerDependenciesMeta:
- typescript:
- optional: true
-
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
@@ -18675,9 +17836,6 @@ packages:
resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
-
resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==}
@@ -18687,11 +17845,6 @@ packages:
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
- resolution: {integrity: sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==}
- engines: {node: '>=18.0.0'}
- hasBin: true
-
resolution: {integrity: sha512-qjbnuR9Tr+FJOMBqJCW5ehvIo/buZq7vH7qD7JziU98h6l3qGy0a/yPFjwO+y0/T7GFpNgNAvEcPPVfyT8rrPQ==}
engines: {node: '>=18.0.0'}
@@ -18835,10 +17988,6 @@ packages:
engines: {node: '>=0.8.0'}
hasBin: true
- resolution: {integrity: sha512-ZPtzy0hu4cZjv3z5NW9gfKnNLjoz4y6uv4HlelAjDK7sY/xOkKZv9xK/WQpcsBB3jEybChz9DPC2U/+cusjJVQ==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-R9fBn90VTJrqqLDwyMph+HGne8eqY1iPfYhPzZrvKpIfwkWZbcYlfpsb8B9dTvBfpy1/hqAD7Wi8EKfP9e8zdw==}
@@ -18869,10 +18018,6 @@ packages:
resolution: {integrity: sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==}
engines: {node: '>=18.17'}
- resolution: {integrity: sha512-y+8YjDFzWdQlSE9N5nzKMT3g4a5UBX1HKowfdXh0uvAnTaqqwqB92Jt4UXBAeKekDs5IaDKyJFR4X1gYVCgXcw==}
- engines: {node: '>=20.18.1'}
-
resolution: {integrity: sha512-MJZrkjyd7DeC+uPZh+5/YaMDxFiiEEaDgbUSVMXayofAkDWF1088CDo+2RPg7B1BuS1qf1vgNE7xqwPxE0DuSQ==}
engines: {node: '>=20.18.1'}
@@ -18880,9 +18025,6 @@ packages:
resolution: {integrity: sha512-Wj7/AMtE9MRnAXa6Su3Lk0LNCfqDYgfwVjwRFVum9U7wsto1imuHqk4kTm7Jni+5A0Hn7dttL6O/zjvUvoo+8A==}
- resolution: {integrity: sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==}
-
resolution: {integrity: sha512-dRP6OCqtShhMVZQe1F4wdt/WsYl2MskxKK+cvfSo0lQnrPJ4oAUQEkxRg7pPP+vJENabhlir31HwAyHUv7wfMg==}
@@ -19139,27 +18281,12 @@ packages:
'@types/react':
optional: true
- resolution: {integrity: sha512-owfuSmUNd3eNp3J9CdDl0kMgfidV+MkDvHPpvthN5ThqM+ibMccNE0k+Iq7TWC6JPFvGZqanqiGCuQx6DyV24g==}
- peerDependencies:
- react: '>=18.0.0'
- scheduler: '>=0.19.0'
-
resolution: {integrity: sha512-fOrzIw2wstbAJuv8PC9Vg4XgwyTLEOdq4y/Z3IhVl8DAE4svRcgyEUvrEXu+BMNgMoc3YND6qLT61kkgEKXh7Q==}
engines: {node: '>= 10.0.0'}
peerDependencies:
react: '>=16.8.0'
- resolution: {integrity: sha512-tpZZ+EX0gaghDAiFR37hj5MgY6ZN55kLiPkJsKxBMZ6GZdOSPJXiOzPM984oPYZ5AnehYx5WQp1+ME8I/P/pRA==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
resolution: {integrity: sha512-g66/K7ZQGYrI6dy8GLpVcMsBp4s17xNkYJVSMvTEevGy3nDxHOfE6z8BVE22+5G5x7t3+bhzrlTDB7ObrEE0cQ==}
peerDependencies:
@@ -19195,9 +18322,6 @@ packages:
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- resolution: {integrity: sha512-Xn0w3MtiQ6zoz2vFyUVruaCL53O/DwUvkEeOvj+uulMm0BkUGYWmBYVyElqZaSLhY6ZD0ulfU3aBra2aVT4xfA==}
-
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
@@ -19205,10 +18329,6 @@ packages:
resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==}
engines: {node: '>= 0.4.0'}
- resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==}
- hasBin: true
-
resolution: {integrity: sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==}
hasBin: true
@@ -19217,10 +18337,6 @@ packages:
resolution: {integrity: sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==}
hasBin: true
- resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==}
- hasBin: true
-
resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==}
hasBin: true
@@ -19712,11 +18828,6 @@ packages:
resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==}
- resolution: {integrity: sha512-FVdlVVC67WOIPvfOwhoMETV72f6GbW7aOabBC3WxN/oUdoEMDyLz4OgRv5/gck2ZeNqEQu+Tb0kloovXOfpYVg==}
- engines: {node: '>= 0.10.0'}
- hasBin: true
-
resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}
engines: {node: '>=0.4'}
@@ -19766,10 +18877,6 @@ packages:
resolution: {integrity: sha512-sosfr7agy4ibLM7BvXBkM6BpBmKMGuBO8DUYQEuey+QqaqrgW+2bsSg6D050ocBYIz0PuHxUyehyzEztZTU4pw==}
- resolution: {integrity: sha512-OIDwaflOaq4wC6YlPBy2L6ceKeKuF7DeTxx+jPzv1FHn9tCZ0ZwSRnUBxD05E3yed46fv/FWJbvR+Ud7x0L7zw==}
- engines: {node: '>=16.0.0', npm: '>=8.0.0'}
-
resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}
engines: {node: '>=6'}
@@ -19937,12 +19044,6 @@ snapshots:
'@antfu/[email protected]': {}
- '@apidevtools/[email protected]':
- dependencies:
- '@jsdevtools/ono': 7.1.3
- '@types/json-schema': 7.0.15
- js-yaml: 4.1.1
-
'@apm-js-collab/[email protected]': {}
@@ -19975,21 +19076,6 @@ snapshots:
'@aws-sdk/types': 3.840.0
tslib: 2.8.1
- '@aws-crypto/[email protected]':
- dependencies:
- '@aws-crypto/util': 5.2.0
- '@aws-sdk/types': 3.840.0
- tslib: 2.8.1
-
- '@aws-crypto/[email protected]':
- dependencies:
- '@aws-crypto/supports-web-crypto': 5.2.0
- '@aws-crypto/util': 5.2.0
- '@aws-sdk/types': 3.840.0
- '@aws-sdk/util-locate-window': 3.465.0
- '@smithy/util-utf8': 2.0.2
- tslib: 2.8.1
-
'@aws-crypto/[email protected]':
dependencies:
'@aws-crypto/sha256-js': 5.2.0
@@ -20000,12 +19086,6 @@ snapshots:
'@smithy/util-utf8': 2.0.2
tslib: 2.8.1
- '@aws-crypto/[email protected]':
- dependencies:
- '@aws-crypto/util': 1.2.2
- '@aws-sdk/types': 3.840.0
- tslib: 1.14.1
-
'@aws-crypto/[email protected]':
dependencies:
'@aws-crypto/util': 5.2.0
@@ -20016,12 +19096,6 @@ snapshots:
dependencies:
tslib: 2.8.1
- '@aws-crypto/[email protected]':
- dependencies:
- '@aws-sdk/types': 3.840.0
- '@aws-sdk/util-utf8-browser': 3.259.0
- tslib: 1.14.1
-
'@aws-crypto/[email protected]':
dependencies:
'@aws-sdk/types': 3.840.0
@@ -20072,67 +19146,6 @@ snapshots:
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-crypto/sha1-browser': 5.2.0
- '@aws-crypto/sha256-browser': 5.2.0
- '@aws-crypto/sha256-js': 5.2.0
- '@aws-sdk/core': 3.826.0
- '@aws-sdk/credential-provider-node': 3.830.0
- '@aws-sdk/middleware-bucket-endpoint': 3.830.0
- '@aws-sdk/middleware-expect-continue': 3.821.0
- '@aws-sdk/middleware-flexible-checksums': 3.826.0
- '@aws-sdk/middleware-host-header': 3.821.0
- '@aws-sdk/middleware-location-constraint': 3.821.0
- '@aws-sdk/middleware-logger': 3.821.0
- '@aws-sdk/middleware-recursion-detection': 3.821.0
- '@aws-sdk/middleware-sdk-s3': 3.826.0
- '@aws-sdk/middleware-ssec': 3.821.0
- '@aws-sdk/middleware-user-agent': 3.828.0
- '@aws-sdk/region-config-resolver': 3.821.0
- '@aws-sdk/signature-v4-multi-region': 3.826.0
- '@aws-sdk/types': 3.821.0
- '@aws-sdk/util-endpoints': 3.828.0
- '@aws-sdk/util-user-agent-browser': 3.821.0
- '@aws-sdk/util-user-agent-node': 3.828.0
- '@aws-sdk/xml-builder': 3.821.0
- '@smithy/config-resolver': 4.4.6
- '@smithy/core': 3.5.3
- '@smithy/eventstream-serde-browser': 4.0.4
- '@smithy/eventstream-serde-config-resolver': 4.1.2
- '@smithy/eventstream-serde-node': 4.0.4
- '@smithy/fetch-http-handler': 5.0.4
- '@smithy/hash-blob-browser': 4.0.4
- '@smithy/hash-node': 4.0.4
- '@smithy/hash-stream-node': 4.0.4
- '@smithy/invalid-dependency': 4.0.4
- '@smithy/md5-js': 4.0.4
- '@smithy/middleware-content-length': 4.0.4
- '@smithy/middleware-endpoint': 4.1.11
- '@smithy/middleware-retry': 4.1.12
- '@smithy/middleware-serde': 4.0.8
- '@smithy/middleware-stack': 4.0.4
- '@smithy/node-config-provider': 4.1.3
- '@smithy/node-http-handler': 4.0.6
- '@smithy/protocol-http': 5.1.2
- '@smithy/smithy-client': 4.4.3
- '@smithy/types': 4.3.1
- '@smithy/url-parser': 4.0.4
- '@smithy/util-base64': 4.0.0
- '@smithy/util-body-length-browser': 4.0.0
- '@smithy/util-body-length-node': 4.0.0
- '@smithy/util-defaults-mode-browser': 4.0.19
- '@smithy/util-defaults-mode-node': 4.0.19
- '@smithy/util-endpoints': 3.0.6
- '@smithy/util-middleware': 4.0.4
- '@smithy/util-retry': 4.0.5
- '@smithy/util-stream': 4.2.2
- '@smithy/util-utf8': 4.0.0
- '@smithy/util-waiter': 4.0.5
- tslib: 2.8.1
- transitivePeerDependencies:
- - aws-crt
-
'@aws-sdk/[email protected]':
dependencies:
'@aws-crypto/sha256-browser': 5.2.0
@@ -20513,50 +19526,6 @@ snapshots:
transitivePeerDependencies:
- aws-crt
- '@aws-sdk/[email protected](@aws-sdk/[email protected])':
- dependencies:
- '@aws-sdk/client-s3': 3.830.0
- '@smithy/abort-controller': 4.0.4
- '@smithy/middleware-endpoint': 4.1.11
- '@smithy/smithy-client': 4.4.3
- buffer: 5.6.0
- events: 3.3.0
- stream-browserify: 3.0.0
- tslib: 2.8.1
-
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-sdk/types': 3.821.0
- '@aws-sdk/util-arn-parser': 3.804.0
- '@smithy/node-config-provider': 4.3.8
- '@smithy/protocol-http': 5.1.2
- '@smithy/types': 4.12.0
- '@smithy/util-config-provider': 4.2.0
- tslib: 2.8.1
-
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-sdk/types': 3.821.0
- '@smithy/protocol-http': 5.1.2
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-crypto/crc32': 5.2.0
- '@aws-crypto/crc32c': 5.2.0
- '@aws-crypto/util': 5.2.0
- '@aws-sdk/core': 3.826.0
- '@aws-sdk/types': 3.821.0
- '@smithy/is-array-buffer': 4.0.0
- '@smithy/node-config-provider': 4.3.8
- '@smithy/protocol-http': 5.1.2
- '@smithy/types': 4.12.0
- '@smithy/util-middleware': 4.2.8
- '@smithy/util-stream': 4.2.2
- '@smithy/util-utf8': 4.0.0
- tslib: 2.8.1
-
'@aws-sdk/[email protected]':
dependencies:
'@aws-sdk/types': 3.821.0
@@ -20564,12 +19533,6 @@ snapshots:
'@smithy/types': 4.12.0
tslib: 2.8.1
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-sdk/types': 3.821.0
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
'@aws-sdk/[email protected]':
dependencies:
'@aws-sdk/types': 3.821.0
@@ -20583,29 +19546,6 @@ snapshots:
'@smithy/types': 4.12.0
tslib: 2.8.1
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-sdk/core': 3.826.0
- '@aws-sdk/types': 3.821.0
- '@aws-sdk/util-arn-parser': 3.804.0
- '@smithy/core': 3.5.3
- '@smithy/node-config-provider': 4.3.8
- '@smithy/protocol-http': 5.1.2
- '@smithy/signature-v4': 5.1.2
- '@smithy/smithy-client': 4.4.3
- '@smithy/types': 4.12.0
- '@smithy/util-config-provider': 4.2.0
- '@smithy/util-middleware': 4.2.8
- '@smithy/util-stream': 4.2.2
- '@smithy/util-utf8': 4.0.0
- tslib: 2.8.1
-
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-sdk/types': 3.821.0
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
'@aws-sdk/[email protected]':
dependencies:
'@aws-sdk/core': 3.823.0
@@ -20721,26 +19661,6 @@ snapshots:
'@smithy/util-middleware': 4.2.8
tslib: 2.8.1
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-sdk/signature-v4-multi-region': 3.826.0
- '@aws-sdk/types': 3.821.0
- '@aws-sdk/util-format-url': 3.821.0
- '@smithy/middleware-endpoint': 4.1.11
- '@smithy/protocol-http': 5.1.2
- '@smithy/smithy-client': 4.4.3
- '@smithy/types': 4.3.1
- tslib: 2.8.1
-
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-sdk/middleware-sdk-s3': 3.826.0
- '@aws-sdk/types': 3.821.0
- '@smithy/protocol-http': 5.1.2
- '@smithy/signature-v4': 5.1.2
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
'@aws-sdk/[email protected]':
dependencies:
'@aws-sdk/core': 3.823.0
@@ -20775,10 +19695,6 @@ snapshots:
'@smithy/types': 4.12.0
tslib: 2.8.1
- '@aws-sdk/[email protected]':
- dependencies:
- tslib: 2.8.1
-
'@aws-sdk/[email protected]':
dependencies:
'@aws-sdk/types': 3.821.0
@@ -20793,13 +19709,6 @@ snapshots:
'@smithy/util-endpoints': 3.2.8
tslib: 2.8.1
- '@aws-sdk/[email protected]':
- dependencies:
- '@aws-sdk/types': 3.821.0
- '@smithy/querystring-builder': 4.0.4
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
'@aws-sdk/[email protected]':
dependencies:
tslib: 2.8.1
@@ -20827,10 +19736,6 @@ snapshots:
'@smithy/types': 4.12.0
tslib: 2.8.1
- '@aws-sdk/[email protected]':
- dependencies:
- tslib: 2.8.1
-
'@aws-sdk/[email protected]':
dependencies:
'@smithy/types': 4.12.0
@@ -21375,8 +20280,6 @@ snapshots:
'@dagrejs/[email protected]': {}
- '@date-fns/[email protected]': {}
-
'@date-fns/[email protected]': {}
'@discoveryjs/[email protected]': {}
@@ -21386,14 +20289,6 @@ snapshots:
react: 18.3.1
tslib: 2.8.1
- dependencies:
- '@dnd-kit/accessibility': 3.1.1([email protected])
- '@dnd-kit/utilities': 3.2.2([email protected])
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- tslib: 2.8.1
-
dependencies:
'@dnd-kit/accessibility': 3.1.1([email protected])
@@ -21409,13 +20304,6 @@ snapshots:
react: 18.3.1
tslib: 2.8.1
- dependencies:
- '@dnd-kit/utilities': 3.2.2([email protected])
- react: 18.3.1
- tslib: 2.8.1
-
dependencies:
@@ -21440,8 +20328,6 @@ snapshots:
picomatch: 4.0.3
which: 4.0.0
- '@drizzle-team/[email protected]': {}
-
dependencies:
'@noble/ciphers': 1.3.0
@@ -21492,32 +20378,6 @@ snapshots:
tslib: 2.8.1
optional: true
- dependencies:
- '@babel/helper-module-imports': 7.28.6([email protected])
- '@babel/runtime': 7.26.10
- '@emotion/hash': 0.9.2
- '@emotion/memoize': 0.9.0
- '@emotion/serialize': 1.3.3
- babel-plugin-macros: 3.1.0
- convert-source-map: 1.9.0
- escape-string-regexp: 4.0.0
- find-root: 1.1.0
- source-map: 0.5.7
- stylis: 4.2.0
- transitivePeerDependencies:
- - supports-color
-
- '@emotion/[email protected]':
- dependencies:
- '@emotion/memoize': 0.9.0
- '@emotion/sheet': 1.4.0
- '@emotion/utils': 1.4.2
- '@emotion/weak-memoize': 0.4.0
- stylis: 4.2.0
-
- '@emotion/[email protected]': {}
-
'@emotion/[email protected]':
dependencies:
'@emotion/memoize': 0.7.4
@@ -21532,46 +20392,8 @@ snapshots:
'@emotion/[email protected]': {}
- '@emotion/[email protected]': {}
-
- dependencies:
- '@babel/runtime': 7.26.10
- '@emotion/babel-plugin': 11.13.5([email protected])
- '@emotion/cache': 11.14.0
- '@emotion/serialize': 1.3.3
- '@emotion/use-insertion-effect-with-fallbacks': 1.2.0([email protected])
- '@emotion/utils': 1.4.2
- '@emotion/weak-memoize': 0.4.0
- hoist-non-react-statics: 3.3.2
- react: 18.3.1
- optionalDependencies:
- '@types/react': 18.3.3
- transitivePeerDependencies:
- - supports-color
-
- '@emotion/[email protected]':
- dependencies:
- '@emotion/hash': 0.9.2
- '@emotion/memoize': 0.9.0
- '@emotion/unitless': 0.10.0
- '@emotion/utils': 1.4.2
- csstype: 3.1.3
-
- '@emotion/[email protected]': {}
-
- '@emotion/[email protected]': {}
-
'@emotion/[email protected]': {}
- dependencies:
- react: 18.3.1
-
- '@emotion/[email protected]': {}
-
- '@emotion/[email protected]': {}
-
'@envelop/[email protected]':
dependencies:
'@envelop/instrumentation': 1.0.0
@@ -21589,16 +20411,6 @@ snapshots:
'@whatwg-node/promise-helpers': 1.3.1
tslib: 2.8.1
- '@esbuild-kit/[email protected]':
- dependencies:
- esbuild: 0.25.2
- source-map-support: 0.5.21
-
- '@esbuild-kit/[email protected]':
- dependencies:
- '@esbuild-kit/core-utils': 3.3.2
- get-tsconfig: 4.10.0
-
dependencies:
'@types/resolve': 1.20.6
@@ -21732,24 +20544,6 @@ snapshots:
'@exodus/[email protected]': {}
- dependencies:
- body-scroll-lock: 4.0.0-beta.0
- focus-trap: 7.5.4
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- react-transition-group: 4.4.5([email protected]([email protected]))([email protected])
-
- dependencies:
- react: 18.3.1
- react-dom: 18.3.1([email protected])
-
- dependencies:
- react: 18.3.1
- react-dom: 18.3.1([email protected])
-
'@faker-js/[email protected]': {}
'@faker-js/[email protected]': {}
@@ -21822,14 +20616,6 @@ snapshots:
react-dom: 18.3.1([email protected])
tabbable: 6.2.0
- dependencies:
- '@floating-ui/react-dom': 2.1.3([email protected]([email protected]))([email protected])
- '@floating-ui/utils': 0.2.9
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- tabbable: 6.2.0
-
'@floating-ui/[email protected]': {}
'@floating-ui/[email protected]': {}
@@ -22541,7 +21327,8 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@img/[email protected]': {}
+ optional: true
optionalDependencies:
@@ -22852,8 +21639,6 @@ snapshots:
jsbi: 4.3.0
tslib: 2.8.1
- '@jsdevtools/[email protected]': {}
-
dependencies:
jsep: 1.4.0
@@ -22894,155 +21679,6 @@ snapshots:
'@kwsites/[email protected]': {}
- '@lexical/[email protected]':
- dependencies:
- '@lexical/html': 0.28.0
- '@lexical/list': 0.28.0
- '@lexical/selection': 0.28.0
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
- prismjs: 1.30.0
-
- dependencies:
- '@lexical/html': 0.28.0
- '@lexical/link': 0.28.0
- '@lexical/mark': 0.28.0
- '@lexical/table': 0.28.0
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
- react: 18.3.1
- react-dom: 18.3.1([email protected])
-
- '@lexical/[email protected]':
- dependencies:
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/selection': 0.28.0
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/selection': 0.28.0
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/code': 0.28.0
- '@lexical/link': 0.28.0
- '@lexical/list': 0.28.0
- '@lexical/rich-text': 0.28.0
- '@lexical/text': 0.28.0
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/clipboard': 0.28.0
- '@lexical/selection': 0.28.0
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- dependencies:
- '@lexical/devtools-core': 0.28.0([email protected]([email protected]))([email protected])
- '@lexical/dragon': 0.28.0
- '@lexical/hashtag': 0.28.0
- '@lexical/history': 0.28.0
- '@lexical/link': 0.28.0
- '@lexical/list': 0.28.0
- '@lexical/mark': 0.28.0
- '@lexical/markdown': 0.28.0
- '@lexical/overflow': 0.28.0
- '@lexical/plain-text': 0.28.0
- '@lexical/rich-text': 0.28.0
- '@lexical/table': 0.28.0
- '@lexical/text': 0.28.0
- '@lexical/utils': 0.28.0
- '@lexical/yjs': 0.28.0([email protected])
- lexical: 0.28.0
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- react-error-boundary: 3.1.4([email protected])
- transitivePeerDependencies:
- - yjs
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/clipboard': 0.28.0
- '@lexical/selection': 0.28.0
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/clipboard': 0.28.0
- '@lexical/utils': 0.28.0
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- lexical: 0.28.0
-
- '@lexical/[email protected]':
- dependencies:
- '@lexical/list': 0.28.0
- '@lexical/selection': 0.28.0
- '@lexical/table': 0.28.0
- lexical: 0.28.0
-
- dependencies:
- '@lexical/offset': 0.28.0
- '@lexical/selection': 0.28.0
- lexical: 0.28.0
- yjs: 13.6.27
-
'@lezer/[email protected]': {}
@@ -24512,305 +23148,6 @@ snapshots:
'@parcel/watcher-win32-ia32': 2.5.1
'@parcel/watcher-win32-x64': 2.5.1
- dependencies:
- react: 18.3.1
- react-dom: 18.3.1([email protected])
-
- dependencies:
- '@types/pg': 8.10.2
- console-table-printer: 2.12.1
- drizzle-kit: 0.31.7([email protected])
- drizzle-orm: 0.44.7(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])
- pg: 8.16.3
- prompts: 2.4.2
- to-snake-case: 1.0.0
- uuid: 10.0.0
- transitivePeerDependencies:
- - '@aws-sdk/client-rds-data'
- - '@cloudflare/workers-types'
- - '@electric-sql/pglite'
- - '@libsql/client'
- - '@libsql/client-wasm'
- - '@neondatabase/serverless'
- - '@op-engineering/op-sqlite'
- - '@opentelemetry/api'
- - '@planetscale/database'
- - '@prisma/client'
- - '@tidbcloud/serverless'
- - '@types/better-sqlite3'
- - '@types/sql.js'
- - '@upstash/redis'
- - '@vercel/postgres'
- - '@xata.io/client'
- - better-sqlite3
- - bun-types
- - expo-sqlite
- - gel
- - knex
- - kysely
- - mysql2
- - pg-native
- - postgres
- - prisma
- - sql.js
- - sqlite3
- - supports-color
-
- dependencies:
- console-table-printer: 2.12.1
- dequal: 2.0.3
- drizzle-orm: 0.44.7(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])
- prompts: 2.4.2
- to-snake-case: 1.0.0
- uuid: 9.0.0
- transitivePeerDependencies:
- - '@aws-sdk/client-rds-data'
- - '@cloudflare/workers-types'
- - '@electric-sql/pglite'
- - '@libsql/client'
- - '@libsql/client-wasm'
- - '@neondatabase/serverless'
- - '@op-engineering/op-sqlite'
- - '@opentelemetry/api'
- - '@planetscale/database'
- - '@prisma/client'
- - '@tidbcloud/serverless'
- - '@types/better-sqlite3'
- - '@types/pg'
- - '@types/sql.js'
- - '@upstash/redis'
- - '@vercel/postgres'
- - '@xata.io/client'
- - better-sqlite3
- - bun-types
- - expo-sqlite
- - gel
- - knex
- - kysely
- - mysql2
- - pg
- - postgres
- - prisma
- - sql.js
- - sqlite3
-
- dependencies:
- nodemailer: 7.0.11
-
- dependencies:
- graphql: 16.11.0
- graphql-scalars: 1.22.2([email protected])
- pluralize: 8.0.0
- ts-essentials: 10.0.3([email protected])
- tsx: 4.19.2
- transitivePeerDependencies:
- - typescript
-
- dependencies:
- '@payloadcms/live-preview': 3.54.0
- react: 18.3.1
- react-dom: 18.3.1([email protected])
-
- '@payloadcms/[email protected]': {}
-
- dependencies:
- '@payloadcms/translations': 3.52.0
- busboy: 1.6.0
- dequal: 2.0.3
- file-type: 19.3.0
- graphql: 16.11.0
- graphql-http: 1.22.4([email protected])
- graphql-playground-html: 1.6.30
- http-status: 2.1.0
- path-to-regexp: 6.3.0
- qs-esm: 7.0.2
- sass: 1.77.4
- uuid: 10.0.0
- transitivePeerDependencies:
- - '@types/react'
- - monaco-editor
- - react
- - react-dom
- - supports-color
- - typescript
-
- dependencies:
- '@aws-sdk/client-cognito-identity': 3.830.0
- '@aws-sdk/client-s3': 3.830.0
- '@aws-sdk/credential-providers': 3.830.0
- '@aws-sdk/lib-storage': 3.830.0(@aws-sdk/[email protected])
- '@payloadcms/email-nodemailer': 3.60.0([email protected]([email protected])([email protected]))
- amazon-cognito-identity-js: 6.3.15([email protected])
- nodemailer: 7.0.11
- transitivePeerDependencies:
- - aws-crt
- - encoding
-
- dependencies:
- find-node-modules: 2.1.3
- range-parser: 1.2.1
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- transitivePeerDependencies:
- - '@types/react'
- - monaco-editor
- - next
- - supports-color
- - typescript
-
- dependencies:
- escape-html: 1.0.3
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- transitivePeerDependencies:
- - '@types/react'
- - monaco-editor
- - next
- - supports-color
- - typescript
-
- dependencies:
-
- dependencies:
- '@payloadcms/translations': 3.52.0
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- transitivePeerDependencies:
- - '@types/react'
- - monaco-editor
- - next
- - supports-color
- - typescript
-
- dependencies:
- '@faceless-ui/modal': 3.0.0-beta.2([email protected]([email protected]))([email protected])
- '@faceless-ui/scroll-info': 2.0.0([email protected]([email protected]))([email protected])
- '@lexical/headless': 0.28.0
- '@lexical/html': 0.28.0
- '@lexical/link': 0.28.0
- '@lexical/list': 0.28.0
- '@lexical/mark': 0.28.0
- '@lexical/rich-text': 0.28.0
- '@lexical/selection': 0.28.0
- '@lexical/table': 0.28.0
- '@lexical/utils': 0.28.0
- '@payloadcms/translations': 3.52.0
- '@types/uuid': 10.0.0
- acorn: 8.12.1
- bson-objectid: 2.0.4
- csstype: 3.1.3
- dequal: 2.0.3
- escape-html: 1.0.3
- jsox: 1.2.121
- lexical: 0.28.0
- mdast-util-from-markdown: 2.0.2([email protected])
- mdast-util-mdx-jsx: 3.1.3([email protected])
- micromark-extension-mdx-jsx: 3.0.1
- qs-esm: 7.0.2
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- react-error-boundary: 4.1.2([email protected])
- ts-essentials: 10.0.3([email protected])
- uuid: 10.0.0
- transitivePeerDependencies:
- - '@types/react'
- - monaco-editor
- - next
- - supports-color
- - typescript
- - yjs
-
- dependencies:
- '@aws-sdk/client-s3': 3.830.0
- '@aws-sdk/lib-storage': 3.830.0(@aws-sdk/[email protected])
- '@aws-sdk/s3-request-presigner': 3.830.0
- transitivePeerDependencies:
- - '@types/react'
- - aws-crt
- - monaco-editor
- - next
- - react
- - react-dom
- - supports-color
- - typescript
-
- '@payloadcms/[email protected]':
- dependencies:
- date-fns: 4.1.0
-
- dependencies:
- '@date-fns/tz': 1.2.0
- '@dnd-kit/utilities': 3.2.2([email protected])
- '@faceless-ui/modal': 3.0.0-beta.2([email protected]([email protected]))([email protected])
- '@faceless-ui/scroll-info': 2.0.0([email protected]([email protected]))([email protected])
- '@faceless-ui/window-info': 3.0.1([email protected]([email protected]))([email protected])
- '@payloadcms/translations': 3.52.0
- bson-objectid: 2.0.4
- date-fns: 4.1.0
- dequal: 2.0.3
- md5: 2.3.0
- object-to-formdata: 4.5.1
- qs-esm: 7.0.2
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- react-image-crop: 10.1.8([email protected])
- scheduler: 0.25.0
- ts-essentials: 10.0.3([email protected])
- use-context-selector: 2.0.0([email protected])([email protected])
- uuid: 10.0.0
- transitivePeerDependencies:
- - '@types/react'
- - monaco-editor
- - supports-color
- - typescript
-
'@pgsql/[email protected]': {}
'@pgsql/[email protected]': {}
@@ -25038,22 +23375,6 @@ snapshots:
'@types/react': 18.3.3
'@types/react-dom': 18.3.0
- dependencies:
- '@radix-ui/primitive': 1.1.2
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- optionalDependencies:
- '@types/react': 18.3.3
- '@types/react-dom': 18.3.0
-
dependencies:
'@babel/runtime': 7.26.10
@@ -25493,15 +23814,6 @@ snapshots:
'@types/react': 18.3.3
'@types/react-dom': 18.3.0
- dependencies:
- '@radix-ui/react-primitive': 2.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- optionalDependencies:
- '@types/react': 18.3.3
- '@types/react-dom': 18.3.0
-
dependencies:
'@babel/runtime': 7.26.10
@@ -27357,15 +25669,6 @@ snapshots:
'@smithy/types': 4.12.0
tslib: 2.8.1
- '@smithy/[email protected]':
- dependencies:
- '@smithy/util-base64': 4.0.0
- tslib: 2.8.1
-
- '@smithy/[email protected]':
- dependencies:
- tslib: 2.8.1
-
'@smithy/[email protected]':
dependencies:
'@smithy/node-config-provider': 4.3.8
@@ -27402,29 +25705,6 @@ snapshots:
'@smithy/util-hex-encoding': 4.0.0
tslib: 2.8.1
- '@smithy/[email protected]':
- dependencies:
- '@smithy/eventstream-serde-universal': 4.0.4
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
- '@smithy/[email protected]':
- dependencies:
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
- '@smithy/[email protected]':
- dependencies:
- '@smithy/eventstream-serde-universal': 4.0.4
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
- '@smithy/[email protected]':
- dependencies:
- '@smithy/eventstream-codec': 4.0.4
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
'@smithy/[email protected]':
dependencies:
'@smithy/protocol-http': 5.1.2
@@ -27433,13 +25713,6 @@ snapshots:
'@smithy/util-base64': 4.0.0
tslib: 2.8.1
- '@smithy/[email protected]':
- dependencies:
- '@smithy/chunked-blob-reader': 5.0.0
- '@smithy/chunked-blob-reader-native': 4.0.0
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
'@smithy/[email protected]':
dependencies:
'@smithy/types': 4.12.0
@@ -27447,12 +25720,6 @@ snapshots:
'@smithy/util-utf8': 4.0.0
tslib: 2.8.1
- '@smithy/[email protected]':
- dependencies:
- '@smithy/types': 4.12.0
- '@smithy/util-utf8': 4.0.0
- tslib: 2.8.1
-
'@smithy/[email protected]':
dependencies:
'@smithy/types': 4.12.0
@@ -27466,12 +25733,6 @@ snapshots:
dependencies:
tslib: 2.8.1
- '@smithy/[email protected]':
- dependencies:
- '@smithy/types': 4.12.0
- '@smithy/util-utf8': 4.0.0
- tslib: 2.8.1
-
'@smithy/[email protected]':
dependencies:
'@smithy/protocol-http': 5.1.2
@@ -27707,12 +25968,6 @@ snapshots:
'@smithy/util-buffer-from': 4.0.0
tslib: 2.8.1
- '@smithy/[email protected]':
- dependencies:
- '@smithy/abort-controller': 4.0.4
- '@smithy/types': 4.12.0
- tslib: 2.8.1
-
'@speed-highlight/[email protected]': {}
'@standard-schema/[email protected]': {}
@@ -28179,8 +26434,6 @@ snapshots:
dependencies:
'@testing-library/dom': 10.4.0
- '@tokenizer/[email protected]': {}
-
'@tootallnate/[email protected]': {}
'@tootallnate/[email protected]':
@@ -28247,10 +26500,6 @@ snapshots:
dependencies:
'@babel/types': 7.29.0
- '@types/[email protected]':
- dependencies:
- '@types/node': 22.13.14
-
dependencies:
'@types/deep-eql': 4.0.2
@@ -28539,7 +26788,8 @@ snapshots:
dependencies:
'@types/node': 22.13.14
- '@types/[email protected]': {}
+ '@types/[email protected]':
+ optional: true
'@types/[email protected]': {}
@@ -28551,12 +26801,6 @@ snapshots:
dependencies:
'@types/pg': 8.15.6
- '@types/[email protected]':
- dependencies:
- '@types/node': 22.13.14
- pg-protocol: 1.10.3
- pg-types: 4.0.2
-
dependencies:
'@types/node': 22.13.14
@@ -28623,10 +26867,6 @@ snapshots:
dependencies:
'@types/react': 18.3.3
- dependencies:
- '@types/react': 18.3.3
-
dependencies:
'@types/prop-types': 15.7.8
@@ -29279,8 +27519,6 @@ snapshots:
-
@@ -29356,16 +27594,6 @@ snapshots:
- dependencies:
- '@aws-crypto/sha256-js': 1.2.2
- buffer: 4.9.2
- fast-base64-decode: 1.0.0
- isomorphic-unfetch: 3.1.0([email protected])
- js-cookie: 2.2.1
- transitivePeerDependencies:
- - encoding
-
@@ -29672,6 +27900,7 @@ snapshots:
'@babel/runtime': 7.26.10
cosmiconfig: 7.1.0
resolve: 1.22.10
+ optional: true
@@ -29760,8 +27989,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
-
@@ -29833,23 +28060,10 @@ snapshots:
dependencies:
node-int64: 0.4.0
-
- dependencies:
- base64-js: 1.5.1
- ieee754: 1.2.1
- isarray: 1.0.0
-
- dependencies:
- base64-js: 1.5.1
- ieee754: 1.2.1
-
dependencies:
base64-js: 1.5.1
@@ -29864,10 +28078,6 @@ snapshots:
dependencies:
run-applescript: 7.0.0
- dependencies:
- streamsearch: 1.1.0
-
@@ -30052,8 +28262,6 @@ snapshots:
-
@@ -30127,8 +28335,6 @@ snapshots:
-
dependencies:
consola: 3.4.2
@@ -30429,10 +28635,6 @@ snapshots:
- dependencies:
- simple-wcswidth: 1.1.1
-
dependencies:
no-case: 3.0.4
@@ -30463,8 +28665,6 @@ snapshots:
- markdown-wasm
- supports-color
-
@@ -30515,6 +28715,7 @@ snapshots:
parse-json: 5.2.0
path-type: 4.0.0
yaml: 1.10.2
+ optional: true
dependencies:
@@ -30554,10 +28755,6 @@ snapshots:
- dependencies:
- cross-spawn: 7.0.6
-
dependencies:
node-fetch: 2.7.0([email protected])
@@ -30592,8 +28789,6 @@ snapshots:
dependencies:
uncrypto: 0.1.3
-
@@ -30651,8 +28846,6 @@ snapshots:
-
dependencies:
browserslist: 4.26.2
@@ -30946,12 +29139,8 @@ snapshots:
dependencies:
'@babel/runtime': 7.26.10
-
-
@@ -31080,8 +29269,6 @@ snapshots:
-
@@ -31192,22 +29379,6 @@ snapshots:
- dependencies:
- '@drizzle-team/brocli': 0.10.2
- '@esbuild-kit/esm-loader': 2.6.5
- esbuild: 0.25.2
- esbuild-register: 3.6.0([email protected])([email protected])
- transitivePeerDependencies:
- - supports-color
-
- optionalDependencies:
- '@electric-sql/pglite': 0.2.15
- '@opentelemetry/api': 1.9.0
- '@types/pg': 8.10.2
- pg: 8.16.3
-
optionalDependencies:
'@electric-sql/pglite': 0.2.15
@@ -31428,13 +29599,6 @@ snapshots:
d: 1.0.2
ext: 1.7.0
- dependencies:
- debug: 4.4.3([email protected])
- esbuild: 0.25.2
- transitivePeerDependencies:
- - supports-color
-
optionalDependencies:
'@esbuild/aix-ppc64': 0.25.2
@@ -31914,10 +30078,6 @@ snapshots:
dependencies:
fill-range: 2.2.4
- dependencies:
- homedir-polyfill: 1.0.3
-
@@ -32014,14 +30174,10 @@ snapshots:
-
-
@@ -32190,12 +30346,6 @@ snapshots:
dependencies:
tslib: 2.8.1
- dependencies:
- strtok3: 8.1.0
- token-types: 6.0.0
- uint8array-extras: 1.4.0
-
@@ -32243,25 +30393,11 @@ snapshots:
fast-querystring: 1.1.2
safe-regex2: 3.1.0
- dependencies:
- findup-sync: 4.0.0
- merge: 2.1.1
-
-
dependencies:
locate-path: 6.0.0
path-exists: 4.0.0
- dependencies:
- detect-file: 1.0.0
- is-glob: 4.0.3
- micromatch: 4.0.8
- resolve-dir: 1.0.1
-
dependencies:
'@edge-runtime/cookies': 5.0.2
@@ -32279,10 +30415,6 @@ snapshots:
- dependencies:
- tabbable: 6.2.0
-
@@ -32508,10 +30640,6 @@ snapshots:
dependencies:
resolve-pkg-maps: 1.0.0
- dependencies:
- resolve-pkg-maps: 1.0.0
-
dependencies:
isobject: 3.0.1
@@ -32601,20 +30729,6 @@ snapshots:
dependencies:
ini: 4.1.1
- dependencies:
- global-prefix: 1.0.2
- is-windows: 1.0.2
- resolve-dir: 1.0.1
-
- dependencies:
- expand-tilde: 2.0.2
- homedir-polyfill: 1.0.3
- ini: 1.3.8
- is-windows: 1.0.2
- which: 1.3.1
-
@@ -32702,10 +30816,6 @@ snapshots:
- uWebSockets.js
- utf-8-validate
- dependencies:
- graphql: 16.11.0
-
dependencies:
graphql: 16.11.0
@@ -32719,10 +30829,6 @@ snapshots:
nullthrows: 1.1.1
vscode-languageserver-types: 3.17.5
- dependencies:
- xss: 1.0.15
-
dependencies:
'@graphql-typed-document-node/core': 3.2.0([email protected])
@@ -32731,11 +30837,6 @@ snapshots:
transitivePeerDependencies:
- encoding
- dependencies:
- graphql: 16.11.0
- tslib: 2.8.1
-
dependencies:
graphql: 16.11.0
@@ -33083,8 +31184,6 @@ snapshots:
-
@@ -33099,10 +31198,6 @@ snapshots:
dependencies:
react-is: 16.13.1
- dependencies:
- parse-passwd: 1.0.0
-
@@ -33251,8 +31346,6 @@ snapshots:
-
@@ -33303,8 +31396,6 @@ snapshots:
-
@@ -33394,8 +31485,6 @@ snapshots:
-
@@ -33673,19 +31762,10 @@ snapshots:
- dependencies:
- node-fetch: 2.7.0([email protected])
- unfetch: 4.2.0
- transitivePeerDependencies:
- - encoding
-
dependencies:
ws: 8.18.3
-
@@ -33768,8 +31848,6 @@ snapshots:
'@types/react': 18.3.3
react: 18.3.1
-
@@ -33874,18 +31952,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@apidevtools/json-schema-ref-parser': 11.9.3
- '@types/json-schema': 7.0.15
- '@types/lodash': 4.17.16
- is-glob: 4.0.3
- js-yaml: 4.1.1
- lodash: 4.17.23
- minimist: 1.2.8
- prettier: 3.5.3
- tinyglobby: 0.2.15
-
@@ -34006,12 +32072,6 @@ snapshots:
prelude-ls: 1.2.1
type-check: 0.4.0
-
- dependencies:
- isomorphic.js: 0.2.5
-
dependencies:
'@mapbox/node-pre-gyp': 1.0.11([email protected])([email protected])
@@ -34409,12 +32469,6 @@ snapshots:
- dependencies:
- charenc: 0.0.2
- crypt: 0.0.2
- is-buffer: 1.1.6
-
dependencies:
'@types/mdast': 3.0.15
@@ -34819,8 +32873,6 @@ snapshots:
-
@@ -34831,8 +32883,6 @@ snapshots:
-
dependencies:
'@braintree/sanitize-url': 7.1.1
@@ -36001,8 +34051,6 @@ snapshots:
dependencies:
big-integer: 1.6.51
-
dependencies:
abbrev: 1.1.1
@@ -36306,8 +34354,6 @@ snapshots:
-
@@ -36663,8 +34709,6 @@ snapshots:
-
dependencies:
protocols: 2.0.2
@@ -36764,47 +34808,6 @@ snapshots:
- dependencies:
- '@next/env': 15.5.10
- '@payloadcms/translations': 3.52.0
- '@types/busboy': 1.5.4
- ajv: 8.17.1
- bson-objectid: 2.0.4
- busboy: 1.6.0
- ci-info: 4.2.0
- console-table-printer: 2.12.1
- croner: 9.1.0
- dataloader: 2.2.3
- deepmerge: 4.3.1
- file-type: 19.3.0
- get-tsconfig: 4.8.1
- graphql: 16.11.0
- http-status: 2.1.0
- image-size: 2.0.2
- ipaddr.js: 2.2.0
- jose: 5.9.6
- json-schema-to-typescript: 15.0.3
- minimist: 1.2.8
- path-to-regexp: 6.3.0
- pino: 9.5.0
- pino-pretty: 13.0.0
- pluralize: 8.0.0
- qs-esm: 7.0.2
- sanitize-filename: 1.6.3
- scmp: 2.1.0
- ts-essentials: 10.0.3([email protected])
- tsx: 4.20.3
- undici: 7.18.2
- uuid: 10.0.0
- ws: 8.18.3
- transitivePeerDependencies:
- - bufferutil
- - typescript
- - utf-8-validate
-
-
@@ -36952,22 +34955,6 @@ snapshots:
dependencies:
split2: 4.2.0
- dependencies:
- colorette: 2.0.20
- dateformat: 4.6.3
- fast-copy: 3.0.2
- fast-safe-stringify: 2.1.1
- help-me: 5.0.0
- joycon: 3.1.1
- minimist: 1.2.8
- on-exit-leak-free: 2.1.2
- pino-abstract-transport: 2.0.0
- pump: 3.0.3
- secure-json-parse: 2.7.0
- sonic-boom: 4.2.0
- strip-json-comments: 3.1.1
-
@@ -36986,20 +34973,6 @@ snapshots:
sonic-boom: 3.8.1
thread-stream: 2.7.0
- dependencies:
- atomic-sleep: 1.0.0
- fast-redact: 3.5.0
- on-exit-leak-free: 2.1.2
- pino-abstract-transport: 2.0.0
- pino-std-serializers: 7.0.0
- process-warning: 4.0.0
- quick-format-unescaped: 4.0.4
- real-require: 0.2.0
- safe-stable-stringify: 2.5.0
- sonic-boom: 4.2.0
- thread-stream: 3.1.0
-
dependencies:
atomic-sleep: 1.0.0
@@ -37328,8 +35301,6 @@ snapshots:
-
@@ -37454,8 +35425,6 @@ snapshots:
-
dependencies:
side-channel: 1.1.0
@@ -37570,14 +35539,6 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
- dependencies:
- '@floating-ui/react': 0.27.12([email protected]([email protected]))([email protected])
- clsx: 2.1.1
- date-fns: 3.6.0
- react: 18.3.1
- react-dom: 18.3.1([email protected])
-
dependencies:
'@date-fns/tz': 1.4.1
@@ -37626,21 +35587,11 @@ snapshots:
prop-types: 15.8.1
react: 18.3.1
- dependencies:
- '@babel/runtime': 7.26.10
- react: 18.3.1
-
dependencies:
'@babel/runtime': 7.26.10
react: 18.3.1
- dependencies:
- '@babel/runtime': 7.26.10
- react: 18.3.1
-
@@ -37664,10 +35615,6 @@ snapshots:
dependencies:
react: 18.3.1
- dependencies:
- react: 18.3.1
-
dependencies:
react: 18.3.1
@@ -37831,23 +35778,6 @@ snapshots:
optionalDependencies:
react-dom: 18.3.1([email protected])
- dependencies:
- '@babel/runtime': 7.26.10
- '@emotion/cache': 11.14.0
- '@emotion/react': 11.14.0(@types/[email protected])([email protected])([email protected])
- '@floating-ui/dom': 1.5.3
- '@types/react-transition-group': 4.4.12(@types/[email protected])
- memoize-one: 6.0.0
- prop-types: 15.8.1
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- react-transition-group: 4.4.5([email protected]([email protected]))([email protected])
- use-isomorphic-layout-effect: 1.2.1(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - '@types/react'
- - supports-color
-
dependencies:
d3-geo: 3.1.1
@@ -38375,11 +36305,6 @@ snapshots:
- dependencies:
- expand-tilde: 2.0.2
- global-modules: 1.0.0
-
@@ -38557,10 +36482,6 @@ snapshots:
- dependencies:
- truncate-utf8-bytes: 1.0.2
-
dependencies:
chokidar: 3.6.0
@@ -38572,6 +36493,7 @@ snapshots:
chokidar: 3.6.0
immutable: 4.3.4
source-map-js: 1.2.1
+ optional: true
dependencies:
@@ -38597,8 +36519,6 @@ snapshots:
dependencies:
loose-envify: 1.4.0
-
dependencies:
'@types/json-schema': 7.0.15
@@ -38612,8 +36532,6 @@ snapshots:
ajv-formats: 2.1.1([email protected])
ajv-keywords: 5.1.0([email protected])
-
@@ -38828,6 +36746,7 @@ snapshots:
'@img/sharp-win32-arm64': 0.34.5
'@img/sharp-win32-ia32': 0.34.5
'@img/sharp-win32-x64': 0.34.5
+ optional: true
dependencies:
@@ -38954,8 +36873,6 @@ snapshots:
dependencies:
is-arrayish: 0.3.2
-
dependencies:
debug: 4.4.3([email protected])
@@ -39049,11 +36966,6 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
- dependencies:
- react: 18.3.1
- react-dom: 18.3.1([email protected])
-
dependencies:
is-plain-obj: 4.1.0
@@ -39067,8 +36979,6 @@ snapshots:
-
@@ -39194,11 +37104,6 @@ snapshots:
es-errors: 1.3.0
internal-slot: 1.1.0
- dependencies:
- inherits: 2.0.4
- readable-stream: 3.6.2
-
dependencies:
clsx: 2.1.1
@@ -39219,8 +37124,6 @@ snapshots:
- '@types/react'
- supports-color
-
dependencies:
fast-fifo: 1.3.2
@@ -39394,11 +37297,6 @@ snapshots:
- dependencies:
- '@tokenizer/token': 0.3.0
- peek-readable: 5.4.2
-
@@ -39464,8 +37362,6 @@ snapshots:
postcss: 8.5.6
postcss-selector-parser: 7.1.0
-
@@ -39744,8 +37640,6 @@ snapshots:
dependencies:
to-vfile: 6.1.0
-
dependencies:
kind-of: 3.2.2
@@ -39754,14 +37648,6 @@ snapshots:
dependencies:
is-number: 7.0.0
- dependencies:
- to-space-case: 1.0.0
-
- dependencies:
- to-no-case: 1.0.2
-
dependencies:
is-buffer: 2.0.5
@@ -39773,11 +37659,6 @@ snapshots:
- dependencies:
- '@tokenizer/token': 0.3.0
- ieee754: 1.2.1
-
@@ -39819,10 +37700,6 @@ snapshots:
- dependencies:
- utf8-byte-length: 1.0.5
-
dependencies:
typescript: 5.9.2
@@ -39831,10 +37708,6 @@ snapshots:
- optionalDependencies:
- typescript: 5.9.2
-
@@ -39887,21 +37760,12 @@ snapshots:
minimist: 1.2.8
strip-bom: 3.0.0
-
- dependencies:
- esbuild: 0.25.2
- get-tsconfig: 4.10.0
- optionalDependencies:
- fsevents: 2.3.3
-
dependencies:
esbuild: 0.25.2
@@ -40042,8 +37906,6 @@ snapshots:
optional: true
-
@@ -40072,8 +37934,6 @@ snapshots:
-
@@ -40084,8 +37944,6 @@ snapshots:
pathe: 2.0.3
ufo: 1.6.3
-
dependencies:
hookable: 5.5.3
@@ -40381,21 +38239,10 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.3
- dependencies:
- react: 18.3.1
- scheduler: 0.25.0
-
dependencies:
react: 18.3.1
- dependencies:
- react: 18.3.1
- optionalDependencies:
- '@types/react': 18.3.3
-
dependencies:
react: 18.3.1
@@ -40424,20 +38271,14 @@ snapshots:
dependencies:
react: 18.3.1
-
-
-
@@ -41025,11 +38866,6 @@ snapshots:
optional: true
- dependencies:
- commander: 2.20.3
- cssfilter: 0.0.10
-
@@ -41072,10 +38908,6 @@ snapshots:
- dependencies:
- lib0: 0.2.108
-
optional: true
diff --git a/turbo.json b/turbo.json
index 4f9364bc766..39f698d8c20 100644
--- a/turbo.json
+++ b/turbo.json
@@ -3,44 +3,11 @@
"ui": "stream",
"tasks": {
"build": {
- "dependsOn": [
- "^build"
- ],
- "outputs": [
- "dist/**",
- ".next/**"
- ]
- },
- "cms#build": {
- "dependsOn": [
- "^build"
- ],
- "env": [
- "BLOG_APP_URL",
- "CRON_SECRET",
- "DATABASE_URI",
- "NEXT_PUBLIC_VERCEL_BRANCH_URL",
- "NEXT_PUBLIC_SERVER_URL",
- "NEXT_PUBLIC_VERCEL_ENV",
- "NODE_ENV",
- "PAYLOAD_SECRET",
- "PREVIEW_SECRET",
- "S3_BUCKET",
- "S3_ACCESS_KEY_ID",
- "S3_SECRET_ACCESS_KEY",
- "S3_REGION",
- "S3_ENDPOINT",
- "VERCEL_PROJECT_PRODUCTION_URL"
- ],
- "outputs": [
- ".next/**",
- "!.next/cache/**"
- ]
+ "dependsOn": ["^build"],
+ "outputs": ["dist/**", ".next/**"]
},
"design-system#build": {
- "dependsOn": [
- "^build"
- ],
+ "dependsOn": ["^build"],
"env": [
"NEXT_PUBLIC_BASE_PATH",
"NEXT_PUBLIC_APP_URL",
@@ -53,16 +20,10 @@
"NEXT_PUBLIC_GOTRUE_URL",
"NEXT_PUBLIC_SUPABASE_ANON_KEY"
],
- "outputs": [
- ".next/**",
- "!.next/cache/**",
- ".contentlayer/**"
- ]
+ "outputs": [".next/**", "!.next/cache/**", ".contentlayer/**"]
},
"studio#build": {
- "dependsOn": [
- "^build"
- ],
+ "dependsOn": ["^build"],
"env": [
"ANALYZE",
"CI",
@@ -155,23 +116,15 @@
"SNIPPETS_MANAGEMENT_FOLDER",
"EDGE_FUNCTIONS_MANAGEMENT_FOLDER"
],
- "outputs": [
- ".next/**",
- "!.next/cache/**"
- ]
+ "outputs": [".next/**", "!.next/cache/**"]
},
"www#build": {
- "dependsOn": [
- "^build"
- ],
+ "dependsOn": ["^build"],
"env": [
"ANALYZE",
"CI",
"CF_ACCESS_CLIENT_ID",
"CF_ACCESS_CLIENT_SECRET",
- "CMS_API_KEY",
- "CMS_PREVIEW_SECRET",
- "CMS_SITE_ORIGIN",
"NEXT_PUBLIC_MISC_USE_URL",
"NEXT_PUBLIC_MISC_USE_ANON_KEY",
"NEXT_PUBLIC_STUDIO_URL",
@@ -235,16 +188,10 @@
"CUSTOMERIO_API_KEY",
"CUSTOMERIO_APP_API_KEY"
],
- "outputs": [
- ".next/**",
- "!.next/cache/**",
- ".contentlayer/**"
- ]
+ "outputs": [".next/**", "!.next/cache/**", ".contentlayer/**"]
},
"ui-library#build": {
- "dependsOn": [
- "^build"
- ],
+ "dependsOn": ["^build"],
"env": [
"NEXT_PUBLIC_BASE_PATH",
"NEXT_PUBLIC_APP_URL",
@@ -266,11 +213,7 @@
"SUPABASE_MANAGEMENT_API_TOKEN",
"OPENAI_API_KEY"
],
- "outputs": [
- ".next/**",
- "!.next/cache/**",
- ".contentlayer/**"
- ]
+ "outputs": [".next/**", "!.next/cache/**", ".contentlayer/**"]
},
"lint": {
"outputs": []
@@ -286,9 +229,7 @@
"cache": false
},
"typecheck": {
- "dependsOn": [
- "^typecheck"
- ],
+ "dependsOn": ["^typecheck"],
"outputs": []
}
}