The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix cms types and build (#36145)
Francesco Sansalvadore7e91d7c4a30c
diff --git a/apps/cms/.env b/apps/cms/.envnew file mode 100644index 00000000000..94f021dce47--- /dev/null+++ b/apps/cms/.env@@ -0,0 +1,17 @@+# [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++BLOG_APP_URL=http://localhost:3000+NEXT_PUBLIC_SERVER_URL=http://localhost:3000/blog+CRON_SECRET=secret+PREVIEW_SECRET=secret\ No newline at end of filediff --git a/apps/cms/.env.example b/apps/cms/.env.exampledeleted file mode 100644index b8b497ca476..00000000000--- a/apps/cms/.env.example+++ /dev/null@@ -1,13 +0,0 @@-DATABASE_URI=postgres://postgres:<password>@127.0.0.1:5432/your-database-name-PAYLOAD_SECRET=YOUR_SECRET_HERE--S3_BUCKET=-S3_ACCESS_KEY_ID=-S3_SECRET_ACCESS_KEY=-S3_REGION=-S3_ENDPOINT=--NEXT_PUBLIC_SERVER_URL=http://localhost:3000/blog-CRON_SECRET=YOUR_CRON_SECRET_HERE-PREVIEW_SECRET=YOUR_SECRET_HERE-BLOG_APP_URL=http://localhost:3000\ No newline at end of filediff --git a/apps/cms/.eslintrc.js b/apps/cms/.eslintrc.cjssimilarity index 100%rename from apps/cms/.eslintrc.jsrename to apps/cms/.eslintrc.cjsdiff --git a/apps/cms/.gitignore b/apps/cms/.gitignoreindex 3d53a40bcb8..954563c7fcb 100644--- a/apps/cms/.gitignore+++ b/apps/cms/.gitignore@@ -29,7 +29,8 @@ yarn-debug.log*yarn-error.log*# local env files-.env*.local+!.env+.env.local# vercel.vercel@@ -38,6 +39,4 @@ yarn-error.log**.tsbuildinfonext-env.d.ts-.env-/mediadiff --git a/apps/cms/.vercelignore b/apps/cms/.vercelignorenew file mode 100644index 00000000000..3b3aaed4c81--- /dev/null+++ b/apps/cms/.vercelignore@@ -0,0 +1,48 @@+# 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 filediff --git a/apps/cms/docker-compose.yml b/apps/cms/docker-compose.ymlindex dc5ddababa2..a475be621b0 100644--- a/apps/cms/docker-compose.yml+++ b/apps/cms/docker-compose.yml@@ -15,7 +15,7 @@ services:env_file:- .env- # Uncomment the following to use postgres+ # Uncomment the following to use postgrespostgres:restart: alwaysimage: postgres:latestdiff --git a/apps/cms/next.config.mjs b/apps/cms/next.config.mjsindex cc7ee7f02ba..8c87e87b2f0 100644--- a/apps/cms/next.config.mjs+++ b/apps/cms/next.config.mjs@@ -1,6 +1,23 @@import { withPayload } from '@payloadcms/next/withPayload'-import redirects from './redirects.js'+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 NEXT_PUBLIC_SERVER_URL = process.env.VERCEL_PROJECT_PRODUCTION_URL? `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`diff --git a/apps/cms/package.json b/apps/cms/package.jsonindex 56250c8af63..ea0d762bd1a 100644--- a/apps/cms/package.json+++ b/apps/cms/package.json@@ -5,43 +5,59 @@"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": "cross-env NODE_OPTIONS=--no-deprecation next lint",+ "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",- "ci": "cross-env NODE_OPTIONS=--no-deprecation payload migrate && pnpm build",- "clean": "rimraf node_modules .next",+ "start": "cross-env NODE_OPTIONS=--no-deprecation next start --port 3030",+ "vercel-build": "pnpm migrate && pnpm build","typecheck_IGNORED": "tsc --noEmit"},"dependencies": {- "@payloadcms/db-postgres": "3.33.0",- "@payloadcms/live-preview-react": "^3.33.0",- "@payloadcms/next": "3.33.0",- "@payloadcms/payload-cloud": "3.33.0",- "@payloadcms/plugin-form-builder": "3.33.0",- "@payloadcms/plugin-nested-docs": "3.33.0",- "@payloadcms/plugin-seo": "3.33.0",- "@payloadcms/richtext-lexical": "3.33.0",- "@payloadcms/storage-s3": "3.33.0",- "@payloadcms/ui": "3.33.0",+ "@payloadcms/admin-bar": "^3.50.0",+ "@payloadcms/db-postgres": "^3.50.0",+ "@payloadcms/live-preview-react": "^3.50.0",+ "@payloadcms/next": "3.50.0",+ "@payloadcms/payload-cloud": "3.50.0",+ "@payloadcms/plugin-form-builder": "3.50.0",+ "@payloadcms/plugin-nested-docs": "3.50.0",+ "@payloadcms/plugin-seo": "3.50.0",+ "@payloadcms/richtext-lexical": "3.50.0",+ "@payloadcms/storage-s3": "3.50.0",+ "@payloadcms/ui": "3.50.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",+ "class-variance-authority": "^0.7.1",+ "clsx": "^1.2.1","common": "workspace:*","config": "workspace:*","cross-env": "^7.0.3","eslint-config-supabase": "workspace:*",- "graphql": "^16.8.1",+ "graphql": "^16.11.0",+ "image-size": "2.0.2",+ "lucide-react": "^0.511.0","next": "catalog:",- "payload": "3.33.0",+ "payload": "3.50.0",+ "pg": "^8.16.3",+ "prism-react-renderer": "^2.3.1","react": "catalog:","react-dom": "catalog:",- "sharp": "0.32.6"+ "sharp": "0.32.6",+ "tailwind-merge": "^1.13.2"},"devDependencies": {"@types/node": "catalog:","@types/react": "catalog:","@types/react-dom": "catalog:",+ "tsx": "^4.19.3","typescript": "5.7.3"}}diff --git a/apps/cms/redirects.js b/apps/cms/redirects.jsdeleted file mode 100644index 21b76ecc1b8..00000000000--- a/apps/cms/redirects.js+++ /dev/null@@ -1,20 +0,0 @@-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-}--export default redirectsdiff --git a/apps/cms/scripts/migrate.ts b/apps/cms/scripts/migrate.tsnew file mode 100644index 00000000000..5d3a12c11e7--- /dev/null+++ b/apps/cms/scripts/migrate.ts@@ -0,0 +1,28 @@+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.tsindex 67922028caa..5e1261e26fb 100644--- a/apps/cms/src/access/isAdmin.ts+++ b/apps/cms/src/access/isAdmin.ts@@ -1,5 +1,5 @@import type { AccessArgs, FieldAccess } from 'payload'-import type { User } from '@/payload-types'+import type { User } from '../payload-types'type isAdmin = (args: AccessArgs<User>) => booleandiff --git a/apps/cms/src/access/isAuthenticated.ts b/apps/cms/src/access/isAuthenticated.tsindex 4112452bc3d..62d467a63e9 100644--- a/apps/cms/src/access/isAuthenticated.ts+++ b/apps/cms/src/access/isAuthenticated.ts@@ -1,6 +1,6 @@import type { AccessArgs } from 'payload'-import type { User } from '@/payload-types'+import type { User } from '../payload-types'type isAuthenticated = (args: AccessArgs<User>) => booleandiff --git a/apps/cms/src/blocks/ArchiveBlock/Component.tsx b/apps/cms/src/blocks/ArchiveBlock/Component.tsxdeleted file mode 100644index 48a57ec5d69..00000000000--- a/apps/cms/src/blocks/ArchiveBlock/Component.tsx+++ /dev/null@@ -1,65 +0,0 @@-import type { Post, ArchiveBlock as ArchiveBlockProps } from '@/payload-types'--import configPromise from '@payload-config'-import { getPayload } from 'payload'-import React from 'react'-import RichText from '@/components/RichText'--import { CollectionArchive } from '@/components/CollectionArchive'--export const ArchiveBlock: React.FC<- ArchiveBlockProps & {- id?: string- }-> = async (props) => {- const { id, categories, introContent, limit: limitFromProps, populateBy, selectedDocs } = props-- const limit = limitFromProps || 3-- let posts: Post[] = []-- if (populateBy === 'collection') {- const payload = await getPayload({ config: configPromise })-- const flattenedCategories = categories?.map((category) => {- if (typeof category === 'object') return category.id- else return category- })-- const fetchedPosts = await payload.find({- collection: 'posts',- depth: 1,- limit,- ...(flattenedCategories && flattenedCategories.length > 0- ? {- where: {- categories: {- in: flattenedCategories,- },- },- }- : {}),- })-- posts = fetchedPosts.docs- } else {- if (selectedDocs?.length) {- const filteredSelectedPosts = selectedDocs.map((post) => {- if (typeof post.value === 'object') return post.value- }) as Post[]-- posts = filteredSelectedPosts- }- }-- return (- <div className="my-16" id={`block-${id}`}>- {introContent && (- <div className="container mb-16">- <RichText className="ms-0 max-w-[48rem]" data={introContent} enableGutter={false} />- </div>- )}- <CollectionArchive posts={posts} />- </div>- )-}diff --git a/apps/cms/src/blocks/ArchiveBlock/config.ts b/apps/cms/src/blocks/ArchiveBlock/config.tsdeleted file mode 100644index f87a376bd51..00000000000--- a/apps/cms/src/blocks/ArchiveBlock/config.ts+++ /dev/null@@ -1,94 +0,0 @@-import type { Block } from 'payload'--import {- FixedToolbarFeature,- HeadingFeature,- InlineToolbarFeature,- lexicalEditor,-} from '@payloadcms/richtext-lexical'--export const Archive: Block = {- slug: 'archive',- interfaceName: 'ArchiveBlock',- fields: [- {- name: 'introContent',- type: 'richText',- editor: lexicalEditor({- features: ({ rootFeatures }) => {- return [- ...rootFeatures,- HeadingFeature({ enabledHeadingSizes: ['h1', 'h2', 'h3', 'h4'] }),- FixedToolbarFeature(),- InlineToolbarFeature(),- ]- },- }),- label: 'Intro Content',- },- {- name: 'populateBy',- type: 'select',- defaultValue: 'collection',- options: [- {- label: 'Collection',- value: 'collection',- },- {- label: 'Individual Selection',- value: 'selection',- },- ],- },- {- name: 'relationTo',- type: 'select',- admin: {- condition: (_, siblingData) => siblingData.populateBy === 'collection',- },- defaultValue: 'posts',- label: 'Collections To Show',- options: [- {- label: 'Posts',- value: 'posts',- },- ],- },- {- name: 'categories',- type: 'relationship',- admin: {- condition: (_, siblingData) => siblingData.populateBy === 'collection',- },- hasMany: true,- label: 'Categories To Show',- relationTo: 'categories',- },- {- name: 'limit',- type: 'number',- admin: {- condition: (_, siblingData) => siblingData.populateBy === 'collection',- step: 1,- },- defaultValue: 10,- label: 'Limit',- },- {- name: 'selectedDocs',- type: 'relationship',- admin: {- condition: (_, siblingData) => siblingData.populateBy === 'selection',- },- hasMany: true,- label: 'Selection',- relationTo: ['posts'],- },- ],- labels: {- plural: 'Archives',- singular: 'Archive',- },-}diff --git a/apps/cms/src/blocks/CallToAction/Component.tsx b/apps/cms/src/blocks/CallToAction/Component.tsxdeleted file mode 100644index 6b3771cf232..00000000000--- a/apps/cms/src/blocks/CallToAction/Component.tsx+++ /dev/null@@ -1,23 +0,0 @@-import React from 'react'--import type { CallToActionBlock as CTABlockProps } from '@/payload-types'--import RichText from '@/components/RichText'-import { CMSLink } from '@/components/Link'--export const CallToActionBlock: React.FC<CTABlockProps> = ({ links, richText }) => {- return (- <div className="container">- <div className="bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center">- <div className="max-w-[48rem] flex items-center">- {richText && <RichText className="mb-0" data={richText} enableGutter={false} />}- </div>- <div className="flex flex-col gap-8">- {(links || []).map(({ link }, i) => {- return <CMSLink key={i} size="lg" {...link} />- })}- </div>- </div>- </div>- )-}diff --git a/apps/cms/src/blocks/CallToAction/config.ts b/apps/cms/src/blocks/CallToAction/config.tsdeleted file mode 100644index f4ffa77c6a1..00000000000--- a/apps/cms/src/blocks/CallToAction/config.ts+++ /dev/null@@ -1,42 +0,0 @@-import type { Block } from 'payload'--import {- FixedToolbarFeature,- HeadingFeature,- InlineToolbarFeature,- lexicalEditor,-} from '@payloadcms/richtext-lexical'--import { linkGroup } from '../../fields/linkGroup'--export const CallToAction: Block = {- slug: 'cta',- interfaceName: 'CallToActionBlock',- fields: [- {- name: 'richText',- type: 'richText',- editor: lexicalEditor({- features: ({ rootFeatures }) => {- return [- ...rootFeatures,- HeadingFeature({ enabledHeadingSizes: ['h1', 'h2', 'h3', 'h4'] }),- FixedToolbarFeature(),- InlineToolbarFeature(),- ]- },- }),- label: false,- },- linkGroup({- appearances: ['default', 'outline'],- overrides: {- maxRows: 2,- },- }),- ],- labels: {- plural: 'Calls to Action',- singular: 'Call to Action',- },-}diff --git a/apps/cms/src/blocks/Code/CopyButton.tsx b/apps/cms/src/blocks/Code/CopyButton.tsxindex 8d204bfffd6..546148fa740 100644--- a/apps/cms/src/blocks/Code/CopyButton.tsx+++ b/apps/cms/src/blocks/Code/CopyButton.tsx@@ -19,7 +19,7 @@ export function CopyButton({ code }: { code: string }) {<div className="flex justify-end align-middle"><ButtonclassName="flex gap-1"- variant={'secondary'}+ variant="secondary"onClick={async () => {await navigator.clipboard.writeText(code)updateCopyStatus()diff --git a/apps/cms/src/blocks/Content/Component.tsx b/apps/cms/src/blocks/Content/Component.tsxdeleted file mode 100644index 2c2550b7598..00000000000--- a/apps/cms/src/blocks/Content/Component.tsx+++ /dev/null@@ -1,43 +0,0 @@-import { cn } from '@/utilities/ui'-import React from 'react'-import RichText from '@/components/RichText'--import type { ContentBlock as ContentBlockProps } from '@/payload-types'--import { CMSLink } from '../../components/Link'--export const ContentBlock: React.FC<ContentBlockProps> = (props) => {- const { columns } = props-- const colsSpanClasses = {- full: '12',- half: '6',- oneThird: '4',- twoThirds: '8',- }-- return (- <div className="container my-16">- <div className="grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16">- {columns &&- columns.length > 0 &&- columns.map((col, index) => {- const { enableLink, link, richText, size } = col-- return (- <div- className={cn(`col-span-4 lg:col-span-${colsSpanClasses[size!]}`, {- 'md:col-span-2': size !== 'full',- })}- key={index}- >- {richText && <RichText data={richText} enableGutter={false} />}-- {enableLink && <CMSLink {...link} />}- </div>- )- })}- </div>- </div>- )-}diff --git a/apps/cms/src/blocks/Content/config.ts b/apps/cms/src/blocks/Content/config.tsdeleted file mode 100644index 5c2fb0771d3..00000000000--- a/apps/cms/src/blocks/Content/config.ts+++ /dev/null@@ -1,79 +0,0 @@-import type { Block, Field } from 'payload'--import {- FixedToolbarFeature,- HeadingFeature,- InlineToolbarFeature,- lexicalEditor,-} from '@payloadcms/richtext-lexical'--import { link } from '@/fields/link'--const columnFields: Field[] = [- {- name: 'size',- type: 'select',- defaultValue: 'oneThird',- options: [- {- label: 'One Third',- value: 'oneThird',- },- {- label: 'Half',- value: 'half',- },- {- label: 'Two Thirds',- value: 'twoThirds',- },- {- label: 'Full',- value: 'full',- },- ],- },- {- name: 'richText',- type: 'richText',- editor: lexicalEditor({- features: ({ rootFeatures }) => {- return [- ...rootFeatures,- HeadingFeature({ enabledHeadingSizes: ['h2', 'h3', 'h4'] }),- FixedToolbarFeature(),- InlineToolbarFeature(),- ]- },- }),- label: false,- },- {- name: 'enableLink',- type: 'checkbox',- },- link({- overrides: {- admin: {- condition: (_data, siblingData) => {- return Boolean(siblingData?.enableLink)- },- },- },- }),-]--export const Content: Block = {- slug: 'content',- interfaceName: 'ContentBlock',- fields: [- {- name: 'columns',- type: 'array',- admin: {- initCollapsed: true,- },- fields: columnFields,- },- ],-}diff --git a/apps/cms/src/blocks/Form/Checkbox/index.tsx b/apps/cms/src/blocks/Form/Checkbox/index.tsxdeleted file mode 100644index 633d5db0d84..00000000000--- a/apps/cms/src/blocks/Form/Checkbox/index.tsx+++ /dev/null@@ -1,45 +0,0 @@-import type { CheckboxField } from '@payloadcms/plugin-form-builder/types'-import type { FieldErrorsImpl, FieldValues, UseFormRegister } from 'react-hook-form'--import { useFormContext } from 'react-hook-form'--import { Checkbox as CheckboxUi } from '@/components/ui/checkbox'-import { Label } from '@/components/ui/label'-import React from 'react'--import { Error } from '../Error'-import { Width } from '../Width'--export const Checkbox: React.FC<- CheckboxField & {- errors: Partial<FieldErrorsImpl>- register: UseFormRegister<FieldValues>- }-> = ({ name, defaultValue, errors, label, register, required, width }) => {- const props = register(name, { required: required })- const { setValue } = useFormContext()-- return (- <Width width={width}>- <div className="flex items-center gap-2">- <CheckboxUi- defaultChecked={defaultValue}- id={name}- {...props}- onCheckedChange={(checked) => {- setValue(props.name, checked)- }}- />- <Label htmlFor={name}>- {required && (- <span className="required">- * <span className="sr-only">(required)</span>- </span>- )}- {label}- </Label>- </div>- {errors[name] && <Error name={name} />}- </Width>- )-}diff --git a/apps/cms/src/blocks/Form/Component.tsx b/apps/cms/src/blocks/Form/Component.tsxdeleted file mode 100644index 7cae8e52e6e..00000000000--- a/apps/cms/src/blocks/Form/Component.tsx+++ /dev/null@@ -1,162 +0,0 @@-'use client'-import type { FormFieldBlock, Form as FormType } from '@payloadcms/plugin-form-builder/types'--import { useRouter } from 'next/navigation'-import React, { useCallback, useState } from 'react'-import { useForm, FormProvider } from 'react-hook-form'-import RichText from '@/components/RichText'-import { Button } from '@/components/ui/button'-import type { SerializedEditorState } from '@payloadcms/richtext-lexical/lexical'--import { fields } from './fields'-import { getClientSideURL } from '@/utilities/getURL'--export type FormBlockType = {- blockName?: string- blockType?: 'formBlock'- enableIntro: boolean- form: FormType- introContent?: SerializedEditorState-}--export const FormBlock: React.FC<- {- id?: string- } & FormBlockType-> = (props) => {- const {- enableIntro,- form: formFromProps,- form: { id: formID, confirmationMessage, confirmationType, redirect, submitButtonLabel } = {},- introContent,- } = props-- const formMethods = useForm({- defaultValues: formFromProps.fields,- })- const {- control,- formState: { errors },- handleSubmit,- register,- } = formMethods-- const [isLoading, setIsLoading] = useState(false)- const [hasSubmitted, setHasSubmitted] = useState<boolean>()- const [error, setError] = useState<{ message: string; status?: string } | undefined>()- const router = useRouter()-- const onSubmit = useCallback(- (data: FormFieldBlock[]) => {- let loadingTimerID: ReturnType<typeof setTimeout>- const submitForm = async () => {- setError(undefined)-- const dataToSend = Object.entries(data).map(([name, value]) => ({- field: name,- value,- }))-- // delay loading indicator by 1s- loadingTimerID = setTimeout(() => {- setIsLoading(true)- }, 1000)-- try {- const req = await fetch(`${getClientSideURL()}/api/form-submissions`, {- body: JSON.stringify({- form: formID,- submissionData: dataToSend,- }),- headers: {- 'Content-Type': 'application/json',- },- method: 'POST',- })-- const res = await req.json()-- clearTimeout(loadingTimerID)-- if (req.status >= 400) {- setIsLoading(false)-- setError({- message: res.errors?.[0]?.message || 'Internal Server Error',- status: res.status,- })-- return- }-- setIsLoading(false)- setHasSubmitted(true)-- if (confirmationType === 'redirect' && redirect) {- const { url } = redirect-- const redirectUrl = url-- if (redirectUrl) router.push(redirectUrl)- }- } catch (err) {- console.warn(err)- setIsLoading(false)- setError({- message: 'Something went wrong.',- })- }- }-- void submitForm()- },- [router, formID, redirect, confirmationType]- )-- return (- <div className="container lg:max-w-[48rem]">- {enableIntro && introContent && !hasSubmitted && (- <RichText className="mb-8 lg:mb-12" data={introContent} enableGutter={false} />- )}- <div className="p-4 lg:p-6 border border-border rounded-[0.8rem]">- <FormProvider {...formMethods}>- {!isLoading && hasSubmitted && confirmationType === 'message' && (- <RichText data={confirmationMessage} />- )}- {isLoading && !hasSubmitted && <p>Loading, please wait...</p>}- {error && <div>{`${error.status || '500'}: ${error.message || ''}`}</div>}- {!hasSubmitted && (- <form id={formID} onSubmit={handleSubmit(onSubmit)}>- <div className="mb-4 last:mb-0">- {formFromProps &&- formFromProps.fields &&- formFromProps.fields?.map((field, index) => {- const Field: React.FC<any> = fields?.[field.blockType as keyof typeof fields]- if (Field) {- return (- <div className="mb-6 last:mb-0" key={index}>- <Field- form={formFromProps}- {...field}- {...formMethods}- control={control}- errors={errors}- register={register}- />- </div>- )- }- return null- })}- </div>-- <Button form={formID} type="submit" variant="default">- {submitButtonLabel}- </Button>- </form>- )}- </FormProvider>- </div>- </div>- )-}diff --git a/apps/cms/src/blocks/Form/Country/index.tsx b/apps/cms/src/blocks/Form/Country/index.tsxdeleted file mode 100644index 9c85b753972..00000000000--- a/apps/cms/src/blocks/Form/Country/index.tsx+++ /dev/null@@ -1,65 +0,0 @@-import type { CountryField } from '@payloadcms/plugin-form-builder/types'-import type { Control, FieldErrorsImpl } from 'react-hook-form'--import { Label } from '@/components/ui/label'-import {- Select,- SelectContent,- SelectItem,- SelectTrigger,- SelectValue,-} from '@/components/ui/select'-import React from 'react'-import { Controller } from 'react-hook-form'--import { Error } from '../Error'-import { Width } from '../Width'-import { countryOptions } from './options'--export const Country: React.FC<- CountryField & {- control: Control- errors: Partial<FieldErrorsImpl>- }-> = ({ name, control, errors, label, required, width }) => {- return (- <Width width={width}>- <Label className="" htmlFor={name}>- {label}-- {required && (- <span className="required">- * <span className="sr-only">(required)</span>- </span>- )}- </Label>- <Controller- control={control}- defaultValue=""- name={name}- render={({ field: { onChange, value } }) => {- const controlledValue = countryOptions.find((t) => t.value === value)-- return (- <Select onValueChange={(val) => onChange(val)} value={controlledValue?.value}>- <SelectTrigger className="w-full" id={name}>- <SelectValue placeholder={label} />- </SelectTrigger>- <SelectContent>- {countryOptions.map(({ label, value }) => {- return (- <SelectItem key={value} value={value}>- {label}- </SelectItem>- )- })}- </SelectContent>- </Select>- )- }}- rules={{ required }}- />- {errors[name] && <Error name={name} />}- </Width>- )-}diff --git a/apps/cms/src/blocks/Form/Country/options.ts b/apps/cms/src/blocks/Form/Country/options.tsdeleted file mode 100644index f952c1df890..00000000000--- a/apps/cms/src/blocks/Form/Country/options.ts+++ /dev/null@@ -1,982 +0,0 @@-export const countryOptions = [- {- label: 'Afghanistan',- value: 'AF',- },- {- label: 'Åland Islands',- value: 'AX',- },- {- label: 'Albania',- value: 'AL',- },- {- label: 'Algeria',- value: 'DZ',- },- {- label: 'American Samoa',- value: 'AS',- },- {- label: 'Andorra',- value: 'AD',- },- {- label: 'Angola',- value: 'AO',- },- {- label: 'Anguilla',- value: 'AI',- },- {- label: 'Antarctica',- value: 'AQ',- },- {- label: 'Antigua and Barbuda',- value: 'AG',- },- {- label: 'Argentina',- value: 'AR',- },- {- label: 'Armenia',- value: 'AM',- },- {- label: 'Aruba',- value: 'AW',- },- {- label: 'Australia',- value: 'AU',- },- {- label: 'Austria',- value: 'AT',- },- {- label: 'Azerbaijan',- value: 'AZ',- },- {- label: 'Bahamas',- value: 'BS',- },- {- label: 'Bahrain',- value: 'BH',- },- {- label: 'Bangladesh',- value: 'BD',- },- {- label: 'Barbados',- value: 'BB',- },- {- label: 'Belarus',- value: 'BY',- },- {- label: 'Belgium',- value: 'BE',- },- {- label: 'Belize',- value: 'BZ',- },- {- label: 'Benin',- value: 'BJ',- },- {- label: 'Bermuda',- value: 'BM',- },- {- label: 'Bhutan',- value: 'BT',- },- {- label: 'Bolivia',- value: 'BO',- },- {- label: 'Bosnia and Herzegovina',- value: 'BA',- },- {- label: 'Botswana',- value: 'BW',- },- {- label: 'Bouvet Island',- value: 'BV',- },- {- label: 'Brazil',- value: 'BR',- },- {- label: 'British Indian Ocean Territory',- value: 'IO',- },- {- label: 'Brunei Darussalam',- value: 'BN',- },- {- label: 'Bulgaria',- value: 'BG',- },- {- label: 'Burkina Faso',- value: 'BF',- },- {- label: 'Burundi',- value: 'BI',- },- {- label: 'Cambodia',- value: 'KH',- },- {- label: 'Cameroon',- value: 'CM',- },- {- label: 'Canada',- value: 'CA',- },- {- label: 'Cape Verde',- value: 'CV',- },- {- label: 'Cayman Islands',- value: 'KY',- },- {- label: 'Central African Republic',- value: 'CF',- },- {- label: 'Chad',- value: 'TD',- },- {- label: 'Chile',- value: 'CL',- },- {- label: 'China',- value: 'CN',- },- {- label: 'Christmas Island',- value: 'CX',- },- {- label: 'Cocos (Keeling) Islands',- value: 'CC',- },- {- label: 'Colombia',- value: 'CO',- },- {- label: 'Comoros',- value: 'KM',- },- {- label: 'Congo',- value: 'CG',- },- {- label: 'Congo, The Democratic Republic of the',- value: 'CD',- },- {- label: 'Cook Islands',- value: 'CK',- },- {- label: 'Costa Rica',- value: 'CR',- },- {- label: "Cote D'Ivoire",- value: 'CI',- },- {- label: 'Croatia',- value: 'HR',- },- {- label: 'Cuba',- value: 'CU',- },- {- label: 'Cyprus',- value: 'CY',- },- {- label: 'Czech Republic',- value: 'CZ',- },- {- label: 'Denmark',- value: 'DK',- },- {- label: 'Djibouti',- value: 'DJ',- },- {- label: 'Dominica',- value: 'DM',- },- {- label: 'Dominican Republic',- value: 'DO',- },- {- label: 'Ecuador',- value: 'EC',- },- {- label: 'Egypt',- value: 'EG',- },- {- label: 'El Salvador',- value: 'SV',- },- {- label: 'Equatorial Guinea',- value: 'GQ',- },- {- label: 'Eritrea',- value: 'ER',- },- {- label: 'Estonia',- value: 'EE',- },- {- label: 'Ethiopia',- value: 'ET',- },- {- label: 'Falkland Islands (Malvinas)',- value: 'FK',- },- {- label: 'Faroe Islands',- value: 'FO',- },- {- label: 'Fiji',- value: 'FJ',- },- {- label: 'Finland',- value: 'FI',- },- {- label: 'France',- value: 'FR',- },- {- label: 'French Guiana',- value: 'GF',- },- {- label: 'French Polynesia',- value: 'PF',- },- {- label: 'French Southern Territories',- value: 'TF',- },- {- label: 'Gabon',- value: 'GA',- },- {- label: 'Gambia',- value: 'GM',- },- {- label: 'Georgia',- value: 'GE',- },- {- label: 'Germany',- value: 'DE',- },- {- label: 'Ghana',- value: 'GH',- },- {- label: 'Gibraltar',- value: 'GI',- },- {- label: 'Greece',- value: 'GR',- },- {- label: 'Greenland',- value: 'GL',- },- {- label: 'Grenada',- value: 'GD',- },- {- label: 'Guadeloupe',- value: 'GP',- },- {- label: 'Guam',- value: 'GU',- },- {- label: 'Guatemala',- value: 'GT',- },- {- label: 'Guernsey',- value: 'GG',- },- {- label: 'Guinea',- value: 'GN',- },- {- label: 'Guinea-Bissau',- value: 'GW',- },- {- label: 'Guyana',- value: 'GY',- },- {- label: 'Haiti',- value: 'HT',- },- {- label: 'Heard Island and Mcdonald Islands',- value: 'HM',- },- {- label: 'Holy See (Vatican City State)',- value: 'VA',- },- {- label: 'Honduras',- value: 'HN',- },- {- label: 'Hong Kong',- value: 'HK',- },- {- label: 'Hungary',- value: 'HU',- },- {- label: 'Iceland',- value: 'IS',- },- {- label: 'India',- value: 'IN',- },- {- label: 'Indonesia',- value: 'ID',- },- {- label: 'Iran, Islamic Republic Of',- value: 'IR',- },- {- label: 'Iraq',- value: 'IQ',- },- {- label: 'Ireland',- value: 'IE',- },- {- label: 'Isle of Man',- value: 'IM',- },- {- label: 'Israel',- value: 'IL',- },- {- label: 'Italy',- value: 'IT',- },- {- label: 'Jamaica',- value: 'JM',- },- {- label: 'Japan',- value: 'JP',- },- {- label: 'Jersey',- value: 'JE',- },- {- label: 'Jordan',- value: 'JO',- },- {- label: 'Kazakhstan',- value: 'KZ',- },- {- label: 'Kenya',- value: 'KE',- },- {- label: 'Kiribati',- value: 'KI',- },- {- label: "Democratic People's Republic of Korea",- value: 'KP',- },- {- label: 'Korea, Republic of',- value: 'KR',- },- {- label: 'Kosovo',- value: 'XK',- },- {- label: 'Kuwait',- value: 'KW',- },- {- label: 'Kyrgyzstan',- value: 'KG',- },- {- label: "Lao People's Democratic Republic",- value: 'LA',- },- {- label: 'Latvia',- value: 'LV',- },- {- label: 'Lebanon',- value: 'LB',- },- {- label: 'Lesotho',- value: 'LS',- },- {- label: 'Liberia',- value: 'LR',- },- {- label: 'Libyan Arab Jamahiriya',- value: 'LY',- },- {- label: 'Liechtenstein',- value: 'LI',- },- {- label: 'Lithuania',- value: 'LT',- },- {- label: 'Luxembourg',- value: 'LU',- },- {- label: 'Macao',- value: 'MO',- },- {- label: 'Macedonia, The Former Yugoslav Republic of',- value: 'MK',- },- {- label: 'Madagascar',- value: 'MG',- },- {- label: 'Malawi',- value: 'MW',- },- {- label: 'Malaysia',- value: 'MY',- },- {- label: 'Maldives',- value: 'MV',- },- {- label: 'Mali',- value: 'ML',- },- {- label: 'Malta',- value: 'MT',- },- {- label: 'Marshall Islands',- value: 'MH',- },- {- label: 'Martinique',- value: 'MQ',- },- {- label: 'Mauritania',- value: 'MR',- },- {- label: 'Mauritius',- value: 'MU',- },- {- label: 'Mayotte',- value: 'YT',- },- {- label: 'Mexico',- value: 'MX',- },- {- label: 'Micronesia, Federated States of',- value: 'FM',- },- {- label: 'Moldova, Republic of',- value: 'MD',- },- {- label: 'Monaco',- value: 'MC',- },- {- label: 'Mongolia',- value: 'MN',- },- {- label: 'Montenegro',- value: 'ME',- },- {- label: 'Montserrat',- value: 'MS',- },- {- label: 'Morocco',- value: 'MA',- },- {- label: 'Mozambique',- value: 'MZ',- },- {- label: 'Myanmar',- value: 'MM',- },- {- label: 'Namibia',- value: 'NA',- },- {- label: 'Nauru',- value: 'NR',- },- {- label: 'Nepal',- value: 'NP',- },- {- label: 'Netherlands',- value: 'NL',- },- {- label: 'Netherlands Antilles',- value: 'AN',- },- {- label: 'New Caledonia',- value: 'NC',- },- {- label: 'New Zealand',- value: 'NZ',- },- {- label: 'Nicaragua',- value: 'NI',- },- {- label: 'Niger',- value: 'NE',- },- {- label: 'Nigeria',- value: 'NG',- },- {- label: 'Niue',- value: 'NU',- },- {- label: 'Norfolk Island',- value: 'NF',- },- {- label: 'Northern Mariana Islands',- value: 'MP',- },- {- label: 'Norway',- value: 'NO',- },- {- label: 'Oman',- value: 'OM',- },- {- label: 'Pakistan',- value: 'PK',- },- {- label: 'Palau',- value: 'PW',- },- {- label: 'Palestinian Territory, Occupied',- value: 'PS',- },- {- label: 'Panama',- value: 'PA',- },- {- label: 'Papua New Guinea',- value: 'PG',- },- {- label: 'Paraguay',- value: 'PY',- },- {- label: 'Peru',- value: 'PE',- },- {- label: 'Philippines',- value: 'PH',- },- {- label: 'Pitcairn',- value: 'PN',- },- {- label: 'Poland',- value: 'PL',- },- {- label: 'Portugal',- value: 'PT',- },- {- label: 'Puerto Rico',- value: 'PR',- },- {- label: 'Qatar',- value: 'QA',- },- {- label: 'Reunion',- value: 'RE',- },- {- label: 'Romania',- value: 'RO',- },- {- label: 'Russian Federation',- value: 'RU',- },- {- label: 'Rwanda',- value: 'RW',- },- {- label: 'Saint Helena',- value: 'SH',- },- {- label: 'Saint Kitts and Nevis',- value: 'KN',- },- {- label: 'Saint Lucia',- value: 'LC',- },- {- label: 'Saint Pierre and Miquelon',- value: 'PM',- },- {- label: 'Saint Vincent and the Grenadines',- value: 'VC',- },- {- label: 'Samoa',- value: 'WS',- },- {- label: 'San Marino',- value: 'SM',- },- {- label: 'Sao Tome and Principe',- value: 'ST',- },- {- label: 'Saudi Arabia',- value: 'SA',- },- {- label: 'Senegal',- value: 'SN',- },- {- label: 'Serbia',- value: 'RS',- },- {- label: 'Seychelles',- value: 'SC',- },- {- label: 'Sierra Leone',- value: 'SL',- },- {- label: 'Singapore',- value: 'SG',- },- {- label: 'Slovakia',- value: 'SK',- },- {- label: 'Slovenia',- value: 'SI',- },- {- label: 'Solomon Islands',- value: 'SB',- },- {- label: 'Somalia',- value: 'SO',- },- {- label: 'South Africa',- value: 'ZA',- },- {- label: 'South Georgia and the South Sandwich Islands',- value: 'GS',- },- {- label: 'Spain',- value: 'ES',- },- {- label: 'Sri Lanka',- value: 'LK',- },- {- label: 'Sudan',- value: 'SD',- },- {- label: 'Suriname',- value: 'SR',- },- {- label: 'Svalbard and Jan Mayen',- value: 'SJ',- },- {- label: 'Swaziland',- value: 'SZ',- },- {- label: 'Sweden',- value: 'SE',- },- {- label: 'Switzerland',- value: 'CH',- },- {- label: 'Syrian Arab Republic',- value: 'SY',- },- {- label: 'Taiwan',- value: 'TW',- },- {- label: 'Tajikistan',- value: 'TJ',- },- {- label: 'Tanzania, United Republic of',- value: 'TZ',- },- {- label: 'Thailand',- value: 'TH',- },- {- label: 'Timor-Leste',- value: 'TL',- },- {- label: 'Togo',- value: 'TG',- },- {- label: 'Tokelau',- value: 'TK',- },- {- label: 'Tonga',- value: 'TO',- },- {- label: 'Trinidad and Tobago',- value: 'TT',- },- {- label: 'Tunisia',- value: 'TN',- },- {- label: 'Turkey',- value: 'TR',- },- {- label: 'Turkmenistan',- value: 'TM',- },- {- label: 'Turks and Caicos Islands',- value: 'TC',- },- {- label: 'Tuvalu',- value: 'TV',- },- {- label: 'Uganda',- value: 'UG',- },- {- label: 'Ukraine',- value: 'UA',- },- {- label: 'United Arab Emirates',- value: 'AE',- },- {- label: 'United Kingdom',- value: 'GB',- },- {- label: 'United States',- value: 'US',- },- {- label: 'United States Minor Outlying Islands',- value: 'UM',- },- {- label: 'Uruguay',- value: 'UY',- },- {- label: 'Uzbekistan',- value: 'UZ',- },- {- label: 'Vanuatu',- value: 'VU',- },- {- label: 'Venezuela',- value: 'VE',- },- {- label: 'Viet Nam',- value: 'VN',- },- {- label: 'Virgin Islands, British',- value: 'VG',- },- {- label: 'Virgin Islands, U.S.',- value: 'VI',- },- {- label: 'Wallis and Futuna',- value: 'WF',- },- {- label: 'Western Sahara',- value: 'EH',- },- {- label: 'Yemen',- value: 'YE',- },- {- label: 'Zambia',- value: 'ZM',- },- {- label: 'Zimbabwe',- value: 'ZW',- },-]diff --git a/apps/cms/src/blocks/Form/Email/index.tsx b/apps/cms/src/blocks/Form/Email/index.tsxdeleted file mode 100644index fc9fd2804cd..00000000000--- a/apps/cms/src/blocks/Form/Email/index.tsx+++ /dev/null@@ -1,38 +0,0 @@-import type { EmailField } from '@payloadcms/plugin-form-builder/types'-import type { FieldErrorsImpl, FieldValues, UseFormRegister } from 'react-hook-form'--import { Input } from '@/components/ui/input'-import { Label } from '@/components/ui/label'-import React from 'react'--import { Error } from '../Error'-import { Width } from '../Width'--export const Email: React.FC<- EmailField & {- errors: Partial<FieldErrorsImpl>- register: UseFormRegister<FieldValues>- }-> = ({ name, defaultValue, errors, label, register, required, width }) => {- return (- <Width width={width}>- <Label htmlFor={name}>- {label}-- {required && (- <span className="required">- * <span className="sr-only">(required)</span>- </span>- )}- </Label>- <Input- defaultValue={defaultValue}- id={name}- type="text"- {...register(name, { pattern: /^\S[^\s@]*@\S+$/, required })}- />-- {errors[name] && <Error name={name} />}- </Width>- )-}diff --git a/apps/cms/src/blocks/Form/Error/index.tsx b/apps/cms/src/blocks/Form/Error/index.tsxdeleted file mode 100644index a7b9e47e805..00000000000--- a/apps/cms/src/blocks/Form/Error/index.tsx+++ /dev/null@@ -1,15 +0,0 @@-'use client'--import * as React from 'react'-import { useFormContext } from 'react-hook-form'--export const Error = ({ name }: { name: string }) => {- const {- formState: { errors },- } = useFormContext()- return (- <div className="mt-2 text-red-500 text-sm">- {(errors[name]?.message as string) || 'This field is required'}- </div>- )-}diff --git a/apps/cms/src/blocks/Form/Message/index.tsx b/apps/cms/src/blocks/Form/Message/index.tsxdeleted file mode 100644index 5924cf95f40..00000000000--- a/apps/cms/src/blocks/Form/Message/index.tsx+++ /dev/null@@ -1,13 +0,0 @@-import RichText from '@/components/RichText'-import React from 'react'--import { Width } from '../Width'-import { SerializedEditorState } from '@payloadcms/richtext-lexical/lexical'--export const Message: React.FC<{ message: SerializedEditorState }> = ({ message }) => {- return (- <Width className="my-12" width="100">- {message && <RichText data={message} />}- </Width>- )-}diff --git a/apps/cms/src/blocks/Form/Number/index.tsx b/apps/cms/src/blocks/Form/Number/index.tsxdeleted file mode 100644index f26e54a4486..00000000000--- a/apps/cms/src/blocks/Form/Number/index.tsx+++ /dev/null@@ -1,36 +0,0 @@-import type { TextField } from '@payloadcms/plugin-form-builder/types'-import type { FieldErrorsImpl, FieldValues, UseFormRegister } from 'react-hook-form'--import { Input } from '@/components/ui/input'-import { Label } from '@/components/ui/label'-import React from 'react'--import { Error } from '../Error'-import { Width } from '../Width'-export const Number: React.FC<- TextField & {- errors: Partial<FieldErrorsImpl>- register: UseFormRegister<FieldValues>- }-> = ({ name, defaultValue, errors, label, register, required, width }) => {- return (- <Width width={width}>- <Label htmlFor={name}>- {label}-- {required && (- <span className="required">- * <span className="sr-only">(required)</span>- </span>- )}- </Label>- <Input- defaultValue={defaultValue}- id={name}- type="number"- {...register(name, { required })}- />- {errors[name] && <Error name={name} />}- </Width>- )-}diff --git a/apps/cms/src/blocks/Form/Select/index.tsx b/apps/cms/src/blocks/Form/Select/index.tsxdeleted file mode 100644index 30c0e8312ac..00000000000--- a/apps/cms/src/blocks/Form/Select/index.tsx+++ /dev/null@@ -1,63 +0,0 @@-import type { SelectField } from '@payloadcms/plugin-form-builder/types'-import type { Control, FieldErrorsImpl } from 'react-hook-form'--import { Label } from '@/components/ui/label'-import {- Select as SelectComponent,- SelectContent,- SelectItem,- SelectTrigger,- SelectValue,-} from '@/components/ui/select'-import React from 'react'-import { Controller } from 'react-hook-form'--import { Error } from '../Error'-import { Width } from '../Width'--export const Select: React.FC<- SelectField & {- control: Control- errors: Partial<FieldErrorsImpl>- }-> = ({ name, control, errors, label, options, required, width, defaultValue }) => {- return (- <Width width={width}>- <Label htmlFor={name}>- {label}- {required && (- <span className="required">- * <span className="sr-only">(required)</span>- </span>- )}- </Label>- <Controller- control={control}- defaultValue={defaultValue}- name={name}- render={({ field: { onChange, value } }) => {- const controlledValue = options.find((t) => t.value === value)-- return (- <SelectComponent onValueChange={(val) => onChange(val)} value={controlledValue?.value}>- <SelectTrigger className="w-full" id={name}>- <SelectValue placeholder={label} />- </SelectTrigger>- <SelectContent>- {options.map(({ label, value }) => {- return (- <SelectItem key={value} value={value}>- {label}- </SelectItem>- )- })}- </SelectContent>- </SelectComponent>- )- }}- rules={{ required }}- />- {errors[name] && <Error name={name} />}- </Width>- )-}diff --git a/apps/cms/src/blocks/Form/State/index.tsx b/apps/cms/src/blocks/Form/State/index.tsxdeleted file mode 100644index 29e49cae0c3..00000000000--- a/apps/cms/src/blocks/Form/State/index.tsx+++ /dev/null@@ -1,64 +0,0 @@-import type { StateField } from '@payloadcms/plugin-form-builder/types'-import type { Control, FieldErrorsImpl } from 'react-hook-form'--import { Label } from '@/components/ui/label'-import {- Select,- SelectContent,- SelectItem,- SelectTrigger,- SelectValue,-} from '@/components/ui/select'-import React from 'react'-import { Controller } from 'react-hook-form'--import { Error } from '../Error'-import { Width } from '../Width'-import { stateOptions } from './options'--export const State: React.FC<- StateField & {- control: Control- errors: Partial<FieldErrorsImpl>- }-> = ({ name, control, errors, label, required, width }) => {- return (- <Width width={width}>- <Label htmlFor={name}>- {label}- {required && (- <span className="required">- * <span className="sr-only">(required)</span>- </span>- )}- </Label>- <Controller- control={control}- defaultValue=""- name={name}- render={({ field: { onChange, value } }) => {- const controlledValue = stateOptions.find((t) => t.value === value)-- return (- <Select onValueChange={(val) => onChange(val)} value={controlledValue?.value}>- <SelectTrigger className="w-full" id={name}>- <SelectValue placeholder={label} />- </SelectTrigger>- <SelectContent>- {stateOptions.map(({ label, value }) => {- return (- <SelectItem key={value} value={value}>- {label}- </SelectItem>- )- })}- </SelectContent>- </Select>- )- }}- rules={{ required }}- />- {errors[name] && <Error name={name} />}- </Width>- )-}diff --git a/apps/cms/src/blocks/Form/State/options.ts b/apps/cms/src/blocks/Form/State/options.tsdeleted file mode 100644index 8dff991e7ab..00000000000--- a/apps/cms/src/blocks/Form/State/options.ts+++ /dev/null@@ -1,52 +0,0 @@-export const stateOptions = [- { label: 'Alabama', value: 'AL' },- { label: 'Alaska', value: 'AK' },- { label: 'Arizona', value: 'AZ' },- { label: 'Arkansas', value: 'AR' },- { label: 'California', value: 'CA' },- { label: 'Colorado', value: 'CO' },- { label: 'Connecticut', value: 'CT' },- { label: 'Delaware', value: 'DE' },- { label: 'Florida', value: 'FL' },- { label: 'Georgia', value: 'GA' },- { label: 'Hawaii', value: 'HI' },- { label: 'Idaho', value: 'ID' },- { label: 'Illinois', value: 'IL' },- { label: 'Indiana', value: 'IN' },- { label: 'Iowa', value: 'IA' },- { label: 'Kansas', value: 'KS' },- { label: 'Kentucky', value: 'KY' },- { label: 'Louisiana', value: 'LA' },- { label: 'Maine', value: 'ME' },- { label: 'Maryland', value: 'MD' },- { label: 'Massachusetts', value: 'MA' },- { label: 'Michigan', value: 'MI' },- { label: 'Minnesota', value: 'MN' },- { label: 'Mississippi', value: 'MS' },- { label: 'Missouri', value: 'MO' },- { label: 'Montana', value: 'MT' },- { label: 'Nebraska', value: 'NE' },- { label: 'Nevada', value: 'NV' },- { label: 'New Hampshire', value: 'NH' },- { label: 'New Jersey', value: 'NJ' },- { label: 'New Mexico', value: 'NM' },- { label: 'New York', value: 'NY' },- { label: 'North Carolina', value: 'NC' },- { label: 'North Dakota', value: 'ND' },- { label: 'Ohio', value: 'OH' },- { label: 'Oklahoma', value: 'OK' },- { label: 'Oregon', value: 'OR' },- { label: 'Pennsylvania', value: 'PA' },- { label: 'Rhode Island', value: 'RI' },- { label: 'South Carolina', value: 'SC' },- { label: 'South Dakota', value: 'SD' },- { label: 'Tennessee', value: 'TN' },- { label: 'Texas', value: 'TX' },- { label: 'Utah', value: 'UT' },- { label: 'Vermont', value: 'VT' },- { label: 'Virginia', value: 'VA' },- { label: 'Washington', value: 'WA' },- { label: 'West Virginia', value: 'WV' },- { label: 'Wisconsin', value: 'WI' },- { label: 'Wyoming', value: 'WY' },-]diff --git a/apps/cms/src/blocks/Form/Text/index.tsx b/apps/cms/src/blocks/Form/Text/index.tsxdeleted file mode 100644index be1e0ff12bd..00000000000--- a/apps/cms/src/blocks/Form/Text/index.tsx+++ /dev/null@@ -1,32 +0,0 @@-import type { TextField } from '@payloadcms/plugin-form-builder/types'-import type { FieldErrorsImpl, FieldValues, UseFormRegister } from 'react-hook-form'--import { Input } from '@/components/ui/input'-import { Label } from '@/components/ui/label'-import React from 'react'--import { Error } from '../Error'-import { Width } from '../Width'--export const Text: React.FC<- TextField & {- errors: Partial<FieldErrorsImpl>- register: UseFormRegister<FieldValues>- }-> = ({ name, defaultValue, errors, label, register, required, width }) => {- return (- <Width width={width}>- <Label htmlFor={name}>- {label}-- {required && (- <span className="required">- * <span className="sr-only">(required)</span>- </span>- )}- </Label>- <Input defaultValue={defaultValue} id={name} type="text" {...register(name, { required })} />- {errors[name] && <Error name={name} />}- </Width>- )-}diff --git a/apps/cms/src/blocks/Form/Textarea/index.tsx b/apps/cms/src/blocks/Form/Textarea/index.tsxdeleted file mode 100644index ecb6e21afdb..00000000000--- a/apps/cms/src/blocks/Form/Textarea/index.tsx+++ /dev/null@@ -1,40 +0,0 @@-import type { TextField } from '@payloadcms/plugin-form-builder/types'-import type { FieldErrorsImpl, FieldValues, UseFormRegister } from 'react-hook-form'--import { Label } from '@/components/ui/label'-import { Textarea as TextAreaComponent } from '@/components/ui/textarea'-import React from 'react'--import { Error } from '../Error'-import { Width } from '../Width'--export const Textarea: React.FC<- TextField & {- errors: Partial<FieldErrorsImpl>- register: UseFormRegister<FieldValues>- rows?: number- }-> = ({ name, defaultValue, errors, label, register, required, rows = 3, width }) => {- return (- <Width width={width}>- <Label htmlFor={name}>- {label}-- {required && (- <span className="required">- * <span className="sr-only">(required)</span>- </span>- )}- </Label>-- <TextAreaComponent- defaultValue={defaultValue}- id={name}- rows={rows}- {...register(name, { required: required })}- />-- {errors[name] && <Error name={name} />}- </Width>- )-}diff --git a/apps/cms/src/blocks/Form/Width/index.tsx b/apps/cms/src/blocks/Form/Width/index.tsxdeleted file mode 100644index bcc51a33333..00000000000--- a/apps/cms/src/blocks/Form/Width/index.tsx+++ /dev/null@@ -1,13 +0,0 @@-import * as React from 'react'--export const Width: React.FC<{- children: React.ReactNode- className?: string- width?: number | string-}> = ({ children, className, width }) => {- return (- <div className={className} style={{ maxWidth: width ? `${width}%` : undefined }}>- {children}- </div>- )-}diff --git a/apps/cms/src/blocks/Form/config.ts b/apps/cms/src/blocks/Form/config.tsdeleted file mode 100644index 5334289f3a0..00000000000--- a/apps/cms/src/blocks/Form/config.ts+++ /dev/null@@ -1,51 +0,0 @@-import type { Block } from 'payload'--import {- FixedToolbarFeature,- HeadingFeature,- InlineToolbarFeature,- lexicalEditor,-} from '@payloadcms/richtext-lexical'--export const FormBlock: Block = {- slug: 'formBlock',- interfaceName: 'FormBlock',- fields: [- {- name: 'form',- type: 'relationship',- relationTo: 'forms',- required: true,- },- {- name: 'enableIntro',- type: 'checkbox',- label: 'Enable Intro Content',- },- {- name: 'introContent',- type: 'richText',- admin: {- condition: (_, { enableIntro }) => Boolean(enableIntro),- },- editor: lexicalEditor({- features: ({ rootFeatures }) => {- return [- ...rootFeatures,- HeadingFeature({ enabledHeadingSizes: ['h1', 'h2', 'h3', 'h4'] }),- FixedToolbarFeature(),- InlineToolbarFeature(),- ]- },- }),- label: 'Intro Content',- },- ],- graphQL: {- singularName: 'FormBlock',- },- labels: {- plural: 'Form Blocks',- singular: 'Form Block',- },-}diff --git a/apps/cms/src/blocks/Form/fields.tsx b/apps/cms/src/blocks/Form/fields.tsxdeleted file mode 100644index fa660f7e398..00000000000--- a/apps/cms/src/blocks/Form/fields.tsx+++ /dev/null@@ -1,21 +0,0 @@-import { Checkbox } from './Checkbox'-import { Country } from './Country'-import { Email } from './Email'-import { Message } from './Message'-import { Number } from './Number'-import { Select } from './Select'-import { State } from './State'-import { Text } from './Text'-import { Textarea } from './Textarea'--export const fields = {- checkbox: Checkbox,- country: Country,- email: Email,- message: Message,- number: Number,- select: Select,- state: State,- text: Text,- textarea: Textarea,-}diff --git a/apps/cms/src/blocks/RelatedPosts/Component.tsx b/apps/cms/src/blocks/RelatedPosts/Component.tsxdeleted file mode 100644index 8d8c9798b20..00000000000--- a/apps/cms/src/blocks/RelatedPosts/Component.tsx+++ /dev/null@@ -1,32 +0,0 @@-import clsx from 'clsx'-import React from 'react'-import RichText from '@/components/RichText'--import type { Post } from '@/payload-types'--import { Card } from '../../components/Card'-import { SerializedEditorState } from '@payloadcms/richtext-lexical/lexical'--export type RelatedPostsProps = {- className?: string- docs?: Post[]- introContent?: SerializedEditorState-}--export const RelatedPosts: React.FC<RelatedPostsProps> = (props) => {- const { className, docs, introContent } = props-- return (- <div className={clsx('lg:container', className)}>- {introContent && <RichText data={introContent} enableGutter={false} />}-- <div className="grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch">- {docs?.map((doc, index) => {- if (typeof doc === 'string') return null-- return <Card key={index} doc={doc} relationTo="posts" showCategories />- })}- </div>- </div>- )-}diff --git a/apps/cms/src/blocks/RenderBlocks.tsx b/apps/cms/src/blocks/RenderBlocks.tsxdeleted file mode 100644index c84634a64ad..00000000000--- a/apps/cms/src/blocks/RenderBlocks.tsx+++ /dev/null@@ -1,51 +0,0 @@-import React, { Fragment } from 'react'--import type { Page } from '@/payload-types'--import { ArchiveBlock } from '@/blocks/ArchiveBlock/Component'-import { CallToActionBlock } from '@/blocks/CallToAction/Component'-import { ContentBlock } from '@/blocks/Content/Component'-import { FormBlock } from '@/blocks/Form/Component'-import { MediaBlock } from '@/blocks/MediaBlock/Component'--const blockComponents = {- archive: ArchiveBlock,- content: ContentBlock,- cta: CallToActionBlock,- formBlock: FormBlock,- mediaBlock: MediaBlock,-}--export const RenderBlocks: React.FC<{- blocks: Page['layout'][0][]-}> = (props) => {- const { blocks } = props-- const hasBlocks = blocks && Array.isArray(blocks) && blocks.length > 0-- if (hasBlocks) {- return (- <Fragment>- {blocks.map((block, index) => {- const { blockType } = block-- if (blockType && blockType in blockComponents) {- const Block = blockComponents[blockType]-- if (Block) {- return (- <div className="my-16" key={index}>- {/* @ts-expect-error there may be some mismatch between the expected types here */}- <Block {...block} disableInnerContainer />- </div>- )- }- }- return null- })}- </Fragment>- )- }-- return null-}diff --git a/apps/cms/src/collections/Authors.ts b/apps/cms/src/collections/Authors.tsindex f9ba90abc79..44cb98321cd 100644--- a/apps/cms/src/collections/Authors.ts+++ b/apps/cms/src/collections/Authors.ts@@ -1,4 +1,4 @@-import { CollectionConfig } from 'payload'+import type { CollectionConfig } from 'payload'export const Authors: CollectionConfig = {slug: 'authors',diff --git a/apps/cms/src/collections/Categories.ts b/apps/cms/src/collections/Categories.tsindex 6203fb9bed4..7fc90e96c2a 100644--- a/apps/cms/src/collections/Categories.ts+++ b/apps/cms/src/collections/Categories.ts@@ -1,4 +1,4 @@-import { CollectionConfig } from 'payload'+import type { CollectionConfig } from 'payload'export const Categories: CollectionConfig = {slug: 'categories',diff --git a/apps/cms/src/collections/Customers/hooks/revalidateCustomer.ts b/apps/cms/src/collections/Customers/hooks/revalidateCustomer.tsindex 5e6f9cbe797..df9cc3626e7 100644--- a/apps/cms/src/collections/Customers/hooks/revalidateCustomer.ts+++ b/apps/cms/src/collections/Customers/hooks/revalidateCustomer.ts@@ -1,10 +1,10 @@import type { CollectionAfterChangeHook, CollectionAfterDeleteHook } from 'payload'-import { revalidatePath, revalidateTag } from 'next/cache'+// Avoid importing next/cache at module scope so migrations can run in a plain Node envimport type { Customer } from '../../../payload-types'-export const revalidateCustomer: CollectionAfterChangeHook<Customer> = ({+export const revalidateCustomer: CollectionAfterChangeHook<Customer> = async ({doc,previousDoc,req: { payload, context },@@ -14,9 +14,13 @@ export const revalidateCustomer: CollectionAfterChangeHook<Customer> = ({const path = `/customers/${doc.slug}`payload.logger.info(`Revalidating event at path: ${path}`)-- revalidatePath(path)- revalidateTag('customers-sitemap')+ 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@@ -25,22 +29,27 @@ export const revalidateCustomer: CollectionAfterChangeHook<Customer> = ({payload.logger.info(`Revalidating old event at path: ${oldPath}`)- revalidatePath(oldPath)- revalidateTag('customers-sitemap')+ try {+ const { revalidatePath, revalidateTag } = await import('next/cache')+ revalidatePath(oldPath)+ revalidateTag('customers-sitemap')+ } catch {}}}return doc}-export const revalidateDelete: CollectionAfterDeleteHook<Customer> = ({+export const revalidateDelete: CollectionAfterDeleteHook<Customer> = async ({doc,req: { context },}) => {if (!context.disableRevalidate) {const path = `/customers/${doc?.slug}`-- revalidatePath(path)- revalidateTag('customers-sitemap')+ try {+ const { revalidatePath, revalidateTag } = await import('next/cache')+ revalidatePath(path)+ revalidateTag('customers-sitemap')+ } catch {}}return docdiff --git a/apps/cms/src/collections/Customers/index.ts b/apps/cms/src/collections/Customers/index.tsindex 2fad829f378..a7108d200e3 100644--- a/apps/cms/src/collections/Customers/index.ts+++ b/apps/cms/src/collections/Customers/index.ts@@ -9,15 +9,15 @@ import {lexicalEditor,} from '@payloadcms/richtext-lexical'-import { isAnyone } from '@/access/isAnyone'-import { isAuthenticated } from '@/access/isAuthenticated'+import { isAnyone } from '../../access/isAnyone.ts'+import { isAuthenticated } from '../../access/isAuthenticated.ts'-import { Banner } from '../../blocks/Banner/config'-import { Code } from '../../blocks/Code/config'-import { MediaBlock } from '../../blocks/MediaBlock/config'-import { Quote } from '../../blocks/Quote/config'-import { YouTube } from '../../blocks/YouTube/config'-import { revalidateDelete, revalidateCustomer } from './hooks/revalidateCustomer'+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 { revalidateDelete, revalidateCustomer } from './hooks/revalidateCustomer.ts'import {MetaDescriptionField,@@ -26,7 +26,7 @@ import {OverviewField,PreviewField,} from '@payloadcms/plugin-seo/fields'-import { slugField } from '@/fields/slug'+import { slugField } from '../../fields/slug/index.ts'const industryOptions = [{ label: 'Healthcare', value: 'healthcare' },diff --git a/apps/cms/src/collections/Events/hooks/revalidateEvent.ts b/apps/cms/src/collections/Events/hooks/revalidateEvent.tsindex 792860785eb..98d2a20b868 100644--- a/apps/cms/src/collections/Events/hooks/revalidateEvent.ts+++ b/apps/cms/src/collections/Events/hooks/revalidateEvent.ts@@ -1,10 +1,10 @@import type { CollectionAfterChangeHook, CollectionAfterDeleteHook } from 'payload'-import { revalidatePath, revalidateTag } from 'next/cache'+// Avoid importing next/cache at module scope so migrations can run in a plain Node envimport type { Event } from '../../../payload-types'-export const revalidateEvent: CollectionAfterChangeHook<Event> = ({+export const revalidateEvent: CollectionAfterChangeHook<Event> = async ({doc,previousDoc,req: { payload, context },@@ -14,9 +14,11 @@ export const revalidateEvent: CollectionAfterChangeHook<Event> = ({const path = `/events/${doc.slug}`payload.logger.info(`Revalidating event at path: ${path}`)-- revalidatePath(path)- revalidateTag('events-sitemap')+ 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@@ -25,19 +27,27 @@ export const revalidateEvent: CollectionAfterChangeHook<Event> = ({payload.logger.info(`Revalidating old event at path: ${oldPath}`)- revalidatePath(oldPath)- revalidateTag('events-sitemap')+ try {+ const { revalidatePath, revalidateTag } = await import('next/cache')+ revalidatePath(oldPath)+ revalidateTag('events-sitemap')+ } catch {}}}return doc}-export const revalidateDelete: CollectionAfterDeleteHook<Event> = ({ doc, req: { context } }) => {+export const revalidateDelete: CollectionAfterDeleteHook<Event> = async ({+ doc,+ req: { context },+}) => {if (!context.disableRevalidate) {const path = `/events/${doc?.slug}`-- revalidatePath(path)- revalidateTag('events-sitemap')+ try {+ const { revalidatePath, revalidateTag } = await import('next/cache')+ revalidatePath(path)+ revalidateTag('events-sitemap')+ } catch {}}return docdiff --git a/apps/cms/src/collections/Events/index.ts b/apps/cms/src/collections/Events/index.tsindex be5f1841c98..ad99e840e2d 100644--- a/apps/cms/src/collections/Events/index.ts+++ b/apps/cms/src/collections/Events/index.ts@@ -9,15 +9,15 @@ import {lexicalEditor,} from '@payloadcms/richtext-lexical'-import { isAnyone } from '@/access/isAnyone'-import { isAuthenticated } from '@/access/isAuthenticated'+import { isAnyone } from '../../access/isAnyone.ts'+import { isAuthenticated } from '../../access/isAuthenticated.ts'-import { Banner } from '@/blocks/Banner/config'-import { Code } from '@/blocks/Code/config'-import { MediaBlock } from '@/blocks/MediaBlock/config'-import { Quote } from '@/blocks/Quote/config'-import { YouTube } from '@/blocks/YouTube/config'-import { revalidateDelete, revalidateEvent } from './hooks/revalidateEvent'+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 { revalidateDelete, revalidateEvent } from './hooks/revalidateEvent.ts'import {MetaDescriptionField,@@ -26,8 +26,8 @@ import {OverviewField,PreviewField,} from '@payloadcms/plugin-seo/fields'-import { slugField } from '@/fields/slug'-import { timezoneOptions } from '../../utilities/timezones'+import { slugField } from '../../fields/slug/index.ts'+import { timezoneOptions } from '../../utilities/timezones.ts'const eventTypeOptions = [{ label: 'Conference', value: 'conference' },diff --git a/apps/cms/src/collections/Media.ts b/apps/cms/src/collections/Media.tsindex 9e82a3cecd4..9b8f9c70ae8 100644--- a/apps/cms/src/collections/Media.ts+++ b/apps/cms/src/collections/Media.ts@@ -5,8 +5,8 @@ import {lexicalEditor,} from '@payloadcms/richtext-lexical'-import { isAnyone } from '@/access/isAnyone'-import { isAuthenticated } from '@/access/isAuthenticated'+import { isAnyone } from '../access/isAnyone.ts'+import { isAuthenticated } from '../access/isAuthenticated.ts'export const Media: CollectionConfig = {slug: 'media',diff --git a/apps/cms/src/collections/Posts/hooks/populateAuthors.ts b/apps/cms/src/collections/Posts/hooks/populateAuthors.tsindex 8617cb1fd02..6a57e36534a 100644--- a/apps/cms/src/collections/Posts/hooks/populateAuthors.ts+++ b/apps/cms/src/collections/Posts/hooks/populateAuthors.ts@@ -1,5 +1,5 @@import type { CollectionAfterReadHook } from 'payload'-import { Author } from 'src/payload-types'+import type { Author } from '../../../payload-types'export const populateAuthors: CollectionAfterReadHook = async ({ doc, req: { payload } }) => {if (doc?.authors && doc?.authors?.length > 0) {diff --git a/apps/cms/src/collections/Posts/hooks/revalidatePost.ts b/apps/cms/src/collections/Posts/hooks/revalidatePost.tsindex ff43752852e..018f7b9cb41 100644--- a/apps/cms/src/collections/Posts/hooks/revalidatePost.ts+++ b/apps/cms/src/collections/Posts/hooks/revalidatePost.ts@@ -1,10 +1,10 @@import type { CollectionAfterChangeHook, CollectionAfterDeleteHook } from 'payload'-import { revalidatePath, revalidateTag } from 'next/cache'+// Avoid importing next/cache at module scope so migrations can run in a plain Node envimport type { Post } from '../../../payload-types'-export const revalidatePost: CollectionAfterChangeHook<Post> = ({+export const revalidatePost: CollectionAfterChangeHook<Post> = async ({doc,previousDoc,req: { payload, context },@@ -14,9 +14,11 @@ export const revalidatePost: CollectionAfterChangeHook<Post> = ({const path = `/posts/${doc.slug}`payload.logger.info(`Revalidating post at path: ${path}`)-- revalidatePath(path)- revalidateTag('posts-sitemap')+ 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@@ -25,19 +27,27 @@ export const revalidatePost: CollectionAfterChangeHook<Post> = ({payload.logger.info(`Revalidating old post at path: ${oldPath}`)- revalidatePath(oldPath)- revalidateTag('posts-sitemap')+ try {+ const { revalidatePath, revalidateTag } = await import('next/cache')+ revalidatePath(oldPath)+ revalidateTag('posts-sitemap')+ } catch {}}}return doc}-export const revalidateDelete: CollectionAfterDeleteHook<Post> = ({ doc, req: { context } }) => {+export const revalidateDelete: CollectionAfterDeleteHook<Post> = async ({+ doc,+ req: { context },+}) => {if (!context.disableRevalidate) {const path = `/posts/${doc?.slug}`-- revalidatePath(path)- revalidateTag('posts-sitemap')+ try {+ const { revalidatePath, revalidateTag } = await import('next/cache')+ revalidatePath(path)+ revalidateTag('posts-sitemap')+ } catch {}}return docdiff --git a/apps/cms/src/collections/Posts/index.ts b/apps/cms/src/collections/Posts/index.tsindex 402a323a6aa..7c20c798867 100644--- a/apps/cms/src/collections/Posts/index.ts+++ b/apps/cms/src/collections/Posts/index.ts@@ -9,16 +9,16 @@ import {lexicalEditor,} from '@payloadcms/richtext-lexical'-import { isAnyone } from '@/access/isAnyone'-import { isAuthenticated } from '@/access/isAuthenticated'+import { isAnyone } from '../../access/isAnyone.ts'+import { isAuthenticated } from '../../access/isAuthenticated.ts'-import { Banner } from '@/blocks/Banner/config'-import { Code } from '@/blocks/Code/config'-import { MediaBlock } from '@/blocks/MediaBlock/config'-import { Quote } from '@/blocks/Quote/config'-import { YouTube } from '@/blocks/YouTube/config'-import { populateAuthors } from './hooks/populateAuthors'-import { revalidateDelete, revalidatePost } from './hooks/revalidatePost'+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 { populateAuthors } from './hooks/populateAuthors.ts'+import { revalidateDelete, revalidatePost } from './hooks/revalidatePost.ts'import {MetaDescriptionField,@@ -27,7 +27,7 @@ import {OverviewField,PreviewField,} from '@payloadcms/plugin-seo/fields'-import { slugField } from '@/fields/slug'+import { slugField } from '../../fields/slug/index.ts'const launchweekOptions = [{ label: '6', value: '6' },diff --git a/apps/cms/src/collections/Tags.ts b/apps/cms/src/collections/Tags.tsindex 07bad6cdffc..d21dd5a4728 100644--- a/apps/cms/src/collections/Tags.ts+++ b/apps/cms/src/collections/Tags.ts@@ -1,4 +1,4 @@-import { CollectionConfig } from 'payload'+import type { CollectionConfig } from 'payload'export const Tags: CollectionConfig = {slug: 'tags',diff --git a/apps/cms/src/collections/Users.ts b/apps/cms/src/collections/Users.tsindex 0108529b13c..de665459f8e 100644--- a/apps/cms/src/collections/Users.ts+++ b/apps/cms/src/collections/Users.ts@@ -1,6 +1,6 @@import type { CollectionConfig } from 'payload'-import { isAdmin, isAdminFieldLevel } from '@/access/isAdmin'-import { isAdminOrSelf } from '@/access/isAdminOrSelf'+import { isAdmin, isAdminFieldLevel } from '../access/isAdmin.ts'+import { isAdminOrSelf } from '../access/isAdminOrSelf.ts'export const Users: CollectionConfig = {slug: 'users',diff --git a/apps/cms/src/components/Card/index.tsx b/apps/cms/src/components/Card/index.tsxindex d9587ebbba5..72c44d27f72 100644--- a/apps/cms/src/components/Card/index.tsx+++ b/apps/cms/src/components/Card/index.tsx@@ -35,7 +35,7 @@ export const Card: React.FC<{'border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer',className)}- ref={card.ref}+ ref={card.ref as React.Ref<HTMLDivElement>}><div className="relative w-full ">{!metaImage && <div className="">No image</div>}@@ -48,15 +48,15 @@ export const Card: React.FC<{<div>{categories?.map((category, index) => {if (typeof category === 'object') {- const { title: titleFromCategory } = category+ const { name: nameFromCategory } = category- const categoryTitle = titleFromCategory || 'Untitled category'+ const categoryName = nameFromCategory || 'Untitled category'const isLast = index === categories.length - 1return (<Fragment key={index}>- {categoryTitle}+ {categoryName}{!isLast && <Fragment>, </Fragment>}</Fragment>)@@ -71,7 +71,11 @@ export const Card: React.FC<{{titleToUse && (<div className="prose"><h3>- <Link className="not-prose" href={href} ref={link.ref}>+ <Link+ className="not-prose"+ href={href}+ ref={link.ref as React.Ref<HTMLAnchorElement>}+ >{titleToUse}</Link></h3>diff --git a/apps/cms/src/components/Link/index.tsx b/apps/cms/src/components/Link/index.tsxindex 0cf220eec59..ed9f7be0b23 100644--- a/apps/cms/src/components/Link/index.tsx+++ b/apps/cms/src/components/Link/index.tsx@@ -3,7 +3,7 @@ import { cn } from '@/utilities/ui'import Link from 'next/link'import React from 'react'-import type { Page, Post } from '@/payload-types'+import type { Post } from '@/payload-types'type CMSLinkType = {appearance?: 'inline' | ButtonProps['variant']@@ -12,8 +12,8 @@ type CMSLinkType = {label?: string | nullnewTab?: boolean | nullreference?: {- relationTo: 'pages' | 'posts'- value: Page | Post | string | number+ relationTo: 'posts'+ value: Post | string | number} | nullsize?: ButtonProps['size'] | nulltype?: 'custom' | 'reference' | null@@ -35,9 +35,7 @@ export const CMSLink: React.FC<CMSLinkType> = (props) => {const href =type === 'reference' && typeof reference?.value === 'object' && reference.value.slug- ? `${reference?.relationTo !== 'pages' ? `/${reference?.relationTo}` : ''}/${- reference.value.slug- }`+ ? `/${reference.value.slug}`: urlif (!href) return nulldiff --git a/apps/cms/src/components/PayloadRedirects/index.tsx b/apps/cms/src/components/PayloadRedirects/index.tsxdeleted file mode 100644index d09f188e7b5..00000000000--- a/apps/cms/src/components/PayloadRedirects/index.tsx+++ /dev/null@@ -1,48 +0,0 @@-import type React from 'react'-import type { Post } from '@/payload-types'--import { getCachedDocument } from '@/utilities/getDocument'-import { getCachedRedirects } from '@/utilities/getRedirects'-import { notFound, redirect } from 'next/navigation'--interface Props {- disableNotFound?: boolean- url: string-}--/* This component helps us with SSR based dynamic redirects */-export const PayloadRedirects: React.FC<Props> = async ({ disableNotFound, url }) => {- const redirects = await getCachedRedirects()()-- const redirectItem = redirects.find((redirect) => redirect.from === url)-- if (redirectItem) {- if (redirectItem.to?.url) {- redirect(redirectItem.to.url)- }-- let redirectUrl: string-- if (typeof redirectItem.to?.reference?.value === 'string') {- const collection = redirectItem.to?.reference?.relationTo- const id = redirectItem.to?.reference?.value-- const document = (await getCachedDocument(collection, id)()) as Post- redirectUrl = `${redirectItem.to?.reference?.relationTo !== 'pages' ? `/${redirectItem.to?.reference?.relationTo}` : ''}/${- document?.slug- }`- } else {- redirectUrl = `${redirectItem.to?.reference?.relationTo !== 'pages' ? `/${redirectItem.to?.reference?.relationTo}` : ''}/${- typeof redirectItem.to?.reference?.value === 'object'- ? redirectItem.to?.reference?.value?.slug- : ''- }`- }-- if (redirectUrl) redirect(redirectUrl)- }-- if (disableNotFound) return null-- notFound()-}diff --git a/apps/cms/src/components/RichText/index.tsx b/apps/cms/src/components/RichText/index.tsxindex b38c2a250fc..727236737d4 100644--- a/apps/cms/src/components/RichText/index.tsx+++ b/apps/cms/src/components/RichText/index.tsx@@ -15,13 +15,11 @@ import { CodeBlock, CodeBlockProps } from '@/blocks/Code/Component'import type {BannerBlock as BannerBlockProps,- CallToActionBlock as CTABlockProps,MediaBlock as MediaBlockProps,QuoteBlock as QuoteBlockProps,YouTubeBlock as YouTubeBlockProps,} from '@/payload-types'import { BannerBlock } from '@/blocks/Banner/Component'-import { CallToActionBlock } from '@/blocks/CallToAction/Component'import { QuoteBlock } from '@/blocks/Quote/Component'import { YouTubeBlock } from '@/blocks/YouTube/Component'import { cn } from '@/utilities/ui'@@ -29,12 +27,7 @@ import { cn } from '@/utilities/ui'type NodeTypes =| DefaultNodeTypes| SerializedBlockNode<- | CTABlockProps- | MediaBlockProps- | BannerBlockProps- | CodeBlockProps- | QuoteBlockProps- | YouTubeBlockProps+ MediaBlockProps | BannerBlockProps | CodeBlockProps | QuoteBlockProps | YouTubeBlockProps>const internalDocToHref = ({ linkNode }: { linkNode: SerializedLinkNode }) => {@@ -62,7 +55,6 @@ const jsxConverters: JSXConvertersFunction<NodeTypes> = ({ defaultConverters })/>),code: ({ node }) => <CodeBlock className="col-start-2" {...node.fields} />,- cta: ({ node }) => <CallToActionBlock {...node.fields} />,quote: ({ node }) => <QuoteBlock className="col-start-2" {...node.fields} />,youtube: ({ node }) => <YouTubeBlock className="col-start-2" {...node.fields} />,},diff --git a/apps/cms/src/fields/link.ts b/apps/cms/src/fields/link.tsindex 2834e257aff..5b6b1a185b7 100644--- a/apps/cms/src/fields/link.ts+++ b/apps/cms/src/fields/link.ts@@ -1,6 +1,6 @@import type { Field, GroupField } from 'payload'-import deepMerge from '@/utilities/deepMerge'+import deepMerge from '../utilities/deepMerge.ts'export type LinkAppearances = 'default' | 'outline'@@ -75,7 +75,7 @@ export const link: LinkType = ({ appearances, disableLabel = false, overrides =condition: (_, siblingData) => siblingData?.type === 'reference',},label: 'Document to link to',- relationTo: ['pages', 'posts'],+ relationTo: ['posts'],required: true,},{diff --git a/apps/cms/src/fields/linkGroup.ts b/apps/cms/src/fields/linkGroup.tsindex c86fa33cf56..72e58a0cfae 100644--- a/apps/cms/src/fields/linkGroup.ts+++ b/apps/cms/src/fields/linkGroup.ts@@ -1,9 +1,9 @@import type { ArrayField, Field } from 'payload'-import type { LinkAppearances } from './link'+import type { LinkAppearances } from './link.ts'-import deepMerge from '@/utilities/deepMerge'-import { link } from './link'+import deepMerge from '../utilities/deepMerge.ts'+import { link } from './link.ts'type LinkGroupType = (options?: {appearances?: LinkAppearances[] | falsediff --git a/apps/cms/src/fields/slug/index.ts b/apps/cms/src/fields/slug/index.tsindex 5892ee5debb..9cbdfda8181 100644--- a/apps/cms/src/fields/slug/index.ts+++ b/apps/cms/src/fields/slug/index.ts@@ -1,6 +1,6 @@import type { CheckboxField, TextField } from 'payload'-import { formatSlugHook } from './formatSlug'+import { formatSlugHook } from './formatSlug.ts'type Overrides = {slugOverrides?: Partial<TextField>diff --git a/apps/cms/src/migrations/20250529_103319.ts b/apps/cms/src/migrations/20250529_103319.tsdeleted file mode 100644index aee3c5f37a5..00000000000--- a/apps/cms/src/migrations/20250529_103319.ts+++ /dev/null@@ -1,1136 +0,0 @@-import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'--export async function up({ db }: MigrateUpArgs): Promise<void> {- await db.execute(sql`- CREATE TYPE "cms-payload"."enum_customers_industry" AS ENUM('healthcare', 'fintech', 'ecommerce', 'education', 'gaming', 'media', 'real-estate', 'saas', 'social', 'analytics', 'ai', 'developer-tools');- CREATE TYPE "cms-payload"."enum_customers_supabase_products" AS ENUM('database', 'auth', 'storage', 'realtime', 'functions', 'vector');- CREATE TYPE "cms-payload"."enum_customers_company_size" AS ENUM('startup', 'enterprise', 'indie_dev');- CREATE TYPE "cms-payload"."enum_customers_region" AS ENUM('Asia', 'Europe', 'North America', 'South America', 'Africa', 'Oceania');- CREATE TYPE "cms-payload"."enum_customers_status" AS ENUM('draft', 'published');- CREATE TYPE "cms-payload"."enum__customers_v_version_industry" AS ENUM('healthcare', 'fintech', 'ecommerce', 'education', 'gaming', 'media', 'real-estate', 'saas', 'social', 'analytics', 'ai', 'developer-tools');- CREATE TYPE "cms-payload"."enum__customers_v_version_supabase_products" AS ENUM('database', 'auth', 'storage', 'realtime', 'functions', 'vector');- CREATE TYPE "cms-payload"."enum__customers_v_version_company_size" AS ENUM('startup', 'enterprise', 'indie_dev');- CREATE TYPE "cms-payload"."enum__customers_v_version_region" AS ENUM('Asia', 'Europe', 'North America', 'South America', 'Africa', 'Oceania');- CREATE TYPE "cms-payload"."enum__customers_v_version_status" AS ENUM('draft', 'published');- CREATE TYPE "cms-payload"."enum_events_type" AS ENUM('conference', 'hackathon', 'launch-week', 'meetup', 'office-hours', 'talk', 'webinar', 'workshop', 'other');- CREATE TYPE "cms-payload"."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 "cms-payload"."enum_events_link_target" AS ENUM('_self', '_blank');- CREATE TYPE "cms-payload"."enum_events_main_cta_target" AS ENUM('_self', '_blank');- CREATE TYPE "cms-payload"."enum_events_status" AS ENUM('draft', 'published');- CREATE TYPE "cms-payload"."enum__events_v_version_type" AS ENUM('conference', 'hackathon', 'launch-week', 'meetup', 'office-hours', 'talk', 'webinar', 'workshop', 'other');- CREATE TYPE "cms-payload"."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 "cms-payload"."enum__events_v_version_link_target" AS ENUM('_self', '_blank');- CREATE TYPE "cms-payload"."enum__events_v_version_main_cta_target" AS ENUM('_self', '_blank');- CREATE TYPE "cms-payload"."enum__events_v_version_status" AS ENUM('draft', 'published');- CREATE TYPE "cms-payload"."enum_posts_launchweek" AS ENUM('6', '7', '8', 'x', 'ga', '12', '13', '14', '15');- CREATE TYPE "cms-payload"."enum_posts_status" AS ENUM('draft', 'published');- CREATE TYPE "cms-payload"."enum__posts_v_version_launchweek" AS ENUM('6', '7', '8', 'x', 'ga', '12', '13', '14', '15');- CREATE TYPE "cms-payload"."enum__posts_v_version_status" AS ENUM('draft', 'published');- CREATE TYPE "cms-payload"."enum_users_roles" AS ENUM('admin', 'editor');- CREATE TYPE "cms-payload"."enum_payload_jobs_log_task_slug" AS ENUM('inline', 'schedulePublish');- CREATE TYPE "cms-payload"."enum_payload_jobs_log_state" AS ENUM('failed', 'succeeded');- CREATE TYPE "cms-payload"."enum_payload_jobs_task_slug" AS ENUM('inline', 'schedulePublish');- CREATE TABLE IF NOT EXISTS "cms-payload"."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 "cms-payload"."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 "cms-payload"."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 "cms-payload"."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 "cms-payload"."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 "cms-payload"."customers_industry" (- "order" integer NOT NULL,- "parent_id" integer NOT NULL,- "value" "cms-payload"."enum_customers_industry",- "id" serial PRIMARY KEY NOT NULL- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."customers_supabase_products" (- "order" integer NOT NULL,- "parent_id" integer NOT NULL,- "value" "cms-payload"."enum_customers_supabase_products",- "id" serial PRIMARY KEY NOT NULL- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."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" "cms-payload"."enum_customers_company_size",- "region" "cms-payload"."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" "cms-payload"."enum_customers_status" DEFAULT 'draft'- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."_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 "cms-payload"."_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 "cms-payload"."_customers_v_version_industry" (- "order" integer NOT NULL,- "parent_id" integer NOT NULL,- "value" "cms-payload"."enum__customers_v_version_industry",- "id" serial PRIMARY KEY NOT NULL- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."_customers_v_version_supabase_products" (- "order" integer NOT NULL,- "parent_id" integer NOT NULL,- "value" "cms-payload"."enum__customers_v_version_supabase_products",- "id" serial PRIMARY KEY NOT NULL- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."_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" "cms-payload"."enum__customers_v_version_company_size",- "version_region" "cms-payload"."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" "cms-payload"."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 "cms-payload"."events_type" (- "order" integer NOT NULL,- "parent_id" integer NOT NULL,- "value" "cms-payload"."enum_events_type",- "id" serial PRIMARY KEY NOT NULL- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."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" "cms-payload"."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" "cms-payload"."enum_events_link_target" DEFAULT '_blank',- "main_cta_href" varchar,- "main_cta_target" "cms-payload"."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" "cms-payload"."enum_events_status" DEFAULT 'draft'- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."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 "cms-payload"."_events_v_version_type" (- "order" integer NOT NULL,- "parent_id" integer NOT NULL,- "value" "cms-payload"."enum__events_v_version_type",- "id" serial PRIMARY KEY NOT NULL- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."_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" "cms-payload"."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" "cms-payload"."enum__events_v_version_link_target" DEFAULT '_blank',- "version_main_cta_href" varchar,- "version_main_cta_target" "cms-payload"."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" "cms-payload"."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 "cms-payload"."_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 "cms-payload"."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 "cms-payload"."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" "cms-payload"."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" "cms-payload"."enum_posts_status" DEFAULT 'draft'- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."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 "cms-payload"."_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" "cms-payload"."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" "cms-payload"."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 "cms-payload"."_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 "cms-payload"."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 "cms-payload"."users_roles" (- "order" integer NOT NULL,- "parent_id" integer NOT NULL,- "value" "cms-payload"."enum_users_roles",- "id" serial PRIMARY KEY NOT NULL- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."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 "cms-payload"."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" "cms-payload"."enum_payload_jobs_log_task_slug" NOT NULL,- "task_i_d" varchar NOT NULL,- "input" jsonb,- "output" jsonb,- "state" "cms-payload"."enum_payload_jobs_log_state" NOT NULL,- "error" jsonb- );-- CREATE TABLE IF NOT EXISTS "cms-payload"."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" "cms-payload"."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 "cms-payload"."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 "cms-payload"."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 "cms-payload"."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 "cms-payload"."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 "cms-payload"."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 "cms-payload"."authors" ADD CONSTRAINT "authors_author_image_url_id_media_id_fk" FOREIGN KEY ("author_image_url_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."categories_breadcrumbs" ADD CONSTRAINT "categories_breadcrumbs_doc_id_categories_id_fk" FOREIGN KEY ("doc_id") REFERENCES "cms-payload"."categories"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."categories_breadcrumbs" ADD CONSTRAINT "categories_breadcrumbs_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "cms-payload"."categories"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."categories" ADD CONSTRAINT "categories_parent_id_categories_id_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."categories"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."customers_stats" ADD CONSTRAINT "customers_stats_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "cms-payload"."customers"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."customers_misc" ADD CONSTRAINT "customers_misc_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "cms-payload"."customers"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."customers_industry" ADD CONSTRAINT "customers_industry_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."customers"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."customers_supabase_products" ADD CONSTRAINT "customers_supabase_products_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."customers"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."customers" ADD CONSTRAINT "customers_meta_image_id_media_id_fk" FOREIGN KEY ("meta_image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."customers" ADD CONSTRAINT "customers_logo_id_media_id_fk" FOREIGN KEY ("logo_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."customers" ADD CONSTRAINT "customers_logo_inverse_id_media_id_fk" FOREIGN KEY ("logo_inverse_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_customers_v_version_stats" ADD CONSTRAINT "_customers_v_version_stats_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "cms-payload"."_customers_v"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_customers_v_version_misc" ADD CONSTRAINT "_customers_v_version_misc_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "cms-payload"."_customers_v"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_customers_v_version_industry" ADD CONSTRAINT "_customers_v_version_industry_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."_customers_v"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_customers_v_version_supabase_products" ADD CONSTRAINT "_customers_v_version_supabase_products_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."_customers_v"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_customers_v" ADD CONSTRAINT "_customers_v_parent_id_customers_id_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."customers"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_customers_v" ADD CONSTRAINT "_customers_v_version_meta_image_id_media_id_fk" FOREIGN KEY ("version_meta_image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_customers_v" ADD CONSTRAINT "_customers_v_version_logo_id_media_id_fk" FOREIGN KEY ("version_logo_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_customers_v" ADD CONSTRAINT "_customers_v_version_logo_inverse_id_media_id_fk" FOREIGN KEY ("version_logo_inverse_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."events_type" ADD CONSTRAINT "events_type_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."events"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."events" ADD CONSTRAINT "events_thumb_id_media_id_fk" FOREIGN KEY ("thumb_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."events" ADD CONSTRAINT "events_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."events" ADD CONSTRAINT "events_company_logo_id_media_id_fk" FOREIGN KEY ("company_logo_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."events" ADD CONSTRAINT "events_company_logo_light_id_media_id_fk" FOREIGN KEY ("company_logo_light_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."events" ADD CONSTRAINT "events_meta_image_id_media_id_fk" FOREIGN KEY ("meta_image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."events_rels" ADD CONSTRAINT "events_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."events"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."events_rels" ADD CONSTRAINT "events_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "cms-payload"."authors"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_events_v_version_type" ADD CONSTRAINT "_events_v_version_type_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."_events_v"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_events_v" ADD CONSTRAINT "_events_v_parent_id_events_id_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."events"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_events_v" ADD CONSTRAINT "_events_v_version_thumb_id_media_id_fk" FOREIGN KEY ("version_thumb_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_events_v" ADD CONSTRAINT "_events_v_version_image_id_media_id_fk" FOREIGN KEY ("version_image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_events_v" ADD CONSTRAINT "_events_v_version_company_logo_id_media_id_fk" FOREIGN KEY ("version_company_logo_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_events_v" ADD CONSTRAINT "_events_v_version_company_logo_light_id_media_id_fk" FOREIGN KEY ("version_company_logo_light_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_events_v" ADD CONSTRAINT "_events_v_version_meta_image_id_media_id_fk" FOREIGN KEY ("version_meta_image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_events_v_rels" ADD CONSTRAINT "_events_v_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."_events_v"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_events_v_rels" ADD CONSTRAINT "_events_v_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "cms-payload"."authors"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."posts" ADD CONSTRAINT "posts_thumb_id_media_id_fk" FOREIGN KEY ("thumb_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."posts" ADD CONSTRAINT "posts_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."posts" ADD CONSTRAINT "posts_meta_image_id_media_id_fk" FOREIGN KEY ("meta_image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."posts_rels" ADD CONSTRAINT "posts_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."posts"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."posts_rels" ADD CONSTRAINT "posts_rels_categories_fk" FOREIGN KEY ("categories_id") REFERENCES "cms-payload"."categories"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."posts_rels" ADD CONSTRAINT "posts_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "cms-payload"."authors"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."posts_rels" ADD CONSTRAINT "posts_rels_tags_fk" FOREIGN KEY ("tags_id") REFERENCES "cms-payload"."tags"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_posts_v" ADD CONSTRAINT "_posts_v_parent_id_posts_id_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."posts"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_posts_v" ADD CONSTRAINT "_posts_v_version_thumb_id_media_id_fk" FOREIGN KEY ("version_thumb_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_posts_v" ADD CONSTRAINT "_posts_v_version_image_id_media_id_fk" FOREIGN KEY ("version_image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_posts_v" ADD CONSTRAINT "_posts_v_version_meta_image_id_media_id_fk" FOREIGN KEY ("version_meta_image_id") REFERENCES "cms-payload"."media"("id") ON DELETE set null ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_posts_v_rels" ADD CONSTRAINT "_posts_v_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."_posts_v"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_posts_v_rels" ADD CONSTRAINT "_posts_v_rels_categories_fk" FOREIGN KEY ("categories_id") REFERENCES "cms-payload"."categories"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_posts_v_rels" ADD CONSTRAINT "_posts_v_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "cms-payload"."authors"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."_posts_v_rels" ADD CONSTRAINT "_posts_v_rels_tags_fk" FOREIGN KEY ("tags_id") REFERENCES "cms-payload"."tags"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."users_roles" ADD CONSTRAINT "users_roles_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."users"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_jobs_log" ADD CONSTRAINT "payload_jobs_log_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "cms-payload"."payload_jobs"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."payload_locked_documents"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_authors_fk" FOREIGN KEY ("authors_id") REFERENCES "cms-payload"."authors"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_categories_fk" FOREIGN KEY ("categories_id") REFERENCES "cms-payload"."categories"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_customers_fk" FOREIGN KEY ("customers_id") REFERENCES "cms-payload"."customers"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_events_fk" FOREIGN KEY ("events_id") REFERENCES "cms-payload"."events"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_media_fk" FOREIGN KEY ("media_id") REFERENCES "cms-payload"."media"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_posts_fk" FOREIGN KEY ("posts_id") REFERENCES "cms-payload"."posts"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_tags_fk" FOREIGN KEY ("tags_id") REFERENCES "cms-payload"."tags"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_users_fk" FOREIGN KEY ("users_id") REFERENCES "cms-payload"."users"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_payload_jobs_fk" FOREIGN KEY ("payload_jobs_id") REFERENCES "cms-payload"."payload_jobs"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_preferences_rels" ADD CONSTRAINT "payload_preferences_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "cms-payload"."payload_preferences"("id") ON DELETE cascade ON UPDATE no action;- EXCEPTION- WHEN duplicate_object THEN null;- END $$;-- DO $$ BEGIN- ALTER TABLE "cms-payload"."payload_preferences_rels" ADD CONSTRAINT "payload_preferences_rels_users_fk" FOREIGN KEY ("users_id") REFERENCES "cms-payload"."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 "cms-payload"."authors" USING btree ("author_image_url_id");- CREATE INDEX IF NOT EXISTS "authors_updated_at_idx" ON "cms-payload"."authors" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "authors_created_at_idx" ON "cms-payload"."authors" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "categories_breadcrumbs_order_idx" ON "cms-payload"."categories_breadcrumbs" USING btree ("_order");- CREATE INDEX IF NOT EXISTS "categories_breadcrumbs_parent_id_idx" ON "cms-payload"."categories_breadcrumbs" USING btree ("_parent_id");- CREATE INDEX IF NOT EXISTS "categories_breadcrumbs_doc_idx" ON "cms-payload"."categories_breadcrumbs" USING btree ("doc_id");- CREATE INDEX IF NOT EXISTS "categories_parent_idx" ON "cms-payload"."categories" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "categories_updated_at_idx" ON "cms-payload"."categories" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "categories_created_at_idx" ON "cms-payload"."categories" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "customers_stats_order_idx" ON "cms-payload"."customers_stats" USING btree ("_order");- CREATE INDEX IF NOT EXISTS "customers_stats_parent_id_idx" ON "cms-payload"."customers_stats" USING btree ("_parent_id");- CREATE INDEX IF NOT EXISTS "customers_misc_order_idx" ON "cms-payload"."customers_misc" USING btree ("_order");- CREATE INDEX IF NOT EXISTS "customers_misc_parent_id_idx" ON "cms-payload"."customers_misc" USING btree ("_parent_id");- CREATE INDEX IF NOT EXISTS "customers_industry_order_idx" ON "cms-payload"."customers_industry" USING btree ("order");- CREATE INDEX IF NOT EXISTS "customers_industry_parent_idx" ON "cms-payload"."customers_industry" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "customers_supabase_products_order_idx" ON "cms-payload"."customers_supabase_products" USING btree ("order");- CREATE INDEX IF NOT EXISTS "customers_supabase_products_parent_idx" ON "cms-payload"."customers_supabase_products" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "customers_slug_idx" ON "cms-payload"."customers" USING btree ("slug");- CREATE INDEX IF NOT EXISTS "customers_meta_meta_image_idx" ON "cms-payload"."customers" USING btree ("meta_image_id");- CREATE INDEX IF NOT EXISTS "customers_logo_idx" ON "cms-payload"."customers" USING btree ("logo_id");- CREATE INDEX IF NOT EXISTS "customers_logo_inverse_idx" ON "cms-payload"."customers" USING btree ("logo_inverse_id");- CREATE INDEX IF NOT EXISTS "customers_updated_at_idx" ON "cms-payload"."customers" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "customers_created_at_idx" ON "cms-payload"."customers" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "customers__status_idx" ON "cms-payload"."customers" USING btree ("_status");- CREATE INDEX IF NOT EXISTS "_customers_v_version_stats_order_idx" ON "cms-payload"."_customers_v_version_stats" USING btree ("_order");- CREATE INDEX IF NOT EXISTS "_customers_v_version_stats_parent_id_idx" ON "cms-payload"."_customers_v_version_stats" USING btree ("_parent_id");- CREATE INDEX IF NOT EXISTS "_customers_v_version_misc_order_idx" ON "cms-payload"."_customers_v_version_misc" USING btree ("_order");- CREATE INDEX IF NOT EXISTS "_customers_v_version_misc_parent_id_idx" ON "cms-payload"."_customers_v_version_misc" USING btree ("_parent_id");- CREATE INDEX IF NOT EXISTS "_customers_v_version_industry_order_idx" ON "cms-payload"."_customers_v_version_industry" USING btree ("order");- CREATE INDEX IF NOT EXISTS "_customers_v_version_industry_parent_idx" ON "cms-payload"."_customers_v_version_industry" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "_customers_v_version_supabase_products_order_idx" ON "cms-payload"."_customers_v_version_supabase_products" USING btree ("order");- CREATE INDEX IF NOT EXISTS "_customers_v_version_supabase_products_parent_idx" ON "cms-payload"."_customers_v_version_supabase_products" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "_customers_v_parent_idx" ON "cms-payload"."_customers_v" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_slug_idx" ON "cms-payload"."_customers_v" USING btree ("version_slug");- CREATE INDEX IF NOT EXISTS "_customers_v_version_meta_version_meta_image_idx" ON "cms-payload"."_customers_v" USING btree ("version_meta_image_id");- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_logo_idx" ON "cms-payload"."_customers_v" USING btree ("version_logo_id");- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_logo_inverse_idx" ON "cms-payload"."_customers_v" USING btree ("version_logo_inverse_id");- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_updated_at_idx" ON "cms-payload"."_customers_v" USING btree ("version_updated_at");- CREATE INDEX IF NOT EXISTS "_customers_v_version_version_created_at_idx" ON "cms-payload"."_customers_v" USING btree ("version_created_at");- CREATE INDEX IF NOT EXISTS "_customers_v_version_version__status_idx" ON "cms-payload"."_customers_v" USING btree ("version__status");- CREATE INDEX IF NOT EXISTS "_customers_v_created_at_idx" ON "cms-payload"."_customers_v" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "_customers_v_updated_at_idx" ON "cms-payload"."_customers_v" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "_customers_v_latest_idx" ON "cms-payload"."_customers_v" USING btree ("latest");- CREATE INDEX IF NOT EXISTS "_customers_v_autosave_idx" ON "cms-payload"."_customers_v" USING btree ("autosave");- CREATE INDEX IF NOT EXISTS "events_type_order_idx" ON "cms-payload"."events_type" USING btree ("order");- CREATE INDEX IF NOT EXISTS "events_type_parent_idx" ON "cms-payload"."events_type" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "events_slug_idx" ON "cms-payload"."events" USING btree ("slug");- CREATE INDEX IF NOT EXISTS "events_thumb_idx" ON "cms-payload"."events" USING btree ("thumb_id");- CREATE INDEX IF NOT EXISTS "events_image_idx" ON "cms-payload"."events" USING btree ("image_id");- CREATE INDEX IF NOT EXISTS "events_company_company_logo_idx" ON "cms-payload"."events" USING btree ("company_logo_id");- CREATE INDEX IF NOT EXISTS "events_company_company_logo_light_idx" ON "cms-payload"."events" USING btree ("company_logo_light_id");- CREATE INDEX IF NOT EXISTS "events_meta_meta_image_idx" ON "cms-payload"."events" USING btree ("meta_image_id");- CREATE INDEX IF NOT EXISTS "events_updated_at_idx" ON "cms-payload"."events" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "events_created_at_idx" ON "cms-payload"."events" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "events__status_idx" ON "cms-payload"."events" USING btree ("_status");- CREATE INDEX IF NOT EXISTS "events_rels_order_idx" ON "cms-payload"."events_rels" USING btree ("order");- CREATE INDEX IF NOT EXISTS "events_rels_parent_idx" ON "cms-payload"."events_rels" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "events_rels_path_idx" ON "cms-payload"."events_rels" USING btree ("path");- CREATE INDEX IF NOT EXISTS "events_rels_authors_id_idx" ON "cms-payload"."events_rels" USING btree ("authors_id");- CREATE INDEX IF NOT EXISTS "_events_v_version_type_order_idx" ON "cms-payload"."_events_v_version_type" USING btree ("order");- CREATE INDEX IF NOT EXISTS "_events_v_version_type_parent_idx" ON "cms-payload"."_events_v_version_type" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "_events_v_parent_idx" ON "cms-payload"."_events_v" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "_events_v_version_version_slug_idx" ON "cms-payload"."_events_v" USING btree ("version_slug");- CREATE INDEX IF NOT EXISTS "_events_v_version_version_thumb_idx" ON "cms-payload"."_events_v" USING btree ("version_thumb_id");- CREATE INDEX IF NOT EXISTS "_events_v_version_version_image_idx" ON "cms-payload"."_events_v" USING btree ("version_image_id");- CREATE INDEX IF NOT EXISTS "_events_v_version_company_version_company_logo_idx" ON "cms-payload"."_events_v" USING btree ("version_company_logo_id");- CREATE INDEX IF NOT EXISTS "_events_v_version_company_version_company_logo_light_idx" ON "cms-payload"."_events_v" USING btree ("version_company_logo_light_id");- CREATE INDEX IF NOT EXISTS "_events_v_version_meta_version_meta_image_idx" ON "cms-payload"."_events_v" USING btree ("version_meta_image_id");- CREATE INDEX IF NOT EXISTS "_events_v_version_version_updated_at_idx" ON "cms-payload"."_events_v" USING btree ("version_updated_at");- CREATE INDEX IF NOT EXISTS "_events_v_version_version_created_at_idx" ON "cms-payload"."_events_v" USING btree ("version_created_at");- CREATE INDEX IF NOT EXISTS "_events_v_version_version__status_idx" ON "cms-payload"."_events_v" USING btree ("version__status");- CREATE INDEX IF NOT EXISTS "_events_v_created_at_idx" ON "cms-payload"."_events_v" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "_events_v_updated_at_idx" ON "cms-payload"."_events_v" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "_events_v_latest_idx" ON "cms-payload"."_events_v" USING btree ("latest");- CREATE INDEX IF NOT EXISTS "_events_v_autosave_idx" ON "cms-payload"."_events_v" USING btree ("autosave");- CREATE INDEX IF NOT EXISTS "_events_v_rels_order_idx" ON "cms-payload"."_events_v_rels" USING btree ("order");- CREATE INDEX IF NOT EXISTS "_events_v_rels_parent_idx" ON "cms-payload"."_events_v_rels" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "_events_v_rels_path_idx" ON "cms-payload"."_events_v_rels" USING btree ("path");- CREATE INDEX IF NOT EXISTS "_events_v_rels_authors_id_idx" ON "cms-payload"."_events_v_rels" USING btree ("authors_id");- CREATE INDEX IF NOT EXISTS "media_updated_at_idx" ON "cms-payload"."media" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "media_created_at_idx" ON "cms-payload"."media" USING btree ("created_at");- CREATE UNIQUE INDEX IF NOT EXISTS "media_filename_idx" ON "cms-payload"."media" USING btree ("filename");- CREATE INDEX IF NOT EXISTS "media_sizes_thumbnail_sizes_thumbnail_filename_idx" ON "cms-payload"."media" USING btree ("sizes_thumbnail_filename");- CREATE INDEX IF NOT EXISTS "media_sizes_square_sizes_square_filename_idx" ON "cms-payload"."media" USING btree ("sizes_square_filename");- CREATE INDEX IF NOT EXISTS "media_sizes_small_sizes_small_filename_idx" ON "cms-payload"."media" USING btree ("sizes_small_filename");- CREATE INDEX IF NOT EXISTS "media_sizes_medium_sizes_medium_filename_idx" ON "cms-payload"."media" USING btree ("sizes_medium_filename");- CREATE INDEX IF NOT EXISTS "media_sizes_large_sizes_large_filename_idx" ON "cms-payload"."media" USING btree ("sizes_large_filename");- CREATE INDEX IF NOT EXISTS "media_sizes_xlarge_sizes_xlarge_filename_idx" ON "cms-payload"."media" USING btree ("sizes_xlarge_filename");- CREATE INDEX IF NOT EXISTS "media_sizes_og_sizes_og_filename_idx" ON "cms-payload"."media" USING btree ("sizes_og_filename");- CREATE INDEX IF NOT EXISTS "posts_slug_idx" ON "cms-payload"."posts" USING btree ("slug");- CREATE INDEX IF NOT EXISTS "posts_thumb_idx" ON "cms-payload"."posts" USING btree ("thumb_id");- CREATE INDEX IF NOT EXISTS "posts_image_idx" ON "cms-payload"."posts" USING btree ("image_id");- CREATE INDEX IF NOT EXISTS "posts_meta_meta_image_idx" ON "cms-payload"."posts" USING btree ("meta_image_id");- CREATE INDEX IF NOT EXISTS "posts_updated_at_idx" ON "cms-payload"."posts" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "posts_created_at_idx" ON "cms-payload"."posts" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "posts__status_idx" ON "cms-payload"."posts" USING btree ("_status");- CREATE INDEX IF NOT EXISTS "posts_rels_order_idx" ON "cms-payload"."posts_rels" USING btree ("order");- CREATE INDEX IF NOT EXISTS "posts_rels_parent_idx" ON "cms-payload"."posts_rels" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "posts_rels_path_idx" ON "cms-payload"."posts_rels" USING btree ("path");- CREATE INDEX IF NOT EXISTS "posts_rels_categories_id_idx" ON "cms-payload"."posts_rels" USING btree ("categories_id");- CREATE INDEX IF NOT EXISTS "posts_rels_authors_id_idx" ON "cms-payload"."posts_rels" USING btree ("authors_id");- CREATE INDEX IF NOT EXISTS "posts_rels_tags_id_idx" ON "cms-payload"."posts_rels" USING btree ("tags_id");- CREATE INDEX IF NOT EXISTS "_posts_v_parent_idx" ON "cms-payload"."_posts_v" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_slug_idx" ON "cms-payload"."_posts_v" USING btree ("version_slug");- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_thumb_idx" ON "cms-payload"."_posts_v" USING btree ("version_thumb_id");- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_image_idx" ON "cms-payload"."_posts_v" USING btree ("version_image_id");- CREATE INDEX IF NOT EXISTS "_posts_v_version_meta_version_meta_image_idx" ON "cms-payload"."_posts_v" USING btree ("version_meta_image_id");- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_updated_at_idx" ON "cms-payload"."_posts_v" USING btree ("version_updated_at");- CREATE INDEX IF NOT EXISTS "_posts_v_version_version_created_at_idx" ON "cms-payload"."_posts_v" USING btree ("version_created_at");- CREATE INDEX IF NOT EXISTS "_posts_v_version_version__status_idx" ON "cms-payload"."_posts_v" USING btree ("version__status");- CREATE INDEX IF NOT EXISTS "_posts_v_created_at_idx" ON "cms-payload"."_posts_v" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "_posts_v_updated_at_idx" ON "cms-payload"."_posts_v" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "_posts_v_latest_idx" ON "cms-payload"."_posts_v" USING btree ("latest");- CREATE INDEX IF NOT EXISTS "_posts_v_autosave_idx" ON "cms-payload"."_posts_v" USING btree ("autosave");- CREATE INDEX IF NOT EXISTS "_posts_v_rels_order_idx" ON "cms-payload"."_posts_v_rels" USING btree ("order");- CREATE INDEX IF NOT EXISTS "_posts_v_rels_parent_idx" ON "cms-payload"."_posts_v_rels" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "_posts_v_rels_path_idx" ON "cms-payload"."_posts_v_rels" USING btree ("path");- CREATE INDEX IF NOT EXISTS "_posts_v_rels_categories_id_idx" ON "cms-payload"."_posts_v_rels" USING btree ("categories_id");- CREATE INDEX IF NOT EXISTS "_posts_v_rels_authors_id_idx" ON "cms-payload"."_posts_v_rels" USING btree ("authors_id");- CREATE INDEX IF NOT EXISTS "_posts_v_rels_tags_id_idx" ON "cms-payload"."_posts_v_rels" USING btree ("tags_id");- CREATE INDEX IF NOT EXISTS "tags_updated_at_idx" ON "cms-payload"."tags" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "tags_created_at_idx" ON "cms-payload"."tags" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "users_roles_order_idx" ON "cms-payload"."users_roles" USING btree ("order");- CREATE INDEX IF NOT EXISTS "users_roles_parent_idx" ON "cms-payload"."users_roles" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "users_updated_at_idx" ON "cms-payload"."users" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "users_created_at_idx" ON "cms-payload"."users" USING btree ("created_at");- CREATE UNIQUE INDEX IF NOT EXISTS "users_email_idx" ON "cms-payload"."users" USING btree ("email");- CREATE INDEX IF NOT EXISTS "payload_jobs_log_order_idx" ON "cms-payload"."payload_jobs_log" USING btree ("_order");- CREATE INDEX IF NOT EXISTS "payload_jobs_log_parent_id_idx" ON "cms-payload"."payload_jobs_log" USING btree ("_parent_id");- CREATE INDEX IF NOT EXISTS "payload_jobs_completed_at_idx" ON "cms-payload"."payload_jobs" USING btree ("completed_at");- CREATE INDEX IF NOT EXISTS "payload_jobs_total_tried_idx" ON "cms-payload"."payload_jobs" USING btree ("total_tried");- CREATE INDEX IF NOT EXISTS "payload_jobs_has_error_idx" ON "cms-payload"."payload_jobs" USING btree ("has_error");- CREATE INDEX IF NOT EXISTS "payload_jobs_task_slug_idx" ON "cms-payload"."payload_jobs" USING btree ("task_slug");- CREATE INDEX IF NOT EXISTS "payload_jobs_queue_idx" ON "cms-payload"."payload_jobs" USING btree ("queue");- CREATE INDEX IF NOT EXISTS "payload_jobs_wait_until_idx" ON "cms-payload"."payload_jobs" USING btree ("wait_until");- CREATE INDEX IF NOT EXISTS "payload_jobs_processing_idx" ON "cms-payload"."payload_jobs" USING btree ("processing");- CREATE INDEX IF NOT EXISTS "payload_jobs_updated_at_idx" ON "cms-payload"."payload_jobs" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "payload_jobs_created_at_idx" ON "cms-payload"."payload_jobs" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_global_slug_idx" ON "cms-payload"."payload_locked_documents" USING btree ("global_slug");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_updated_at_idx" ON "cms-payload"."payload_locked_documents" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_created_at_idx" ON "cms-payload"."payload_locked_documents" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_order_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("order");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_parent_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_path_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("path");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_authors_id_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("authors_id");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_categories_id_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("categories_id");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_customers_id_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("customers_id");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_events_id_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("events_id");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_media_id_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("media_id");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_posts_id_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("posts_id");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_tags_id_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("tags_id");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_users_id_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("users_id");- CREATE INDEX IF NOT EXISTS "payload_locked_documents_rels_payload_jobs_id_idx" ON "cms-payload"."payload_locked_documents_rels" USING btree ("payload_jobs_id");- CREATE INDEX IF NOT EXISTS "payload_preferences_key_idx" ON "cms-payload"."payload_preferences" USING btree ("key");- CREATE INDEX IF NOT EXISTS "payload_preferences_updated_at_idx" ON "cms-payload"."payload_preferences" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "payload_preferences_created_at_idx" ON "cms-payload"."payload_preferences" USING btree ("created_at");- CREATE INDEX IF NOT EXISTS "payload_preferences_rels_order_idx" ON "cms-payload"."payload_preferences_rels" USING btree ("order");- CREATE INDEX IF NOT EXISTS "payload_preferences_rels_parent_idx" ON "cms-payload"."payload_preferences_rels" USING btree ("parent_id");- CREATE INDEX IF NOT EXISTS "payload_preferences_rels_path_idx" ON "cms-payload"."payload_preferences_rels" USING btree ("path");- CREATE INDEX IF NOT EXISTS "payload_preferences_rels_users_id_idx" ON "cms-payload"."payload_preferences_rels" USING btree ("users_id");- CREATE INDEX IF NOT EXISTS "payload_migrations_updated_at_idx" ON "cms-payload"."payload_migrations" USING btree ("updated_at");- CREATE INDEX IF NOT EXISTS "payload_migrations_created_at_idx" ON "cms-payload"."payload_migrations" USING btree ("created_at");`)-}--export async function down({ db }: MigrateDownArgs): Promise<void> {- await db.execute(sql`- DROP TABLE "cms-payload"."authors" CASCADE;- DROP TABLE "cms-payload"."categories_breadcrumbs" CASCADE;- DROP TABLE "cms-payload"."categories" CASCADE;- DROP TABLE "cms-payload"."customers_stats" CASCADE;- DROP TABLE "cms-payload"."customers_misc" CASCADE;- DROP TABLE "cms-payload"."customers_industry" CASCADE;- DROP TABLE "cms-payload"."customers_supabase_products" CASCADE;- DROP TABLE "cms-payload"."customers" CASCADE;- DROP TABLE "cms-payload"."_customers_v_version_stats" CASCADE;- DROP TABLE "cms-payload"."_customers_v_version_misc" CASCADE;- DROP TABLE "cms-payload"."_customers_v_version_industry" CASCADE;- DROP TABLE "cms-payload"."_customers_v_version_supabase_products" CASCADE;- DROP TABLE "cms-payload"."_customers_v" CASCADE;- DROP TABLE "cms-payload"."events_type" CASCADE;- DROP TABLE "cms-payload"."events" CASCADE;- DROP TABLE "cms-payload"."events_rels" CASCADE;- DROP TABLE "cms-payload"."_events_v_version_type" CASCADE;- DROP TABLE "cms-payload"."_events_v" CASCADE;- DROP TABLE "cms-payload"."_events_v_rels" CASCADE;- DROP TABLE "cms-payload"."media" CASCADE;- DROP TABLE "cms-payload"."posts" CASCADE;- DROP TABLE "cms-payload"."posts_rels" CASCADE;- DROP TABLE "cms-payload"."_posts_v" CASCADE;- DROP TABLE "cms-payload"."_posts_v_rels" CASCADE;- DROP TABLE "cms-payload"."tags" CASCADE;- DROP TABLE "cms-payload"."users_roles" CASCADE;- DROP TABLE "cms-payload"."users" CASCADE;- DROP TABLE "cms-payload"."payload_jobs_log" CASCADE;- DROP TABLE "cms-payload"."payload_jobs" CASCADE;- DROP TABLE "cms-payload"."payload_locked_documents" CASCADE;- DROP TABLE "cms-payload"."payload_locked_documents_rels" CASCADE;- DROP TABLE "cms-payload"."payload_preferences" CASCADE;- DROP TABLE "cms-payload"."payload_preferences_rels" CASCADE;- DROP TABLE "cms-payload"."payload_migrations" CASCADE;- DROP TYPE "cms-payload"."enum_customers_industry";- DROP TYPE "cms-payload"."enum_customers_supabase_products";- DROP TYPE "cms-payload"."enum_customers_company_size";- DROP TYPE "cms-payload"."enum_customers_region";- DROP TYPE "cms-payload"."enum_customers_status";- DROP TYPE "cms-payload"."enum__customers_v_version_industry";- DROP TYPE "cms-payload"."enum__customers_v_version_supabase_products";- DROP TYPE "cms-payload"."enum__customers_v_version_company_size";- DROP TYPE "cms-payload"."enum__customers_v_version_region";- DROP TYPE "cms-payload"."enum__customers_v_version_status";- DROP TYPE "cms-payload"."enum_events_type";- DROP TYPE "cms-payload"."enum_events_timezone";- DROP TYPE "cms-payload"."enum_events_link_target";- DROP TYPE "cms-payload"."enum_events_main_cta_target";- DROP TYPE "cms-payload"."enum_events_status";- DROP TYPE "cms-payload"."enum__events_v_version_type";- DROP TYPE "cms-payload"."enum__events_v_version_timezone";- DROP TYPE "cms-payload"."enum__events_v_version_link_target";- DROP TYPE "cms-payload"."enum__events_v_version_main_cta_target";- DROP TYPE "cms-payload"."enum__events_v_version_status";- DROP TYPE "cms-payload"."enum_posts_launchweek";- DROP TYPE "cms-payload"."enum_posts_status";- DROP TYPE "cms-payload"."enum__posts_v_version_launchweek";- DROP TYPE "cms-payload"."enum__posts_v_version_status";- DROP TYPE "cms-payload"."enum_users_roles";- DROP TYPE "cms-payload"."enum_payload_jobs_log_task_slug";- DROP TYPE "cms-payload"."enum_payload_jobs_log_state";- DROP TYPE "cms-payload"."enum_payload_jobs_task_slug";`)-}diff --git a/apps/cms/src/migrations/20250529_103319.json b/apps/cms/src/migrations/20250619_155345.jsonsimilarity index 95%rename from apps/cms/src/migrations/20250529_103319.jsonrename to apps/cms/src/migrations/20250619_155345.jsonindex 04fb0783181..7fec1a1285b 100644--- a/apps/cms/src/migrations/20250529_103319.json+++ b/apps/cms/src/migrations/20250619_155345.json@@ -1,12 +1,12 @@{- "id": "b20fdabe-061b-43a4-8abf-b401ef5818d1",+ "id": "46141a51-8524-466d-9e94-70fe5c73221c","prevId": "00000000-0000-0000-0000-000000000000","version": "7","dialect": "postgresql","tables": {- "cms-payload.authors": {+ "public.authors": {"name": "authors",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -117,7 +117,6 @@"name": "authors_author_image_url_id_media_id_fk","tableFrom": "authors","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["author_image_url_id"],@@ -134,9 +133,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.categories_breadcrumbs": {+ "public.categories_breadcrumbs": {"name": "categories_breadcrumbs",- "schema": "cms-payload",+ "schema": "","columns": {"_order": {"name": "_order",@@ -227,7 +226,6 @@"name": "categories_breadcrumbs_doc_id_categories_id_fk","tableFrom": "categories_breadcrumbs","tableTo": "categories",- "schemaTo": "cms-payload","columnsFrom": ["doc_id"],@@ -241,7 +239,6 @@"name": "categories_breadcrumbs_parent_id_fk","tableFrom": "categories_breadcrumbs","tableTo": "categories",- "schemaTo": "cms-payload","columnsFrom": ["_parent_id"],@@ -258,9 +255,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.categories": {+ "public.categories": {"name": "categories",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -347,7 +344,6 @@"name": "categories_parent_id_categories_id_fk","tableFrom": "categories","tableTo": "categories",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -364,9 +360,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.customers_stats": {+ "public.customers_stats": {"name": "customers_stats",- "schema": "cms-payload",+ "schema": "","columns": {"_order": {"name": "_order",@@ -436,7 +432,6 @@"name": "customers_stats_parent_id_fk","tableFrom": "customers_stats","tableTo": "customers",- "schemaTo": "cms-payload","columnsFrom": ["_parent_id"],@@ -453,9 +448,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.customers_misc": {+ "public.customers_misc": {"name": "customers_misc",- "schema": "cms-payload",+ "schema": "","columns": {"_order": {"name": "_order",@@ -525,7 +520,6 @@"name": "customers_misc_parent_id_fk","tableFrom": "customers_misc","tableTo": "customers",- "schemaTo": "cms-payload","columnsFrom": ["_parent_id"],@@ -542,9 +536,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.customers_industry": {+ "public.customers_industry": {"name": "customers_industry",- "schema": "cms-payload",+ "schema": "","columns": {"order": {"name": "order",@@ -561,7 +555,7 @@"value": {"name": "value","type": "enum_customers_industry",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -609,7 +603,6 @@"name": "customers_industry_parent_fk","tableFrom": "customers_industry","tableTo": "customers",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -626,9 +619,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.customers_supabase_products": {+ "public.customers_supabase_products": {"name": "customers_supabase_products",- "schema": "cms-payload",+ "schema": "","columns": {"order": {"name": "order",@@ -645,7 +638,7 @@"value": {"name": "value","type": "enum_customers_supabase_products",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -693,7 +686,6 @@"name": "customers_supabase_products_parent_fk","tableFrom": "customers_supabase_products","tableTo": "customers",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -710,9 +702,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.customers": {+ "public.customers": {"name": "customers",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -772,14 +764,14 @@"company_size": {"name": "company_size","type": "enum_customers_company_size",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},"region": {"name": "region","type": "enum_customers_region",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -836,7 +828,7 @@"_status": {"name": "_status","type": "enum_customers_status",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'draft'"@@ -954,7 +946,6 @@"name": "customers_meta_image_id_media_id_fk","tableFrom": "customers","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["meta_image_id"],@@ -968,7 +959,6 @@"name": "customers_logo_id_media_id_fk","tableFrom": "customers","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["logo_id"],@@ -982,7 +972,6 @@"name": "customers_logo_inverse_id_media_id_fk","tableFrom": "customers","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["logo_inverse_id"],@@ -999,9 +988,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._customers_v_version_stats": {+ "public._customers_v_version_stats": {"name": "_customers_v_version_stats",- "schema": "cms-payload",+ "schema": "","columns": {"_order": {"name": "_order",@@ -1077,7 +1066,6 @@"name": "_customers_v_version_stats_parent_id_fk","tableFrom": "_customers_v_version_stats","tableTo": "_customers_v",- "schemaTo": "cms-payload","columnsFrom": ["_parent_id"],@@ -1094,9 +1082,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._customers_v_version_misc": {+ "public._customers_v_version_misc": {"name": "_customers_v_version_misc",- "schema": "cms-payload",+ "schema": "","columns": {"_order": {"name": "_order",@@ -1172,7 +1160,6 @@"name": "_customers_v_version_misc_parent_id_fk","tableFrom": "_customers_v_version_misc","tableTo": "_customers_v",- "schemaTo": "cms-payload","columnsFrom": ["_parent_id"],@@ -1189,9 +1176,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._customers_v_version_industry": {+ "public._customers_v_version_industry": {"name": "_customers_v_version_industry",- "schema": "cms-payload",+ "schema": "","columns": {"order": {"name": "order",@@ -1208,7 +1195,7 @@"value": {"name": "value","type": "enum__customers_v_version_industry",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -1256,7 +1243,6 @@"name": "_customers_v_version_industry_parent_fk","tableFrom": "_customers_v_version_industry","tableTo": "_customers_v",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -1273,9 +1259,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._customers_v_version_supabase_products": {+ "public._customers_v_version_supabase_products": {"name": "_customers_v_version_supabase_products",- "schema": "cms-payload",+ "schema": "","columns": {"order": {"name": "order",@@ -1292,7 +1278,7 @@"value": {"name": "value","type": "enum__customers_v_version_supabase_products",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -1340,7 +1326,6 @@"name": "_customers_v_version_supabase_products_parent_fk","tableFrom": "_customers_v_version_supabase_products","tableTo": "_customers_v",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -1357,9 +1342,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._customers_v": {+ "public._customers_v": {"name": "_customers_v",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -1425,14 +1410,14 @@"version_company_size": {"name": "version_company_size","type": "enum__customers_v_version_company_size",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},"version_region": {"name": "version_region","type": "enum__customers_v_version_region",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -1487,7 +1472,7 @@"version__status": {"name": "version__status","type": "enum__customers_v_version_status",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'draft'"@@ -1706,7 +1691,6 @@"name": "_customers_v_parent_id_customers_id_fk","tableFrom": "_customers_v","tableTo": "customers",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -1720,7 +1704,6 @@"name": "_customers_v_version_meta_image_id_media_id_fk","tableFrom": "_customers_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_meta_image_id"],@@ -1734,7 +1717,6 @@"name": "_customers_v_version_logo_id_media_id_fk","tableFrom": "_customers_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_logo_id"],@@ -1748,7 +1730,6 @@"name": "_customers_v_version_logo_inverse_id_media_id_fk","tableFrom": "_customers_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_logo_inverse_id"],@@ -1765,9 +1746,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.events_type": {+ "public.events_type": {"name": "events_type",- "schema": "cms-payload",+ "schema": "","columns": {"order": {"name": "order",@@ -1784,7 +1765,7 @@"value": {"name": "value","type": "enum_events_type",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -1832,7 +1813,6 @@"name": "events_type_parent_fk","tableFrom": "events_type","tableTo": "events",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -1849,9 +1829,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.events": {+ "public.events": {"name": "events",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -1911,7 +1891,7 @@"timezone": {"name": "timezone","type": "enum_events_timezone",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -1957,7 +1937,7 @@"link_target": {"name": "link_target","type": "enum_events_link_target",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'_blank'"@@ -1971,7 +1951,7 @@"main_cta_target": {"name": "main_cta_target","type": "enum_events_main_cta_target",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'_blank'"@@ -2074,7 +2054,7 @@"_status": {"name": "_status","type": "enum_events_status",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'draft'"@@ -2222,7 +2202,6 @@"name": "events_thumb_id_media_id_fk","tableFrom": "events","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["thumb_id"],@@ -2236,7 +2215,6 @@"name": "events_image_id_media_id_fk","tableFrom": "events","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["image_id"],@@ -2250,7 +2228,6 @@"name": "events_company_logo_id_media_id_fk","tableFrom": "events","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["company_logo_id"],@@ -2264,7 +2241,6 @@"name": "events_company_logo_light_id_media_id_fk","tableFrom": "events","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["company_logo_light_id"],@@ -2278,7 +2254,6 @@"name": "events_meta_image_id_media_id_fk","tableFrom": "events","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["meta_image_id"],@@ -2295,9 +2270,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.events_rels": {+ "public.events_rels": {"name": "events_rels",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -2397,7 +2372,6 @@"name": "events_rels_parent_fk","tableFrom": "events_rels","tableTo": "events",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -2411,7 +2385,6 @@"name": "events_rels_authors_fk","tableFrom": "events_rels","tableTo": "authors",- "schemaTo": "cms-payload","columnsFrom": ["authors_id"],@@ -2428,9 +2401,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._events_v_version_type": {+ "public._events_v_version_type": {"name": "_events_v_version_type",- "schema": "cms-payload",+ "schema": "","columns": {"order": {"name": "order",@@ -2447,7 +2420,7 @@"value": {"name": "value","type": "enum__events_v_version_type",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -2495,7 +2468,6 @@"name": "_events_v_version_type_parent_fk","tableFrom": "_events_v_version_type","tableTo": "_events_v",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -2512,9 +2484,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._events_v": {+ "public._events_v": {"name": "_events_v",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -2580,7 +2552,7 @@"version_timezone": {"name": "version_timezone","type": "enum__events_v_version_timezone",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -2626,7 +2598,7 @@"version_link_target": {"name": "version_link_target","type": "enum__events_v_version_link_target",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'_blank'"@@ -2640,7 +2612,7 @@"version_main_cta_target": {"name": "version_main_cta_target","type": "enum__events_v_version_main_cta_target",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'_blank'"@@ -2741,7 +2713,7 @@"version__status": {"name": "version__status","type": "enum__events_v_version_status",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'draft'"@@ -2990,7 +2962,6 @@"name": "_events_v_parent_id_events_id_fk","tableFrom": "_events_v","tableTo": "events",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -3004,7 +2975,6 @@"name": "_events_v_version_thumb_id_media_id_fk","tableFrom": "_events_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_thumb_id"],@@ -3018,7 +2988,6 @@"name": "_events_v_version_image_id_media_id_fk","tableFrom": "_events_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_image_id"],@@ -3032,7 +3001,6 @@"name": "_events_v_version_company_logo_id_media_id_fk","tableFrom": "_events_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_company_logo_id"],@@ -3046,7 +3014,6 @@"name": "_events_v_version_company_logo_light_id_media_id_fk","tableFrom": "_events_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_company_logo_light_id"],@@ -3060,7 +3027,6 @@"name": "_events_v_version_meta_image_id_media_id_fk","tableFrom": "_events_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_meta_image_id"],@@ -3077,9 +3043,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._events_v_rels": {+ "public._events_v_rels": {"name": "_events_v_rels",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -3179,7 +3145,6 @@"name": "_events_v_rels_parent_fk","tableFrom": "_events_v_rels","tableTo": "_events_v",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -3193,7 +3158,6 @@"name": "_events_v_rels_authors_fk","tableFrom": "_events_v_rels","tableTo": "authors",- "schemaTo": "cms-payload","columnsFrom": ["authors_id"],@@ -3210,9 +3174,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.media": {+ "public.media": {"name": "media",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -3719,9 +3683,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.posts": {+ "public.posts": {"name": "posts",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -3769,7 +3733,7 @@"launchweek": {"name": "launchweek","type": "enum_posts_launchweek",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -3839,7 +3803,7 @@"_status": {"name": "_status","type": "enum_posts_status",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'draft'"@@ -3957,7 +3921,6 @@"name": "posts_thumb_id_media_id_fk","tableFrom": "posts","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["thumb_id"],@@ -3971,7 +3934,6 @@"name": "posts_image_id_media_id_fk","tableFrom": "posts","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["image_id"],@@ -3985,7 +3947,6 @@"name": "posts_meta_image_id_media_id_fk","tableFrom": "posts","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["meta_image_id"],@@ -4002,9 +3963,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.posts_rels": {+ "public.posts_rels": {"name": "posts_rels",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -4146,7 +4107,6 @@"name": "posts_rels_parent_fk","tableFrom": "posts_rels","tableTo": "posts",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -4160,7 +4120,6 @@"name": "posts_rels_categories_fk","tableFrom": "posts_rels","tableTo": "categories",- "schemaTo": "cms-payload","columnsFrom": ["categories_id"],@@ -4174,7 +4133,6 @@"name": "posts_rels_authors_fk","tableFrom": "posts_rels","tableTo": "authors",- "schemaTo": "cms-payload","columnsFrom": ["authors_id"],@@ -4188,7 +4146,6 @@"name": "posts_rels_tags_fk","tableFrom": "posts_rels","tableTo": "tags",- "schemaTo": "cms-payload","columnsFrom": ["tags_id"],@@ -4205,9 +4162,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._posts_v": {+ "public._posts_v": {"name": "_posts_v",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -4261,7 +4218,7 @@"version_launchweek": {"name": "version_launchweek","type": "enum__posts_v_version_launchweek",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -4329,7 +4286,7 @@"version__status": {"name": "version__status","type": "enum__posts_v_version_status",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false,"default": "'draft'"@@ -4548,7 +4505,6 @@"name": "_posts_v_parent_id_posts_id_fk","tableFrom": "_posts_v","tableTo": "posts",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -4562,7 +4518,6 @@"name": "_posts_v_version_thumb_id_media_id_fk","tableFrom": "_posts_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_thumb_id"],@@ -4576,7 +4531,6 @@"name": "_posts_v_version_image_id_media_id_fk","tableFrom": "_posts_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_image_id"],@@ -4590,7 +4544,6 @@"name": "_posts_v_version_meta_image_id_media_id_fk","tableFrom": "_posts_v","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["version_meta_image_id"],@@ -4607,9 +4560,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload._posts_v_rels": {+ "public._posts_v_rels": {"name": "_posts_v_rels",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -4751,7 +4704,6 @@"name": "_posts_v_rels_parent_fk","tableFrom": "_posts_v_rels","tableTo": "_posts_v",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -4765,7 +4717,6 @@"name": "_posts_v_rels_categories_fk","tableFrom": "_posts_v_rels","tableTo": "categories",- "schemaTo": "cms-payload","columnsFrom": ["categories_id"],@@ -4779,7 +4730,6 @@"name": "_posts_v_rels_authors_fk","tableFrom": "_posts_v_rels","tableTo": "authors",- "schemaTo": "cms-payload","columnsFrom": ["authors_id"],@@ -4793,7 +4743,6 @@"name": "_posts_v_rels_tags_fk","tableFrom": "_posts_v_rels","tableTo": "tags",- "schemaTo": "cms-payload","columnsFrom": ["tags_id"],@@ -4810,9 +4759,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.tags": {+ "public.tags": {"name": "tags",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -4880,9 +4829,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.users_roles": {+ "public.users_roles": {"name": "users_roles",- "schema": "cms-payload",+ "schema": "","columns": {"order": {"name": "order",@@ -4899,7 +4848,7 @@"value": {"name": "value","type": "enum_users_roles",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -4947,7 +4896,6 @@"name": "users_roles_parent_fk","tableFrom": "users_roles","tableTo": "users",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -4964,9 +4912,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.users": {+ "public.users": {"name": "users",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -5086,9 +5034,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.payload_jobs_log": {+ "public.payload_jobs_log": {"name": "payload_jobs_log",- "schema": "cms-payload",+ "schema": "","columns": {"_order": {"name": "_order",@@ -5123,7 +5071,7 @@"task_slug": {"name": "task_slug","type": "enum_payload_jobs_log_task_slug",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": true},@@ -5148,7 +5096,7 @@"state": {"name": "state","type": "enum_payload_jobs_log_state",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": true},@@ -5196,7 +5144,6 @@"name": "payload_jobs_log_parent_id_fk","tableFrom": "payload_jobs_log","tableTo": "payload_jobs",- "schemaTo": "cms-payload","columnsFrom": ["_parent_id"],@@ -5213,9 +5160,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.payload_jobs": {+ "public.payload_jobs": {"name": "payload_jobs",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -5258,7 +5205,7 @@"task_slug": {"name": "task_slug","type": "enum_payload_jobs_task_slug",- "typeSchema": "cms-payload",+ "typeSchema": "public","primaryKey": false,"notNull": false},@@ -5441,9 +5388,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.payload_locked_documents": {+ "public.payload_locked_documents": {"name": "payload_locked_documents",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -5526,9 +5473,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.payload_locked_documents_rels": {+ "public.payload_locked_documents_rels": {"name": "payload_locked_documents_rels",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -5796,7 +5743,6 @@"name": "payload_locked_documents_rels_parent_fk","tableFrom": "payload_locked_documents_rels","tableTo": "payload_locked_documents",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -5810,7 +5756,6 @@"name": "payload_locked_documents_rels_authors_fk","tableFrom": "payload_locked_documents_rels","tableTo": "authors",- "schemaTo": "cms-payload","columnsFrom": ["authors_id"],@@ -5824,7 +5769,6 @@"name": "payload_locked_documents_rels_categories_fk","tableFrom": "payload_locked_documents_rels","tableTo": "categories",- "schemaTo": "cms-payload","columnsFrom": ["categories_id"],@@ -5838,7 +5782,6 @@"name": "payload_locked_documents_rels_customers_fk","tableFrom": "payload_locked_documents_rels","tableTo": "customers",- "schemaTo": "cms-payload","columnsFrom": ["customers_id"],@@ -5852,7 +5795,6 @@"name": "payload_locked_documents_rels_events_fk","tableFrom": "payload_locked_documents_rels","tableTo": "events",- "schemaTo": "cms-payload","columnsFrom": ["events_id"],@@ -5866,7 +5808,6 @@"name": "payload_locked_documents_rels_media_fk","tableFrom": "payload_locked_documents_rels","tableTo": "media",- "schemaTo": "cms-payload","columnsFrom": ["media_id"],@@ -5880,7 +5821,6 @@"name": "payload_locked_documents_rels_posts_fk","tableFrom": "payload_locked_documents_rels","tableTo": "posts",- "schemaTo": "cms-payload","columnsFrom": ["posts_id"],@@ -5894,7 +5834,6 @@"name": "payload_locked_documents_rels_tags_fk","tableFrom": "payload_locked_documents_rels","tableTo": "tags",- "schemaTo": "cms-payload","columnsFrom": ["tags_id"],@@ -5908,7 +5847,6 @@"name": "payload_locked_documents_rels_users_fk","tableFrom": "payload_locked_documents_rels","tableTo": "users",- "schemaTo": "cms-payload","columnsFrom": ["users_id"],@@ -5922,7 +5860,6 @@"name": "payload_locked_documents_rels_payload_jobs_fk","tableFrom": "payload_locked_documents_rels","tableTo": "payload_jobs",- "schemaTo": "cms-payload","columnsFrom": ["payload_jobs_id"],@@ -5939,9 +5876,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.payload_preferences": {+ "public.payload_preferences": {"name": "payload_preferences",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -6030,9 +5967,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.payload_preferences_rels": {+ "public.payload_preferences_rels": {"name": "payload_preferences_rels",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -6132,7 +6069,6 @@"name": "payload_preferences_rels_parent_fk","tableFrom": "payload_preferences_rels","tableTo": "payload_preferences",- "schemaTo": "cms-payload","columnsFrom": ["parent_id"],@@ -6146,7 +6082,6 @@"name": "payload_preferences_rels_users_fk","tableFrom": "payload_preferences_rels","tableTo": "users",- "schemaTo": "cms-payload","columnsFrom": ["users_id"],@@ -6163,9 +6098,9 @@"checkConstraints": {},"isRLSEnabled": false},- "cms-payload.payload_migrations": {+ "public.payload_migrations": {"name": "payload_migrations",- "schema": "cms-payload",+ "schema": "","columns": {"id": {"name": "id",@@ -6241,9 +6176,9 @@}},"enums": {- "cms-payload.enum_customers_industry": {+ "public.enum_customers_industry": {"name": "enum_customers_industry",- "schema": "cms-payload",+ "schema": "public","values": ["healthcare","fintech",@@ -6259,9 +6194,9 @@"developer-tools"]},- "cms-payload.enum_customers_supabase_products": {+ "public.enum_customers_supabase_products": {"name": "enum_customers_supabase_products",- "schema": "cms-payload",+ "schema": "public","values": ["database","auth",@@ -6271,18 +6206,18 @@"vector"]},- "cms-payload.enum_customers_company_size": {+ "public.enum_customers_company_size": {"name": "enum_customers_company_size",- "schema": "cms-payload",+ "schema": "public","values": ["startup","enterprise","indie_dev"]},- "cms-payload.enum_customers_region": {+ "public.enum_customers_region": {"name": "enum_customers_region",- "schema": "cms-payload",+ "schema": "public","values": ["Asia","Europe",@@ -6292,17 +6227,17 @@"Oceania"]},- "cms-payload.enum_customers_status": {+ "public.enum_customers_status": {"name": "enum_customers_status",- "schema": "cms-payload",+ "schema": "public","values": ["draft","published"]},- "cms-payload.enum__customers_v_version_industry": {+ "public.enum__customers_v_version_industry": {"name": "enum__customers_v_version_industry",- "schema": "cms-payload",+ "schema": "public","values": ["healthcare","fintech",@@ -6318,9 +6253,9 @@"developer-tools"]},- "cms-payload.enum__customers_v_version_supabase_products": {+ "public.enum__customers_v_version_supabase_products": {"name": "enum__customers_v_version_supabase_products",- "schema": "cms-payload",+ "schema": "public","values": ["database","auth",@@ -6330,18 +6265,18 @@"vector"]},- "cms-payload.enum__customers_v_version_company_size": {+ "public.enum__customers_v_version_company_size": {"name": "enum__customers_v_version_company_size",- "schema": "cms-payload",+ "schema": "public","values": ["startup","enterprise","indie_dev"]},- "cms-payload.enum__customers_v_version_region": {+ "public.enum__customers_v_version_region": {"name": "enum__customers_v_version_region",- "schema": "cms-payload",+ "schema": "public","values": ["Asia","Europe",@@ -6351,17 +6286,17 @@"Oceania"]},- "cms-payload.enum__customers_v_version_status": {+ "public.enum__customers_v_version_status": {"name": "enum__customers_v_version_status",- "schema": "cms-payload",+ "schema": "public","values": ["draft","published"]},- "cms-payload.enum_events_type": {+ "public.enum_events_type": {"name": "enum_events_type",- "schema": "cms-payload",+ "schema": "public","values": ["conference","hackathon",@@ -6374,9 +6309,9 @@"other"]},- "cms-payload.enum_events_timezone": {+ "public.enum_events_timezone": {"name": "enum_events_timezone",- "schema": "cms-payload",+ "schema": "public","values": ["Africa/Abidjan","Africa/Accra",@@ -6807,33 +6742,33 @@"UTC"]},- "cms-payload.enum_events_link_target": {+ "public.enum_events_link_target": {"name": "enum_events_link_target",- "schema": "cms-payload",+ "schema": "public","values": ["_self","_blank"]},- "cms-payload.enum_events_main_cta_target": {+ "public.enum_events_main_cta_target": {"name": "enum_events_main_cta_target",- "schema": "cms-payload",+ "schema": "public","values": ["_self","_blank"]},- "cms-payload.enum_events_status": {+ "public.enum_events_status": {"name": "enum_events_status",- "schema": "cms-payload",+ "schema": "public","values": ["draft","published"]},- "cms-payload.enum__events_v_version_type": {+ "public.enum__events_v_version_type": {"name": "enum__events_v_version_type",- "schema": "cms-payload",+ "schema": "public","values": ["conference","hackathon",@@ -6846,9 +6781,9 @@"other"]},- "cms-payload.enum__events_v_version_timezone": {+ "public.enum__events_v_version_timezone": {"name": "enum__events_v_version_timezone",- "schema": "cms-payload",+ "schema": "public","values": ["Africa/Abidjan","Africa/Accra",@@ -7279,33 +7214,33 @@"UTC"]},- "cms-payload.enum__events_v_version_link_target": {+ "public.enum__events_v_version_link_target": {"name": "enum__events_v_version_link_target",- "schema": "cms-payload",+ "schema": "public","values": ["_self","_blank"]},- "cms-payload.enum__events_v_version_main_cta_target": {+ "public.enum__events_v_version_main_cta_target": {"name": "enum__events_v_version_main_cta_target",- "schema": "cms-payload",+ "schema": "public","values": ["_self","_blank"]},- "cms-payload.enum__events_v_version_status": {+ "public.enum__events_v_version_status": {"name": "enum__events_v_version_status",- "schema": "cms-payload",+ "schema": "public","values": ["draft","published"]},- "cms-payload.enum_posts_launchweek": {+ "public.enum_posts_launchweek": {"name": "enum_posts_launchweek",- "schema": "cms-payload",+ "schema": "public","values": ["6","7",@@ -7318,17 +7253,17 @@"15"]},- "cms-payload.enum_posts_status": {+ "public.enum_posts_status": {"name": "enum_posts_status",- "schema": "cms-payload",+ "schema": "public","values": ["draft","published"]},- "cms-payload.enum__posts_v_version_launchweek": {+ "public.enum__posts_v_version_launchweek": {"name": "enum__posts_v_version_launchweek",- "schema": "cms-payload",+ "schema": "public","values": ["6","7",@@ -7341,50 +7276,48 @@"15"]},- "cms-payload.enum__posts_v_version_status": {+ "public.enum__posts_v_version_status": {"name": "enum__posts_v_version_status",- "schema": "cms-payload",+ "schema": "public","values": ["draft","published"]},- "cms-payload.enum_users_roles": {+ "public.enum_users_roles": {"name": "enum_users_roles",- "schema": "cms-payload",+ "schema": "public","values": ["admin","editor"]},- "cms-payload.enum_payload_jobs_log_task_slug": {+ "public.enum_payload_jobs_log_task_slug": {"name": "enum_payload_jobs_log_task_slug",- "schema": "cms-payload",+ "schema": "public","values": ["inline","schedulePublish"]},- "cms-payload.enum_payload_jobs_log_state": {+ "public.enum_payload_jobs_log_state": {"name": "enum_payload_jobs_log_state",- "schema": "cms-payload",+ "schema": "public","values": ["failed","succeeded"]},- "cms-payload.enum_payload_jobs_task_slug": {+ "public.enum_payload_jobs_task_slug": {"name": "enum_payload_jobs_task_slug",- "schema": "cms-payload",+ "schema": "public","values": ["inline","schedulePublish"]}},- "schemas": {- "cms-payload": "cms-payload"- },+ "schemas": {},"sequences": {},"roles": {},"policies": {},diff --git a/apps/cms/src/migrations/20250619_155345.ts b/apps/cms/src/migrations/20250619_155345.tsnew file mode 100644index 00000000000..65af423d602--- /dev/null+++ b/apps/cms/src/migrations/20250619_155345.ts@@ -0,0 +1,1136 @@+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.jsonnew file mode 100644index 00000000000..ef0494db176--- /dev/null+++ b/apps/cms/src/migrations/20250619_160549.json@@ -0,0 +1,7330 @@+{+ "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 filediff --git a/apps/cms/src/migrations/20250619_160549.ts b/apps/cms/src/migrations/20250619_160549.tsnew file mode 100644index 00000000000..2e1512fd771--- /dev/null+++ b/apps/cms/src/migrations/20250619_160549.ts@@ -0,0 +1,15 @@+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 filediff --git a/apps/cms/src/migrations/20250808_145722_update_payload_migrations.json b/apps/cms/src/migrations/20250808_145722_update_payload_migrations.jsonnew file mode 100644index 00000000000..cc014d97c68--- /dev/null+++ b/apps/cms/src/migrations/20250808_145722_update_payload_migrations.json@@ -0,0 +1,7418 @@+{+ "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 filediff --git a/apps/cms/src/migrations/20250808_145722_update_payload_migrations.ts b/apps/cms/src/migrations/20250808_145722_update_payload_migrations.tsnew file mode 100644index 00000000000..925b8cdb552--- /dev/null+++ b/apps/cms/src/migrations/20250808_145722_update_payload_migrations.ts@@ -0,0 +1,21 @@+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/index.ts b/apps/cms/src/migrations/index.tsindex 9137c23dbd9..142575f5588 100644--- a/apps/cms/src/migrations/index.ts+++ b/apps/cms/src/migrations/index.ts@@ -1,9 +1,21 @@-import * as migration_20250529_103319 from './20250529_103319';+import * as migration_20250619_155345 from './20250619_155345.ts';+import * as migration_20250619_160549 from './20250619_160549.ts';+import * as migration_20250808_145722_update_payload_migrations from './20250808_145722_update_payload_migrations.ts';export const migrations = [{- up: migration_20250529_103319.up,- down: migration_20250529_103319.down,- name: '20250529_103319'+ 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'},];diff --git a/apps/cms/src/payload-types.ts b/apps/cms/src/payload-types.tsindex 60b5563ffb4..5b1b3b9600a 100644--- a/apps/cms/src/payload-types.ts+++ b/apps/cms/src/payload-types.ts@@ -987,6 +987,13 @@ export interface User {hash?: string | null;loginAttempts?: number | null;lockUntil?: string | null;+ sessions?:+ | {+ id: string;+ createdAt?: string | null;+ expiresAt: string;+ }[]+ | null;password?: string | null;}/**@@ -1454,6 +1461,13 @@ export interface UsersSelect<T extends boolean = true> {hash?: T;loginAttempts?: T;lockUntil?: T;+ sessions?:+ | T+ | {+ id?: T;+ createdAt?: T;+ expiresAt?: T;+ };}/*** This interface was referenced by `Config`'s JSON-Schemadiff --git a/apps/cms/src/payload.config.ts b/apps/cms/src/payload.config.tsindex 007ad5d8803..6c715330bb1 100644--- a/apps/cms/src/payload.config.ts+++ b/apps/cms/src/payload.config.ts@@ -1,23 +1,78 @@-import { postgresAdapter } from '@payloadcms/db-postgres'-import path from 'path'-import { buildConfig } from 'payload'-import { fileURLToPath } from 'url'+import path from 'node:path'+import { fileURLToPath } from 'node:url'import sharp from 'sharp'-import { plugins } from './plugins'-import { defaultLexical } from '@/fields/defaultLexical'-import { getServerSideURL } from './utilities/getURL'+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 { s3Storage } from '@payloadcms/storage-s3'+import { buildConfig, type Plugin } from 'payload'+import { defaultLexical } from './fields/defaultLexical.ts'+import { getServerSideURL } from './utilities/getURL.ts'++import type { GenerateTitle, GenerateURL } from '@payloadcms/plugin-seo/types'+import type { Customer, Event, Post } from './payload-types'-import { Authors } from './collections/Authors'-import { Categories } from './collections/Categories'-import { Customers } from './collections/Customers'-import { Events } from './collections/Events'-import { Media } from './collections/Media'-import { Posts } from './collections/Posts'-import { Tags } from './collections/Tags'-import { Users } from './collections/Users'+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'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: {@@ -59,7 +114,7 @@ export default buildConfig({pool: {connectionString: process.env.DATABASE_URI || '',},- schemaName: 'cms-payload',+ // schemaName: 'cms-payload',}),sharp,plugins,diff --git a/apps/cms/src/payload.migrate.config.ts b/apps/cms/src/payload.migrate.config.tsnew file mode 100644index 00000000000..6a37bfc6a8a--- /dev/null+++ b/apps/cms/src/payload.migrate.config.ts@@ -0,0 +1,11 @@+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/plugins/index.ts b/apps/cms/src/plugins/index.tsdeleted file mode 100644index 7d6390c8994..00000000000--- a/apps/cms/src/plugins/index.ts+++ /dev/null@@ -1,87 +0,0 @@-import { payloadCloudPlugin } from '@payloadcms/payload-cloud'-// import { formBuilderPlugin } from '@payloadcms/plugin-form-builder'-import { nestedDocsPlugin } from '@payloadcms/plugin-nested-docs'-import { seoPlugin } from '@payloadcms/plugin-seo'-import { s3Storage } from '@payloadcms/storage-s3'-import { Plugin } from 'payload'-import { GenerateTitle, GenerateURL } from '@payloadcms/plugin-seo/types'-// import { FixedToolbarFeature, HeadingFeature, lexicalEditor } from '@payloadcms/richtext-lexical'--import { Customer, Event, Post } from '@/payload-types'-import { getServerSideURL } from '@/utilities/getURL'--const siteName = 'Supabase'--const generateTitle: GenerateTitle<Post & Customer & Event> = ({ doc, collectionSlug }) => {- 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 }) => {- const url = getServerSideURL()-- return doc?.slug ? `${url}/${doc.slug}` : url-}--export const plugins: Plugin[] = [- nestedDocsPlugin({- collections: ['categories'],- generateURL: (docs) => docs.reduce((url, doc) => `${url}/${doc.slug}`, ''),- }),- seoPlugin({- generateTitle,- generateURL,- }),- // formBuilderPlugin({- // fields: {- // payment: false,- // },- // formOverrides: {- // fields: ({ defaultFields }) => {- // return defaultFields.map((field) => {- // if ('name' in field && field.name === 'confirmationMessage') {- // return {- // ...field,- // editor: lexicalEditor({- // features: ({ rootFeatures }) => {- // return [- // ...rootFeatures,- // FixedToolbarFeature(),- // HeadingFeature({ enabledHeadingSizes: ['h1', 'h2', 'h3', 'h4'] }),- // ]- // },- // }),- // }- // }- // return field- // })- // },- // },- // }),- 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,- },- }),-]diff --git a/apps/cms/src/providers/HeaderTheme/index.tsx b/apps/cms/src/providers/HeaderTheme/index.tsxindex e006c21c2e9..bf88fc5a71a 100644--- a/apps/cms/src/providers/HeaderTheme/index.tsx+++ b/apps/cms/src/providers/HeaderTheme/index.tsx@@ -27,7 +27,11 @@ export const HeaderThemeProvider = ({ children }: { children: React.ReactNode })setThemeState(themeToSet)}, [])- return <HeaderThemeContext value={{ headerTheme, setHeaderTheme }}>{children}</HeaderThemeContext>+ return (+ <HeaderThemeContext.Provider value={{ headerTheme, setHeaderTheme }}>+ {children}+ </HeaderThemeContext.Provider>+ )}export const useHeaderTheme = (): ContextType => use(HeaderThemeContext)diff --git a/apps/cms/src/providers/Theme/index.tsx b/apps/cms/src/providers/Theme/index.tsxindex 66e2f58635a..060abbac766 100644--- a/apps/cms/src/providers/Theme/index.tsx+++ b/apps/cms/src/providers/Theme/index.tsx@@ -51,7 +51,7 @@ export const ThemeProvider = ({ children }: { children: React.ReactNode }) => {setThemeState(themeToSet)}, [])- return <ThemeContext value={{ setTheme, theme }}>{children}</ThemeContext>+ 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.tsindex a038908183a..4d0b0042c2b 100644--- a/apps/cms/src/providers/Theme/shared.ts+++ b/apps/cms/src/providers/Theme/shared.ts@@ -1,4 +1,4 @@-import type { Theme } from './types'+import type { Theme } from './types.ts'export const themeLocalStorageKey = 'payload-theme'diff --git a/apps/cms/src/search/Component.tsx b/apps/cms/src/search/Component.tsxdeleted file mode 100644index 6c26847ff41..00000000000--- a/apps/cms/src/search/Component.tsx+++ /dev/null@@ -1,41 +0,0 @@-'use client'-import { Input } from '@/components/ui/input'-import { Label } from '@/components/ui/label'-import React, { useState, useEffect } from 'react'-import { useDebounce } from '@/utilities/useDebounce'-import { useRouter } from 'next/navigation'--export const Search: React.FC = () => {- const [value, setValue] = useState('')- const router = useRouter()-- const debouncedValue = useDebounce(value)-- useEffect(() => {- router.push(`/search${debouncedValue ? `?q=${debouncedValue}` : ''}`)- }, [debouncedValue, router])-- return (- <div>- <form- onSubmit={(e) => {- e.preventDefault()- }}- >- <Label htmlFor="search" className="sr-only">- Search- </Label>- <Input- id="search"- onChange={(event) => {- setValue(event.target.value)- }}- placeholder="Search"- />- <button type="submit" className="sr-only">- submit- </button>- </form>- </div>- )-}diff --git a/apps/cms/src/search/beforeSync.ts b/apps/cms/src/search/beforeSync.tsdeleted file mode 100644index aa421593abf..00000000000--- a/apps/cms/src/search/beforeSync.ts+++ /dev/null@@ -1,44 +0,0 @@-import { BeforeSync, DocToSync } from '@payloadcms/plugin-search/types'--export const beforeSyncWithSearch: BeforeSync = async ({ originalDoc, searchDoc }) => {- const {- doc: { relationTo: collection },- } = searchDoc-- const { slug, id, categories, title, meta } = originalDoc-- const modifiedDoc: DocToSync = {- ...searchDoc,- slug,- meta: {- ...meta,- title: meta?.title || title,- image: meta?.image?.id || meta?.image,- description: meta?.description,- },- categories: [],- }-- if (categories && Array.isArray(categories) && categories.length > 0) {- // get full categories and keep a flattened copy of their most important properties- try {- const mappedCategories = categories.map((category) => {- const { id, title } = category-- return {- relationTo: 'categories',- id,- title,- }- })-- modifiedDoc.categories = mappedCategories- } catch (_err) {- console.error(- `Failed. Category not found when syncing collection '${collection}' with id: '${id}' to search.`- )- }- }-- return modifiedDoc-}diff --git a/apps/cms/src/search/fieldOverrides.ts b/apps/cms/src/search/fieldOverrides.tsdeleted file mode 100644index 6d086cb95f1..00000000000--- a/apps/cms/src/search/fieldOverrides.ts+++ /dev/null@@ -1,61 +0,0 @@-import { Field } from 'payload'--export const searchFields: Field[] = [- {- name: 'slug',- type: 'text',- index: true,- admin: {- readOnly: true,- },- },- {- name: 'meta',- label: 'Meta',- type: 'group',- index: true,- admin: {- readOnly: true,- },- fields: [- {- type: 'text',- name: 'title',- label: 'Title',- },- {- type: 'text',- name: 'description',- label: 'Description',- },- {- name: 'image',- label: 'Image',- type: 'upload',- relationTo: 'media',- },- ],- },- {- label: 'Categories',- name: 'categories',- type: 'array',- admin: {- readOnly: true,- },- fields: [- {- name: 'relationTo',- type: 'text',- },- {- name: 'id',- type: 'text',- },- {- name: 'title',- type: 'text',- },- ],- },-]diff --git a/apps/cms/src/utilities/formatAuthors.ts b/apps/cms/src/utilities/formatAuthors.tsdeleted file mode 100644index 89b92a18a2c..00000000000--- a/apps/cms/src/utilities/formatAuthors.ts+++ /dev/null@@ -1,24 +0,0 @@-import { Post } from '@/payload-types'--/**- * Formats an array of populatedAuthors from Posts into a prettified string.- * @param authors - The populatedAuthors array from a Post.- * @returns A prettified string of authors.- * @example- *- * [Author1, Author2] becomes 'Author1 and Author2'- * [Author1, Author2, Author3] becomes 'Author1, Author2, and Author3'- *- */-export const formatAuthors = (- authors: NonNullable<NonNullable<Post['populatedAuthors']>[number]>[]-) => {- // Ensure we don't have any authors without a name- const authorNames = authors.map((author) => author.name).filter(Boolean)-- if (authorNames.length === 0) return ''- if (authorNames.length === 1) return authorNames[0]- if (authorNames.length === 2) return `${authorNames[0]} and ${authorNames[1]}`-- return `${authorNames.slice(0, -1).join(', ')} and ${authorNames[authorNames.length - 1]}`-}diff --git a/apps/cms/src/utilities/generateMeta.ts b/apps/cms/src/utilities/generateMeta.tsindex f5b571d82bb..bde0b59da52 100644--- a/apps/cms/src/utilities/generateMeta.ts+++ b/apps/cms/src/utilities/generateMeta.ts@@ -2,8 +2,8 @@ import type { Metadata } from 'next'import type { Media, Post, Config } from '../payload-types'-import { mergeOpenGraph } from './mergeOpenGraph'-import { getServerSideURL } from './getURL'+import { mergeOpenGraph } from './mergeOpenGraph.ts'+import { getServerSideURL } from './getURL.ts'const getImageURL = (image?: Media | Config['db']['defaultIDType'] | null) => {const serverUrl = getServerSideURL()diff --git a/apps/cms/src/utilities/generatePreviewPath.ts b/apps/cms/src/utilities/generatePreviewPath.tsindex 6a2322df007..230edef6508 100644--- a/apps/cms/src/utilities/generatePreviewPath.ts+++ b/apps/cms/src/utilities/generatePreviewPath.ts@@ -2,7 +2,6 @@ import { PayloadRequest, CollectionSlug } from 'payload'const collectionPrefixMap: Partial<Record<CollectionSlug, string>> = {posts: '/blog',- pages: '',}type Props = {diff --git a/apps/cms/src/utilities/getDocument.ts b/apps/cms/src/utilities/getDocument.tsindex 0dcb5ed4273..31e79ed4ead 100644--- a/apps/cms/src/utilities/getDocument.ts+++ b/apps/cms/src/utilities/getDocument.ts@@ -2,7 +2,7 @@ import type { Config } from 'src/payload-types'import configPromise from '@payload-config'import { getPayload } from 'payload'-import { unstable_cache } from 'next/cache'+// Do not import next/cache at module scope to keep migrate step Node-compatibletype Collection = keyof Config['collections']@@ -25,7 +25,16 @@ async function getDocument(collection: Collection, slug: string, depth = 0) {/*** Returns a unstable_cache function mapped with the cache tag for the slug*/-export const getCachedDocument = (collection: Collection, slug: string) =>- unstable_cache(async () => getDocument(collection, slug), [collection, slug], {- tags: [`${collection}_${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.tsindex d37a2aa03c8..39d6830b195 100644--- a/apps/cms/src/utilities/getGlobals.ts+++ b/apps/cms/src/utilities/getGlobals.ts@@ -2,7 +2,7 @@ import type { Config } from 'src/payload-types'import configPromise from '@payload-config'import { getPayload } from 'payload'-import { unstable_cache } from 'next/cache'+// Do not import next/cache at module scope to keep migrate step Node-compatibletype Global = keyof Config['globals']@@ -20,7 +20,16 @@ async function getGlobal(slug: Global, depth = 0) {/*** Returns a unstable_cache function mapped with the cache tag for the slug*/-export const getCachedGlobal = (slug: Global, depth = 0) =>- unstable_cache(async () => getGlobal(slug, depth), [slug], {- tags: [`global_${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.tsindex ad9e5c1dfe7..6ce8100c794 100644--- a/apps/cms/src/utilities/getMeUser.ts+++ b/apps/cms/src/utilities/getMeUser.ts@@ -2,7 +2,7 @@ import { cookies } from 'next/headers'import { redirect } from 'next/navigation'import type { User } from '../payload-types'-import { getClientSideURL } from './getURL'+import { getClientSideURL } from './getURL.ts'export const getMeUser = async (args?: {nullUserRedirect?: stringdiff --git a/apps/cms/src/utilities/getRedirects.ts b/apps/cms/src/utilities/getRedirects.tsdeleted file mode 100644index 8eac7f2cf5b..00000000000--- a/apps/cms/src/utilities/getRedirects.ts+++ /dev/null@@ -1,26 +0,0 @@-import configPromise from '@payload-config'-import { getPayload } from 'payload'-import { unstable_cache } from 'next/cache'--export async function getRedirects(depth = 1) {- const payload = await getPayload({ config: configPromise })-- const { docs: redirects } = await payload.find({- collection: 'redirects',- depth,- limit: 0,- pagination: false,- })-- return redirects-}--/**- * Returns a unstable_cache function mapped with the cache tag for 'redirects'.- *- * Cache all redirects together to avoid multiple fetches.- */-export const getCachedRedirects = () =>- unstable_cache(async () => getRedirects(), ['redirects'], {- tags: ['redirects'],- })diff --git a/apps/cms/src/utilities/getURL.ts b/apps/cms/src/utilities/getURL.tsindex c05c13ee789..e7622965ac8 100644--- a/apps/cms/src/utilities/getURL.ts+++ b/apps/cms/src/utilities/getURL.ts@@ -1,4 +1,4 @@-import canUseDOM from './canUseDOM'+import canUseDOM from './canUseDOM.ts'export const getServerSideURL = () => {let url = process.env.NEXT_PUBLIC_SERVER_URL@@ -8,7 +8,7 @@ export const getServerSideURL = () => {}if (!url) {- url = 'http://localhost:3000'+ url = 'http://localhost:3030'}return urldiff --git a/apps/cms/src/utilities/mergeOpenGraph.ts b/apps/cms/src/utilities/mergeOpenGraph.tsindex a331a2a15b6..0ec43bb8d1b 100644--- a/apps/cms/src/utilities/mergeOpenGraph.ts+++ b/apps/cms/src/utilities/mergeOpenGraph.ts@@ -1,5 +1,5 @@import type { Metadata } from 'next'-import { getServerSideURL } from './getURL'+import { getServerSideURL } from './getURL.ts'const defaultOpenGraph: Metadata['openGraph'] = {type: 'website',diff --git a/apps/cms/supabase/config.toml b/apps/cms/supabase/config.tomlindex 255373749f1..f12262c6548 100644--- a/apps/cms/supabase/config.toml+++ b/apps/cms/supabase/config.toml@@ -2,12 +2,12 @@# 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-payload"+project_id = "cms"[api]enabled = true# Port to use for the API URL.-port = 54321+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"]@@ -23,17 +23,17 @@ enabled = false[db]# Port to use for the local database URL.-port = 54322+port = 34322# Port used by db diff command to initialize the shadow database.-shadow_port = 54320+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+major_version = 17[db.pooler]enabled = false# Port to use for the local connection pooler.-port = 54329+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"@@ -46,6 +46,8 @@ max_client_conn = 100# 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 = []@@ -57,6 +59,16 @@ enabled = true# 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)@@ -67,7 +79,7 @@ enabled = true[studio]enabled = true# Port to use for Supabase Studio.-port = 54323+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.@@ -78,10 +90,10 @@ openai_api_key = "env(OPENAI_API_KEY)"[inbucket]enabled = true# Port to use for the email testing server web interface.-port = 54324+port = 34324# Uncomment to expose additional ports for testing user applications that send emails.-# smtp_port = 54325-# pop3_port = 54326+# smtp_port = 34325+# pop3_port = 34326# admin_email = "[email protected]"# sender_name = "Admin"@@ -110,6 +122,8 @@ site_url = "http://127.0.0.1:3000"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.@@ -140,6 +154,8 @@ token_refresh = 150sign_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]@@ -200,6 +216,11 @@ max_frequency = "5s"# 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@@ -252,6 +273,11 @@ 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@@ -276,7 +302,7 @@ enabled = false# domain = "example.clerk.accounts.dev"[edge_runtime]-enabled = true+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"@@ -289,8 +315,8 @@ deno_version = 1# secret_key = "env(SECRET_VALUE)"[analytics]-enabled = true-port = 54327+enabled = false+port = 34327# Configure one of the supported backends: `postgres`, `bigquery`.backend = "postgres"diff --git a/apps/cms/tsconfig.json b/apps/cms/tsconfig.jsonindex 2943d23d22c..5a66dbfae8e 100644--- a/apps/cms/tsconfig.json+++ b/apps/cms/tsconfig.json@@ -1,10 +1,8 @@{"compilerOptions": {- /* Strictness */"strict": true,"noUncheckedIndexedAccess": true,"noImplicitOverride": true,-"baseUrl": ".","esModuleInterop": true,"target": "ES2022",@@ -18,6 +16,7 @@"jsx": "preserve","module": "esnext","moduleResolution": "bundler",+ "allowImportingTsExtensions": true,"resolveJsonModule": true,"sourceMap": true,"isolatedModules": true,diff --git a/apps/cms/vercel.json b/apps/cms/vercel.jsonnew file mode 100644index 00000000000..fd0cbd73ac1--- /dev/null+++ b/apps/cms/vercel.json@@ -0,0 +1,5 @@+{+ "$schema": "https://openapi.vercel.sh/vercel.json",+ "buildCommand": "pnpm vercel-build",+ "installCommand": "pnpm install"+}diff --git a/package.json b/package.jsonindex 8f9346a77fb..110e5692473 100644--- a/package.json+++ b/package.json@@ -70,7 +70,6 @@"@tanstack/directive-functions-plugin>vite": "catalog:","@tanstack/react-start-plugin>vite": "catalog:","esbuild": "^0.25.2",- "payload>image-size": "1.2.1","@redocly/respect-core>form-data": "^4.0.4"},"neverBuiltDependencies": ["libpg-query"]diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex b903ee65287..fd0c6fd2157 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -45,7 +45,6 @@ overrides:'@tanstack/directive-functions-plugin>vite': ^6.2.7'@tanstack/react-start-plugin>vite': ^6.2.7esbuild: ^0.25.2- payload>image-size: 1.2.1'@redocly/respect-core>form-data': ^4.0.4importers:@@ -88,36 +87,57 @@ importers:apps/cms:dependencies:+ '@payloadcms/admin-bar':+ specifier: ^3.50.0'@payloadcms/db-postgres':- specifier: 3.33.0- version: 3.33.0(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])+ specifier: ^3.50.0+ version: 3.50.0(@electric-sql/[email protected])(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))([email protected])'@payloadcms/live-preview-react':- specifier: ^3.33.0+ specifier: ^3.50.0'@payloadcms/next':- specifier: 3.33.0- version: 3.33.0(@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ specifier: 3.50.0+ version: 3.50.0(@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])'@payloadcms/payload-cloud':- specifier: 3.33.0+ specifier: 3.50.0'@payloadcms/plugin-form-builder':- specifier: 3.33.0- version: 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ specifier: 3.50.0+ version: 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])'@payloadcms/plugin-nested-docs':- specifier: 3.33.0+ specifier: 3.50.0'@payloadcms/plugin-seo':- specifier: 3.33.0- version: 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ specifier: 3.50.0+ version: 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])'@payloadcms/richtext-lexical':- specifier: 3.33.0- version: 3.33.0(@faceless-ui/[email protected]([email protected]([email protected]))([email protected]))(@faceless-ui/[email protected]([email protected]([email protected]))([email protected]))(@payloadcms/[email protected](@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])+ specifier: 3.50.0+ version: 3.50.0(@faceless-ui/[email protected]([email protected]([email protected]))([email protected]))(@faceless-ui/[email protected]([email protected]([email protected]))([email protected]))(@payloadcms/[email protected](@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])'@payloadcms/storage-s3':- specifier: 3.33.0- version: 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ specifier: 3.50.0+ version: 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])'@payloadcms/ui':- specifier: 3.33.0- version: 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ specifier: 3.50.0+ version: 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ '@radix-ui/react-checkbox':+ specifier: ^1.3.2+ version: 1.3.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-label':+ specifier: ^2.1.7+ version: 2.1.7(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-select':+ specifier: ^2.0.0+ version: 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot':+ specifier: ^1.2.3+ version: 1.2.3(@types/[email protected])([email protected])+ class-variance-authority:+ specifier: ^0.7.1+ version: 0.7.1+ clsx:+ specifier: ^1.2.1+ version: 1.2.1common:specifier: workspace:*version: link:../../packages/common@@ -131,14 +151,26 @@ importers:specifier: workspace:*version: link:../../packages/eslint-config-supabasegraphql:- specifier: ^16.8.1+ specifier: ^16.11.0version: 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:'version: 15.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])payload:- specifier: 3.33.0- version: 3.33.0([email protected])([email protected])+ specifier: 3.50.0+ version: 3.50.0([email protected])([email protected])+ 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@@ -148,6 +180,9 @@ importers:sharp:specifier: 0.32.6version: 0.32.6+ tailwind-merge:+ specifier: ^1.13.2+ version: 1.14.0devDependencies:'@types/node':specifier: 'catalog:'@@ -158,6 +193,9 @@ importers:'@types/react-dom':specifier: 'catalog:'version: 18.3.0+ tsx:+ specifier: ^4.19.3+ version: 4.19.3typescript:specifier: 5.7.3version: 5.7.3@@ -1412,7 +1450,7 @@ importers:'@tanstack/react-start':specifier: ^1.114.25- version: 1.114.27(@electric-sql/[email protected])(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])+ version: 1.114.27(@electric-sql/[email protected])(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])'@types/common-tags':specifier: ^1.8.4version: 1.8.4@@ -1798,10 +1836,10 @@ importers:version: 5.5.2vite:specifier: 'catalog:'- version: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])vitest:specifier: ^3.0.5- version: 3.0.9(@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 3.0.9(@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])packages/api-types:devDependencies:@@ -1985,7 +2023,7 @@ importers:version: 8.11.11'@vitest/coverage-v8':specifier: ^3.0.9- version: 3.0.9([email protected])([email protected](@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 3.0.9([email protected])([email protected](@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]))npm-run-all:specifier: ^4.1.5version: 4.1.5@@ -2000,10 +2038,10 @@ importers:version: 5.5.2vite:specifier: 'catalog:'- version: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])vitest:specifier: ^3.0.5- version: 3.0.9(@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 3.0.9(@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])packages/shared-data: {}@@ -2221,7 +2259,7 @@ importers:version: 15.5.7'@vitest/coverage-v8':specifier: ^3.0.9- version: 3.0.9([email protected])([email protected](@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 3.0.9([email protected])([email protected](@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]))common:specifier: workspace:*version: link:../common@@ -2242,10 +2280,10 @@ importers:version: 5.5.2vite:specifier: 'catalog:'- version: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])vitest:specifier: ^3.0.5- version: 3.0.9(@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 3.0.9(@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])packages/ui-patterns:dependencies:@@ -3333,9 +3371,6 @@ packages:'@emotion/[email protected]':resolution: {integrity: sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA==}- '@emotion/[email protected]':- resolution: {integrity: sha512-wQdD0Xhkn3Qy2VNcIzbLP9MR8TafI0MJb7BEAXKp+w4+XqErksWR4OXomuDzPsN4InLdGhVe6EYcn2ZIUCpB8w==}-'@emotion/[email protected]':resolution: {integrity: sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==}@@ -3659,12 +3694,6 @@ packages:react: '>=16.8.0'react-dom: '>=16.8.0'- '@floating-ui/[email protected]':- resolution: {integrity: sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==}- peerDependencies:- react: '>=16.8.0'- react-dom: '>=16.8.0'-'@floating-ui/[email protected]':resolution: {integrity: sha512-huMBfiU9UnQ2oBwIhgzyIiSpVgvlDstU8CX0AF+wS+KzmYMs0J2a3GwuFHV1Lz+jlrQGeC1fF+Nv0QoumyV0bA==}peerDependencies:@@ -4506,9 +4535,6 @@ packages:'@next/[email protected]':resolution: {integrity: sha512-NqUZrjVruGbdQaPE3OSEXP+ZuULqumeHVTuU9pOX1V0/9BWY9FOck3jgQGFdBtG41nOYuO8+CoHKDQAVIPQJrw==}- '@next/[email protected]':- resolution: {integrity: sha512-cwK27QdzrMblHSn9DZRV+DQscHXRuJv6MydlJRpFSqJWZrTYMLzKDeyueJNN9MGd8NNiUKzDQADAf+dMLXX7YQ==}-'@next/[email protected]':resolution: {integrity: sha512-OdiMrzCl2Xi0VTjiQQUK0Xh7bJHnOuET2s+3V+Y40WJBAXrJeGA3f+I8MZJ/YQ3mVGi5XGR1L66oFlgqXhQ4Vw==}@@ -5188,103 +5214,109 @@ packages:resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==}engines: {node: '>= 10.0.0'}- '@payloadcms/[email protected]':- resolution: {integrity: sha512-lJ3gXIrxr0rSFc3AqWpZD/9qkjLj6EWEzZanQsRuaizeOXCk+Z64JM4rmHxmyKu3QFxG/LRhwbyxYDk00ZFNGw==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-q9DzV5+rIyFsogkk5yndmEIENaCsWSknKelPlvMSvbhmX3SVFpWVCMHpN8zBojMjgBlC1DbasSS7msdlDIyZCw==}peerDependencies:- payload: 3.33.0+ 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-M+twNVoAzh6cC833gjwkvlVJdFAaasLGCR4uX4ijJ4DV9qkEXuMZcqSj3CD6LIGLKQpnPOccJ4QmeYSQ8V6uKQ==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-Uvnv1EotdO0eElg3LJgr8nar3yQc4qYh+T0NtaTAz+usbI7gPM4BwX3pAcig3/fHF3WgG7zQbrCuBU+a+ljIZA==}peerDependencies:- payload: 3.33.0+ payload: 3.50.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-ljHvGmR2plVmBPjOBgI9GN/kWsG0YlxFZAI024Am8obbq+uSmmsKcCDo71TvTLO8SdYvsH8kWtyB/8sRIaCO5Q==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-sRaSWoPogLb7Vo/8w+xAur/pwkNw2PVmiY0nRnCmdZFG82dLMIu1fZXj7C3ZhzaiSYwQuekwtmKFKFopknAtdA==}+ peerDependencies:+ payload: 3.50.0++ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-/cI57DBLyM5/N1rzxWvbpqLKrrx4hAxODaqjSC1Q5okBvmSc7okJzRxSL9yXqziAk+Xd+tzQ+fLzyr23fvT40A==}engines: {node: ^18.20.2 || >=20.9.0}peerDependencies:- payload: 3.33.0+ payload: 3.50.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-e3Hf//A4GVueWbIUDNMybbIDe79gzottj/5mvQiAdImXhKPsFgw4qqIw9k88FxsWX3Xcm0q8R2Lfyyf6WnqquQ==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-BrhtTaEOmnK2fbBOMbr1sbOh0hTI6pl9fZ0Y+PzlS9/2SjjDJBe1xv2v6YjhujklTaU0GaKLs6xFHA8u+ppoAQ==}hasBin: truepeerDependencies:graphql: ^16.8.1- payload: 3.33.0+ payload: 3.50.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-w5YH2YbVc7gUZZ0QYxZvHe5XMr9MfbfXgucC0MRCsiTS4hl2Dqj4mlaZdY/9T2ExdiZfeEhEjnnpxrvglDZpdQ==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-LzXD0AOtzXsCq6IUW3Hkzza2I4XClXwWBnHr9cS36q7Xh05zIS1yN/cgf6h1ilykSHDkv0JZEjQviFeQT5+5Og==}peerDependencies:react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020react-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-rC4R8bpb6QOhsvx+2GuaEM2xm/33+cPPcL4FHSm6bChvTwGBs3rseaHv1eKa9y4sjYM9BrNbltzpJa0z3pTCdA==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-Twux96/MxleN0zDTr5f1DmarRo5igRN5dxQpcME8N7tP/PiXQTqmaRiMY4ayQ3q32gnZIXvcYi8HknrC+eiiMA==}- '@payloadcms/[email protected]':- resolution: {integrity: sha512-gdiMalPLmzUJaRfBU4hWMNbEktXkc7Xqh/40h1FJ5sORl68/mYz8H9I0SqmLNe2jXAEEfptUwTwVPF9LTv2l7A==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-9piyBDLsVW4huCKgas6eorq5PcKM1VoTZ2spWkaLQ9hbWYBspblGVkb3kcMWVGGYSA6Yw4qJlhomAqIY/sVoFA==}engines: {node: ^18.20.2 || >=20.9.0}peerDependencies:graphql: ^16.8.1next: ^15.2.3- payload: 3.33.0+ payload: 3.50.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-M6Sw1klt0SnTAX0p0uspGB+3aaGV4pU51xH0pXisw88ODj6lihYaXd4UTWhURSxAm1IzrJoimc8s8ClqNGuxfg==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-wH8/kOYA/m5zXVJG5PQdxUNao3fb15aVRQUJbNfF8o6VBAZNXXCm9LJghUjcpyo5NGQai5Kjodycx/y+1PqrjA==}peerDependencies:- payload: 3.33.0+ payload: 3.50.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-uJ+ivTYvhLSHoPVv2/3l6A9EHBvNIHU3os87hg78eibteb0QXFB1X9k8j+z6oA8g5a01gWwct0f9uTRU0Pmxrw==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-UJjIh8yKsRuAveFV3eegHGuOYwAzYhiVi8bZR9PNWfzD/WFQqwJmlnBM+fpC19ZiWKsPQf4M6g3PxFW2PkkaZw==}peerDependencies:- payload: 3.33.0+ payload: 3.50.0react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020- '@payloadcms/[email protected]':- resolution: {integrity: sha512-9i5tG144VGtO7zfrIzT5AwYZlgiVjvJ8ud7Ok/iuaYSk6H2owf7vcDY0tAAp5sf6pGrv1brRHPej5hD2K2Posg==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-DUrXIX+XAcrZi4kSm23KRnDWHLiQAcY2z/FUFs+HRQQoalAjH7iErOjH6b1uwZTEnCIPWkMiqvaGoE5Z7we5LQ==}peerDependencies:- payload: 3.33.0+ payload: 3.50.0react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020- '@payloadcms/[email protected]':- resolution: {integrity: sha512-omuqg0N7TUwTk2GPQDpBITIvTUp7fSLxK8pgo2mjq3pH7p3YzGgnnJVqyLH4z1knuMlOus3vqb+QhMoOIB7jGA==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-d0tbolBtUgb5WAhXhEGN5XQSDDakj1lKpXExrXqR1JJM5tACNfFvwk9OugNsukcjPpSeDB1VZa4173kaKOOcQg==}peerDependencies:- payload: 3.33.0+ payload: 3.50.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-pa1MyDNUAKVQaDAvH4gx8j4KA97YxuOPk+uiGgkw28REt53hh2JaVyIbbFmdJUVcCwqlNtX++r7QB0Fv4To/sg==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-fwAd7yrC486o4RKYUfU8EyX40F1CEaRWSQsdsQxRdSmGj+vdypsD0QI8Gw0QXUAqzy/yX5CjGxIkgfq9skcs3A==}peerDependencies:- payload: 3.33.0+ payload: 3.50.0react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020- '@payloadcms/[email protected]':- resolution: {integrity: sha512-Y4IauXgkTQ0XLE0kGtExatMDUph1PGEsDtXVywjbGSG0Q92TfdGDLiHLa3EUV37B0oBM/LWN9JW0oadg1MDNWg==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-bW3LdTdVvipcaxZL3GxvHky+WEN2x7w+jOkXIHHnYkd+PzgF3aL3mNjHJve9JDdqJF5cHFLq8mFBi9WQfs80FQ==}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.33.0- payload: 3.33.0+ '@payloadcms/next': 3.50.0+ payload: 3.50.0react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020- '@payloadcms/[email protected]':- resolution: {integrity: sha512-ssMdC2qEJYBP4+RLoWY1I9IZdu1CIK0RyTUzuaK9wnEsZg7GmXDVEJbTFX28DryEx+RytT8Ra7d8hg44qZbvWg==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-b37jENtIRG2TWMymthQEGMUeQSTqwqn9T0exnJZuo10D38z4zws72dYO2CLVHSFArtV6DwhpLoWsHQXAJLpX0w==}engines: {node: ^18.20.2 || >=20.9.0}peerDependencies:- payload: 3.33.0+ payload: 3.50.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-QU8EFoporBLdyeGWoWogb6gZMEMopvFHmF43yQDa2TrzWxGtEaSY5pNCvJovQN1aPnLPYaK4we/nX/3ifa4G5Q==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-Po3dnuY+cchLessSB4+r3Al5MF5joWoh7RFuMnOB/mcpBgkoSCP2bV9Th/U3CTc67CmEBArCnRrDtfSdE7eDrA==}- '@payloadcms/[email protected]':- resolution: {integrity: sha512-O+ttsov+C2r82IJUfmCgbKAGG9BNDjX9r+2PevvNywteJpsjvWXFWiV41yAM6YXhEHSVPT+g9X0ByvJBsiZocg==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-oC9qCu1sPXeUpSCQ63zCOIWrFz9eY5xFXmCyUqEFrUI0xbeHMyVYfYUpIeFQmCR9MwaDiRdEf6CoKoD0Xk1Qog==}engines: {node: ^18.20.2 || >=20.9.0}peerDependencies:next: ^15.2.3- payload: 3.33.0+ payload: 3.50.0react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020@@ -5487,6 +5519,19 @@ 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:@@ -5917,6 +5962,19 @@ 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:@@ -6643,6 +6701,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}peerDependencies:@@ -9303,10 +9370,6 @@ packages:resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}- resolution: {integrity: sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw==}- engines: {node: '>=4'}-resolution: {integrity: sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==}@@ -9875,6 +9938,10 @@ packages:resolution: {integrity: sha512-onMB0OkDjkXunhdW9htFjEhqrD54+M94i6ackoUkjHKbRnXdyEyKRelp4nJ1kAz32+s27jP1FsebpJCVl0BsvA==}engines: {node: '>=18.0'}+ resolution: {integrity: sha512-p9nwwR4qyT5W996vBZhdvBCnMhicY5ytZkR4D1Xj0wuTDEiMnjwR57Q3RXYY/s0EpX6Ay3vgIcfaR+ewGHsi+g==}+ engines: {node: '>=18.0'}+resolution: {integrity: sha512-ULYhWIonJzlScCCQrPUG5uMXzXxSixty4djud9SS37DoNxDdkeRocxzHuAo4ImRBUK+mAuU5X9TSwEDccnnuPg==}hasBin: true@@ -10411,40 +10478,40 @@ packages:resolution: {integrity: sha512-pYxfDYpued//QpnLIm4Avk7rsNtAtQkUES2cwAYSvD/wd2pKD71gN2Ebj3e7klzXwjocvE8c5vx/1fxwpqmSxA==}engines: {node: '>=4'}- resolution: {integrity: sha512-KqI+CS2Ga9GYIrXpxpCDUJJrH/AT/k4UY0Pb4oRgQEGkgN1EdCnqp664cXgwPWjDr5RBtTsjZipw8+8C//K63A==}+ resolution: {integrity: sha512-tCPWVZWZqWVx2XUsVpJRnH9Mx0ClVOf5YUHerZ5so1OKSlqww4zy1R5ksEdGRcO3tM3zj0PYN6V48TbQCL1RfA==}hasBin: true- resolution: {integrity: sha512-F4hbimnMEhyWzDowQB4xEuVJJWXLHZYD7FYwvo8RImY+N7pStGqsbfmT95jDbec1s4qKmQbiuxEDZY90LRrfIw==}+ resolution: {integrity: sha512-zGAqBzWWkVSFjZpwPOrmCrgO++1kZ5H/rZ4qTGeGOe18iXGVJWf3WPfHOVwFIbmi8kHjfJstC6rJomzGx8g/dQ==}peerDependencies:'@aws-sdk/client-rds-data': '>=3'- '@cloudflare/workers-types': '>=3'+ '@cloudflare/workers-types': '>=4''@electric-sql/pglite': '>=0.2.0''@libsql/client': '>=0.10.0''@libsql/client-wasm': '>=0.10.0'- '@neondatabase/serverless': '>=0.1'+ '@neondatabase/serverless': '>=0.10.0''@op-engineering/op-sqlite': '>=2''@opentelemetry/api': ^1.4.1- '@planetscale/database': '>=1'+ '@planetscale/database': '>=1.13''@prisma/client': '*''@tidbcloud/serverless': '*''@types/better-sqlite3': '*''@types/pg': '*'- '@types/react': '>=18''@types/sql.js': '*'+ '@upstash/redis': '>=1.34.7''@vercel/postgres': '>=0.8.0''@xata.io/client': '*'better-sqlite3: '>=7'bun-types: '*'- expo-sqlite: '>=13.2.0'+ expo-sqlite: '>=14.0.0'+ gel: '>=2'knex: '*'kysely: '*'mysql2: '>=2'pg: '>=8'postgres: '>=3'prisma: '*'- react: '>=18'sql.js: '>=1'sqlite3: '>=5'peerDependenciesMeta:@@ -10474,10 +10541,10 @@ packages:optional: true'@types/pg':optional: true- '@types/react':- optional: true'@types/sql.js':optional: true+ '@upstash/redis':+ optional: true'@vercel/postgres':optional: true'@xata.io/client':@@ -10488,6 +10555,8 @@ packages:optional: trueexpo-sqlite:optional: true+ gel:+ optional: trueknex:optional: truekysely:@@ -10500,8 +10569,6 @@ packages:optional: trueprisma:optional: true- react:- optional: truesql.js:optional: truesqlite3:@@ -12031,8 +12098,8 @@ packages:resolution: {integrity: sha512-bAH5jbK/F3T3Jls4I0SO1hmPR0dKU0a7+SY6n1yzRtG54FLO8d6w/nxLFX2Nb7dBu6cCWXPaAME6cYqFUMmuCA==}engines: {node: '>= 4'}- resolution: {integrity: sha512-rH+46sQJ2dlwfjfhCyNx5thzrv+dtmBIhPHk0zgRUukHzZ/kRueTJXoYYsclBaKcSMBWuGbOFXtioLpzTb5euw==}+ resolution: {integrity: sha512-IRqXKlaXwgSMAMtpNzZa1ZAe8m+Sa1770Dhk8VkSsP9LS+iHD62Zd8FQKs8fbPiagBE7BzoFX23cxFnwshpV6w==}engines: {node: '>=16.x'}hasBin: true@@ -12158,6 +12225,10 @@ 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==}@@ -13029,6 +13100,11 @@ packages:peerDependencies:react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc+ resolution: {integrity: sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w==}+ peerDependencies:+ react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0+resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==}@@ -13191,9 +13267,6 @@ packages:resolution: {integrity: sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA==}- resolution: {integrity: sha512-eKMQDeywY2wlHc97k5eD8VC+9ASMjN8ItEZQNGwJ6E0XWKiW/Z0V5/H8pvoXUf+y+Mj0VIgeRRbujBmFn4FTyA==}-resolution: {integrity: sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==}@@ -13362,9 +13435,6 @@ packages:resolution: {integrity: sha512-gPH+9ZdmDflbu19Xkb8+gheqEDqkSpdCEubQyxuz/Hn8DOXiXvrXeikOoBA71+e8Pfi0/UYmU3wW3H58kr7akA==}- resolution: {integrity: sha512-uvhhss8OGuzR4/N17L1JwvmJIpPhAd8oByMawEKx6NVdBCbesjH4t+vjEp3ZXft9DwvlKSD07fCeI44/N0Vf2w==}-resolution: {integrity: sha512-vNuFb9czP8QCtAQcEJn0UJQJZA8Dk6DXKBqx+bg/w0WGuSxDxNr7hErW89tHUY31dUW4NqEOWwmEUNhjTFmHkg==}@@ -14328,9 +14398,6 @@ packages:resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}- resolution: {integrity: sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ==}-resolution: {integrity: sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==}@@ -14469,8 +14536,8 @@ packages:resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==}engines: {node: '>= 14.16'}- resolution: {integrity: sha512-KXNQf+QFStxNUw4A/poEq8KP0GIR9K5tXzyMN80iwi1+X6V2xEORXs3hm28OQYIuJR4WTHBQzo7VWcQ69oNDcg==}+ resolution: {integrity: sha512-zIDV+NRjp/unb4rPBp7SxOgc1vTKh/ZvNckMEvUgB4OG3XW7tiI/93CCZkht2kNsK9f+KpZqjsOQ2eFPfQ0DaA==}engines: {node: ^18.20.2 || >=20.9.0}hasBin: truepeerDependencies:@@ -14492,12 +14559,18 @@ packages:resolution: {integrity: sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==}+ resolution: {integrity: sha512-YgCtzMH0ptvZJslLM1ffsY4EuGaU0cx4XSdXLRFae8bPP4dS5xL1tNB3k2o/N64cHJpwU7dxKli/nZ2lUa5fLg==}+resolution: {integrity: sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA==}resolution: {integrity: sha512-PI2W9mv53rXJQEOb8xNR8lH7Hr+EKa6oJa38zsK0S/ky2er16ios1wLKhZyxzD7jUReiWokc9WK5nxSnC7W1TA==}+ resolution: {integrity: sha512-nkc6NpDcvPVpZXxrreI/FOtX3XemeLl8E0qFr6F2Lrm/I8WOnaWNhIPK2Z7OHpw7gh5XJThi6j6ppgNoaT1w4w==}+resolution: {integrity: sha512-YyKEF78pEA6wwTAqOUaHIN/rWpfzzIuMh9KdAhc3rSLQ/7zkRFcCgYBAEGatDstLyZw4g0s9SNICmaTGnBVeyw==}engines: {node: '>=4.0'}@@ -14514,11 +14587,19 @@ packages:resolution: {integrity: sha512-BM/Thnrw5jm2kKLE5uJkXqqExRUY/toLHda65XgFTBTFYZyopbKjBe29Ii3RbkvlsMoFwD+tHeGaCjjv0gHlyw==}engines: {node: '>=4'}+ resolution: {integrity: sha512-Tu8jMlcX+9d8+QVzKIvM/uJtp07PKr82IUOYEphaWcoBhIYkoHpLXN3qO59nAI11ripznDsEzEv8nUxBVWajGg==}+ peerDependencies:+ pg: '>=8.0'+resolution: {integrity: sha512-xIOsFoh7Vdhojas6q3596mXFsR8nwBQBXX5JiV7p9buEVAGqYL4yFzclON5P9vFrpu1u7Zwl2oriyDa89n0wbw==}peerDependencies:pg: '>=8.0'+ resolution: {integrity: sha512-6DIBgBQaTKDJyxnXaLiLR8wBpQQcGWuAESkRBX/t6OwA8YsqP+iVSiond2EDy6Y/dsGk8rh/jtax3js5NeV7JQ==}+resolution: {integrity: sha512-M+PDm637OY5WM307051+bsDia5Xej6d9IR4GwJse1qA1DIhiKlksvrneZOYQq42OM+spubpcNYEo2FcKQrDk+Q==}@@ -14533,8 +14614,8 @@ packages:resolution: {integrity: sha512-cRL3JpS3lKMGsKaWndugWQoLOCoP+Cic8oseVcbr0qhPzYD5DWXK+RZ9LY9wxRf7RQia4SCwQlXk0q6FCPrVng==}engines: {node: '>=10'}- resolution: {integrity: sha512-+9iuvG8QfaaUrrph+kpF24cXkH1YOOUeArRNYIxq1viYHZagBxrTno7cecY1Fa44tJeZvaoG+Djpkc3JwehN5g==}+ resolution: {integrity: sha512-OUir1A0rPNZlX//c7ksiu7crsGZTKSOXJPgtNiHGIlC9H0lO+NC6ZDYksSgBYY/thSWhnSRBv8w1lieNNGATNQ==}engines: {node: '>= 8.0.0'}peerDependencies:pg-native: '>=3.0.1'@@ -14542,9 +14623,9 @@ packages:pg-native:optional: true- resolution: {integrity: sha512-OUir1A0rPNZlX//c7ksiu7crsGZTKSOXJPgtNiHGIlC9H0lO+NC6ZDYksSgBYY/thSWhnSRBv8w1lieNNGATNQ==}- engines: {node: '>= 8.0.0'}+ resolution: {integrity: sha512-enxc1h0jA/aq5oSDMvqyW3q89ra6XIIDZgCX9vkMrnz5DFTw/Ny3Li2lFQ+pt3L6MCgm/5o2o8HW9hiJji+xvw==}+ engines: {node: '>= 16.0.0'}peerDependencies:pg-native: '>=3.0.1'peerDependenciesMeta:@@ -14947,9 +15028,6 @@ packages:resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}- resolution: {integrity: sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==}-resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==}@@ -15063,13 +15141,6 @@ packages:resolution: {integrity: sha512-ES0GolSrKO8wsKbsEkVeiR/ZAaHQTY4zDh1UW8DImVmm8oaGLl3ijJDvSGe+qDRKPZdPRnDtWWnSvvrgxXdThQ==}- resolution: {integrity: sha512-L43gIPdhHgu1MYdip4vNqAt5s2JLICKe2/RyGUr2ohAxfhYaH1+QZ6vBO0qgo4xGBhE3jmvbOA/swq4/gdS/0g==}- engines: {node: '>= 16'}- peerDependencies:- react: ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0- react-dom: ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-resolution: {integrity: sha512-Wu3dw5aDJmOGw8WjH1I1/yTH+vlXEL4vmjk5p+MHxP8HuHJS1lAGeIdG/hze1AvNeXWo/JgULV87LyQOr+r5jw==}@@ -16667,10 +16738,6 @@ packages:resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==}engines: {node: '>=12.0.0'}- resolution: {integrity: sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==}- engines: {node: '>=12.0.0'}-resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==}engines: {node: '>=12.0.0'}@@ -16874,6 +16941,11 @@ packages:engines: {node: '>=18.0.0'}hasBin: true+ resolution: {integrity: sha512-qjbnuR9Tr+FJOMBqJCW5ehvIo/buZq7vH7qD7JziU98h6l3qGy0a/yPFjwO+y0/T7GFpNgNAvEcPPVfyT8rrPQ==}+ engines: {node: '>=18.0.0'}+ hasBin: true+resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==}@@ -17067,6 +17139,10 @@ packages:resolution: {integrity: sha512-uROZWze0R0itiAKVPsYhFov9LxrPMHLMEQFszeI2gCN6bnIIZ8twzBCJcN2LJrBBLfrP0t1FW0g+JmKVl8Vk1g==}engines: {node: '>=18.17'}+ resolution: {integrity: sha512-u5otvFBOBZvmdjWLVW+5DAc9Nkq8f24g0O9oY7qw2JVIF1VocIFoyz9JFkuVOS2j41AufeO0xnlweJ2RLT8nGw==}+ engines: {node: '>=20.18.1'}+resolution: {integrity: sha512-wY5bskBQFL9n3Eca5XnhH6KbUo/tfvkwm9OpcdCvLaeA7piBNbavbOKJySEwQ1V0RH6HvNlSAFRTpvTqgKRQXQ==}@@ -17741,18 +17817,6 @@ packages:utf-8-validate:optional: true- resolution: {integrity: sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==}- engines: {node: '>=10.0.0'}- peerDependencies:- bufferutil: ^4.0.1- utf-8-validate: '>=5.0.2'- peerDependenciesMeta:- bufferutil:- optional: true- utf-8-validate:- optional: true-resolution: {integrity: sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==}engines: {node: '>=10.0.0'}@@ -19978,16 +20042,6 @@ snapshots:'@emotion/weak-memoize': 0.4.0stylis: 4.2.0- '@emotion/[email protected]([email protected])':- dependencies:- '@emotion/babel-plugin': 11.13.5([email protected])- '@emotion/cache': 11.14.0- '@emotion/serialize': 1.3.3- '@emotion/sheet': 1.4.0- '@emotion/utils': 1.4.2- transitivePeerDependencies:- - supports-color-'@emotion/[email protected]': {}'@emotion/[email protected]':@@ -20264,12 +20318,6 @@ snapshots:react: 18.3.1react-dom: 18.3.1([email protected])- dependencies:- '@floating-ui/dom': 1.5.3- react: 18.3.1- react-dom: 18.3.1([email protected])-dependencies:'@floating-ui/dom': 1.5.3@@ -20278,7 +20326,7 @@ snapshots:dependencies:'@floating-ui/utils': 0.2.9react: 18.3.1react-dom: 18.3.1([email protected])@@ -20881,7 +20929,7 @@ snapshots:crypto-js: 4.2.0fastify: 4.29.1fastify-metrics: 10.6.0([email protected])- pg: 8.11.3+ pg: 8.16.3pg-connection-string: 2.6.2pg-format: 1.0.4pg-protocol: 1.6.0@@ -21609,8 +21657,6 @@ snapshots:- bufferutil- utf-8-validate- '@next/[email protected]': {}-'@next/[email protected]': {}'@next/[email protected]':@@ -22368,15 +22414,20 @@ snapshots:'@parcel/watcher-win32-ia32': 2.5.1'@parcel/watcher-win32-x64': 2.5.1- '@payloadcms/[email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])':dependencies:- '@payloadcms/drizzle': 3.33.0(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])++ '@payloadcms/[email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))([email protected])':+ dependencies:+ '@payloadcms/drizzle': 3.50.0(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]([email protected])([email protected]))([email protected])'@types/pg': 8.10.2console-table-printer: 2.12.1- drizzle-kit: 0.28.0([email protected])- drizzle-orm: 0.36.1(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])- payload: 3.33.0([email protected])([email protected])- pg: 8.11.3+ drizzle-kit: 0.31.4([email protected])+ drizzle-orm: 0.44.2(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])+ pg: 8.16.3prompts: 2.4.2to-snake-case: 1.0.0uuid: 10.0.0@@ -22393,29 +22444,30 @@ snapshots:- '@prisma/client'- '@tidbcloud/serverless'- '@types/better-sqlite3'- - '@types/react'- '@types/sql.js'+ - '@upstash/redis'- '@vercel/postgres'- '@xata.io/client'- better-sqlite3- bun-types- expo-sqlite+ - gel- knex- kysely- mysql2- pg-native- postgres- prisma- - react- sql.js- sqlite3- supports-color- '@payloadcms/[email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])':+ '@payloadcms/[email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]([email protected])([email protected]))([email protected])':dependencies:console-table-printer: 2.12.1- drizzle-orm: 0.36.1(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])- payload: 3.33.0([email protected])([email protected])+ dequal: 2.0.3+ drizzle-orm: 0.44.2(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])prompts: 2.4.2to-snake-case: 1.0.0uuid: 9.0.0@@ -22433,53 +22485,53 @@ snapshots:- '@tidbcloud/serverless'- '@types/better-sqlite3'- '@types/pg'- - '@types/react'- '@types/sql.js'+ - '@upstash/redis'- '@vercel/postgres'- '@xata.io/client'- better-sqlite3- bun-types- expo-sqlite+ - gel- knex- kysely- mysql2- pg- postgres- prisma- - react- sql.js- sqlite3dependencies:nodemailer: 6.9.16- payload: 3.33.0([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])- '@payloadcms/[email protected]([email protected])([email protected]([email protected])([email protected]))([email protected])':+ '@payloadcms/[email protected]([email protected])([email protected]([email protected])([email protected]))([email protected])':dependencies:graphql: 16.11.0graphql-scalars: 1.22.2([email protected])- payload: 3.33.0([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])pluralize: 8.0.0ts-essentials: 10.0.3([email protected])tsx: 4.19.2transitivePeerDependencies:- typescriptdependencies:- '@payloadcms/live-preview': 3.43.0+ '@payloadcms/live-preview': 3.50.0react: 18.3.1react-dom: 18.3.1([email protected])- '@payloadcms/[email protected]': {}+ '@payloadcms/[email protected]': {}- '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':+ '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':dependencies:- '@payloadcms/graphql': 3.33.0([email protected])([email protected]([email protected])([email protected]))([email protected])- '@payloadcms/translations': 3.33.0- '@payloadcms/ui': 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ '@payloadcms/graphql': 3.50.0([email protected])([email protected]([email protected])([email protected]))([email protected])+ '@payloadcms/translations': 3.50.0+ '@payloadcms/ui': 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])busboy: 1.6.0dequal: 2.0.3file-type: 19.3.0@@ -22489,9 +22541,8 @@ snapshots:http-status: 2.1.0next: 15.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])path-to-regexp: 6.3.0- payload: 3.33.0([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])qs-esm: 7.0.2- react-diff-viewer-continued: 4.0.5(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])sass: 1.77.4uuid: 10.0.0transitivePeerDependencies:@@ -22502,25 +22553,25 @@ snapshots:- supports-color- typescript- '@payloadcms/[email protected]([email protected])([email protected]([email protected])([email protected]))':+ '@payloadcms/[email protected]([email protected])([email protected]([email protected])([email protected]))':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])amazon-cognito-identity-js: 6.3.15([email protected])nodemailer: 6.9.16- payload: 3.33.0([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])transitivePeerDependencies:- aws-crt- encoding- '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':+ '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':dependencies:- '@payloadcms/ui': 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ '@payloadcms/ui': 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])find-node-modules: 2.1.3- payload: 3.33.0([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])range-parser: 1.2.1react: 18.3.1react-dom: 18.3.1([email protected])@@ -22531,11 +22582,11 @@ snapshots:- supports-color- typescript- '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':+ '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':dependencies:- '@payloadcms/ui': 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ '@payloadcms/ui': 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])escape-html: 1.0.3- payload: 3.33.0([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])react: 18.3.1react-dom: 18.3.1([email protected])transitivePeerDependencies:@@ -22545,15 +22596,15 @@ snapshots:- supports-color- typescriptdependencies:- payload: 3.33.0([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])- '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':+ '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':dependencies:- '@payloadcms/translations': 3.33.0- '@payloadcms/ui': 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])- payload: 3.33.0([email protected])([email protected])+ '@payloadcms/translations': 3.50.0+ '@payloadcms/ui': 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])react: 18.3.1react-dom: 18.3.1([email protected])transitivePeerDependencies:@@ -22563,7 +22614,7 @@ snapshots:- supports-color- typescript- '@payloadcms/[email protected](@faceless-ui/[email protected]([email protected]([email protected]))([email protected]))(@faceless-ui/[email protected]([email protected]([email protected]))([email protected]))(@payloadcms/[email protected](@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])':+ '@payloadcms/[email protected](@faceless-ui/[email protected]([email protected]([email protected]))([email protected]))(@faceless-ui/[email protected]([email protected]([email protected]))([email protected]))(@payloadcms/[email protected](@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])':dependencies:@@ -22577,12 +22628,13 @@ snapshots:'@lexical/selection': 0.28.0'@lexical/table': 0.28.0'@lexical/utils': 0.28.0- '@payloadcms/next': 3.33.0(@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])- '@payloadcms/translations': 3.33.0- '@payloadcms/ui': 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ '@payloadcms/next': 3.50.0(@types/[email protected])([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ '@payloadcms/translations': 3.50.0+ '@payloadcms/ui': 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])'@types/uuid': 10.0.0acorn: 8.12.1bson-objectid: 2.0.4+ csstype: 3.1.3dequal: 2.0.3escape-html: 1.0.3jsox: 1.2.121@@ -22590,7 +22642,7 @@ snapshots: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- payload: 3.33.0([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])qs-esm: 7.0.2react: 18.3.1react-dom: 18.3.1([email protected])@@ -22605,13 +22657,13 @@ snapshots:- typescript- yjs- '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':+ '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':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- '@payloadcms/plugin-cloud-storage': 3.33.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])- payload: 3.33.0([email protected])([email protected])+ '@payloadcms/plugin-cloud-storage': 3.50.0(@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])transitivePeerDependencies:- '@types/react'- aws-crt@@ -22622,27 +22674,28 @@ snapshots:- supports-color- typescript- '@payloadcms/[email protected]':+ '@payloadcms/[email protected]':dependencies:date-fns: 4.1.0- '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':+ '@payloadcms/[email protected](@types/[email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])':dependencies:'@date-fns/tz': 1.2.0'@dnd-kit/sortable': 7.0.2(@dnd-kit/[email protected]([email protected]([email protected]))([email protected]))([email protected])+ '@dnd-kit/utilities': 3.2.2([email protected])'@monaco-editor/react': 4.7.0([email protected])([email protected]([email protected]))([email protected])- '@payloadcms/translations': 3.33.0+ '@payloadcms/translations': 3.50.0bson-objectid: 2.0.4date-fns: 4.1.0dequal: 2.0.3md5: 2.3.0next: 15.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])object-to-formdata: 4.5.1- payload: 3.33.0([email protected])([email protected])+ payload: 3.50.0([email protected])([email protected])qs-esm: 7.0.2react: 18.3.1@@ -22841,6 +22894,22 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':+ 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-presence': 1.1.4(@types/[email protected])(@types/[email protected])([email protected]([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+'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.26.10@@ -23264,6 +23333,15 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':+ 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+'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.26.10@@ -23385,7 +23463,7 @@ snapshots:'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.26.10'@radix-ui/react-arrow': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])@@ -23439,7 +23517,7 @@ snapshots:'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/react-arrow': 1.1.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@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])@@ -23726,7 +23804,7 @@ snapshots:'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-previous': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- aria-hidden: 1.2.3+ aria-hidden: 1.2.4react: 18.3.1react-dom: 18.3.1([email protected])react-remove-scroll: 2.5.5(@types/[email protected])([email protected])@@ -24045,6 +24123,12 @@ snapshots:optionalDependencies:'@types/react': 18.3.3+ dependencies:+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.3+dependencies:'@babel/runtime': 7.26.10@@ -25490,7 +25574,7 @@ snapshots:dependencies:'@sinclair/typebox': 0.25.24- pg: 8.11.3+ pg: 8.16.3pg-format: 1.0.4pgsql-parser: 13.5.0([email protected])([email protected])postgres-array: 3.0.2@@ -25737,7 +25821,7 @@ snapshots:tiny-invariant: 1.3.3tiny-warning: 1.0.3- '@tanstack/[email protected](@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])':+ '@tanstack/[email protected](@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:'@tanstack/router-core': 1.114.25@@ -25748,7 +25832,7 @@ snapshots:react-dom: 18.3.1([email protected])tiny-invariant: 1.3.3tiny-warning: 1.0.3- vinxi: 0.5.3(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vinxi: 0.5.3(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- '@azure/app-configuration'- '@azure/cosmos'@@ -25792,7 +25876,7 @@ snapshots:- xml2js- yaml- '@tanstack/[email protected](@electric-sql/[email protected])(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])':+ '@tanstack/[email protected](@electric-sql/[email protected])(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])':dependencies:'@tanstack/react-start-plugin': 1.114.12(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])'@tanstack/router-core': 1.114.25@@ -25802,11 +25886,11 @@ snapshots:'@tanstack/start-server-functions-handler': 1.114.25'@vitejs/plugin-react': 4.3.4([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))import-meta-resolve: 4.1.0- nitropack: 2.11.7(@electric-sql/[email protected])([email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected])([email protected])+ nitropack: 2.11.7(@electric-sql/[email protected])([email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected])([email protected])ofetch: 1.4.1react: 18.3.1react-dom: 18.3.1([email protected])- vinxi: 0.5.3(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vinxi: 0.5.3(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])zod: 3.25.76transitivePeerDependencies:@@ -25884,11 +25968,11 @@ snapshots:- tsx- yaml- '@tanstack/[email protected](@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])':+ '@tanstack/[email protected](@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:'@tanstack/router-core': 1.114.25tiny-invariant: 1.3.3- vinxi: 0.5.3(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vinxi: 0.5.3(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- '@azure/app-configuration'- '@azure/cosmos'@@ -25947,13 +26031,13 @@ snapshots:tiny-warning: 1.0.3unctx: 2.4.1- '@tanstack/[email protected](@electric-sql/[email protected])(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])':+ '@tanstack/[email protected](@electric-sql/[email protected])(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])':dependencies:- '@tanstack/react-start-client': 1.114.27(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- '@tanstack/react-start-config': 1.114.27(@electric-sql/[email protected])(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])- '@tanstack/react-start-router-manifest': 1.114.25(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ '@tanstack/react-start-client': 1.114.27(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ '@tanstack/react-start-config': 1.114.27(@electric-sql/[email protected])(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])+ '@tanstack/react-start-router-manifest': 1.114.25(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- '@tanstack/start-api-routes': 1.114.25(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ '@tanstack/start-api-routes': 1.114.25(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])'@tanstack/start-server-functions-client': 1.114.25(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])'@tanstack/start-server-functions-handler': 1.114.25'@tanstack/start-server-functions-server': 1.114.12(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -26104,11 +26188,11 @@ snapshots:- tsx- yaml- '@tanstack/[email protected](@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])':+ '@tanstack/[email protected](@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:'@tanstack/router-core': 1.114.25'@tanstack/start-server-core': 1.114.25- vinxi: 0.5.3(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vinxi: 0.5.3(@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- '@azure/app-configuration'- '@azure/cosmos'@@ -27062,6 +27146,24 @@ snapshots:transitivePeerDependencies:- supports-color+ '@vitest/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]))':+ dependencies:+ '@ampproject/remapping': 2.3.0+ '@bcoe/v8-coverage': 1.0.2+ debug: 4.4.0([email protected])+ istanbul-lib-coverage: 3.2.2+ istanbul-lib-report: 3.0.1+ istanbul-lib-source-maps: 5.0.6([email protected])+ istanbul-reports: 3.1.7+ magic-string: 0.30.17+ magicast: 0.3.5+ std-env: 3.8.1+ test-exclude: 7.0.1+ tinyrainbow: 2.0.0+ vitest: 3.0.9(@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])+ transitivePeerDependencies:+ - supports-color+dependencies:'@ampproject/remapping': 2.3.0@@ -27105,6 +27207,15 @@ snapshots:msw: 2.7.3(@types/[email protected])([email protected])vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ '@vitest/[email protected]([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':+ dependencies:+ '@vitest/spy': 3.0.9+ estree-walker: 3.0.3+ magic-string: 0.30.17+ optionalDependencies:+ msw: 2.7.3(@types/[email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+'@vitest/[email protected]':dependencies:tinyrainbow: 2.0.0@@ -27813,8 +27924,6 @@ snapshots:- [email protected]: {}-dependencies:base64-js: 1.5.1@@ -28454,6 +28563,8 @@ snapshots:+ [email protected]: {}+@@ -28693,10 +28804,10 @@ snapshots:- [email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])):+ [email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])):optionalDependencies:'@electric-sql/pglite': 0.2.15- drizzle-orm: 0.36.1(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ drizzle-orm: 0.44.2(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])@@ -28923,7 +29034,7 @@ snapshots:dependencies:'@drizzle-team/brocli': 0.10.2'@esbuild-kit/esm-loader': 2.6.5@@ -28932,23 +29043,19 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ [email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]):optionalDependencies:'@electric-sql/pglite': 0.2.15'@opentelemetry/api': 1.9.0'@types/pg': 8.10.2- '@types/react': 18.3.3- pg: 8.11.3- react: 18.3.1+ pg: 8.16.3- [email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ [email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]):optionalDependencies:'@electric-sql/pglite': 0.2.15'@opentelemetry/api': 1.9.0'@types/pg': 8.15.4- '@types/react': 18.3.3- pg: 8.13.1- react: 18.3.1+ pg: 8.16.3optional: true@@ -30739,7 +30846,7 @@ snapshots:estree-util-is-identifier-name: 3.0.0hast-util-whitespace: 3.0.0mdast-util-mdx-expression: 2.0.0([email protected])- mdast-util-mdx-jsx: 3.1.2([email protected])+ mdast-util-mdx-jsx: 3.1.3([email protected])mdast-util-mdxjs-esm: 2.0.1([email protected])property-information: 6.3.0space-separated-tokens: 2.0.2@@ -30982,9 +31089,7 @@ snapshots:- dependencies:- queue: 6.0.2+ [email protected]: {}@@ -31118,6 +31223,8 @@ snapshots:+ [email protected]: {}+@@ -31655,7 +31762,7 @@ snapshots:lodash: 4.17.21minimist: 1.2.8prettier: 3.5.3- tinyglobby: 0.2.12+ tinyglobby: 0.2.14@@ -31985,6 +32092,10 @@ snapshots:dependencies:react: 18.3.1+ dependencies:+ react: 18.3.1+@@ -32220,7 +32331,7 @@ snapshots:dependencies:'@types/mdast': 4.0.1devlop: 1.1.0- mdast-util-from-markdown: 2.0.0([email protected])+ mdast-util-from-markdown: 2.0.2([email protected])mdast-util-to-markdown: 2.1.0micromark-util-normalize-identifier: 2.0.0transitivePeerDependencies:@@ -32234,7 +32345,7 @@ snapshots:dependencies:'@types/mdast': 4.0.1- mdast-util-from-markdown: 2.0.0([email protected])+ mdast-util-from-markdown: 2.0.2([email protected])mdast-util-to-markdown: 2.1.0transitivePeerDependencies:- supports-color@@ -32253,7 +32364,7 @@ snapshots:'@types/mdast': 4.0.1devlop: 1.1.0markdown-table: 3.0.3- mdast-util-from-markdown: 2.0.0([email protected])+ mdast-util-from-markdown: 2.0.2([email protected])mdast-util-to-markdown: 2.1.0transitivePeerDependencies:- supports-color@@ -32267,7 +32378,7 @@ snapshots:dependencies:'@types/mdast': 4.0.1devlop: 1.1.0- mdast-util-from-markdown: 2.0.0([email protected])+ mdast-util-from-markdown: 2.0.2([email protected])mdast-util-to-markdown: 2.1.0transitivePeerDependencies:- supports-color@@ -32286,7 +32397,7 @@ snapshots:dependencies:- mdast-util-from-markdown: 2.0.0([email protected])+ mdast-util-from-markdown: 2.0.2([email protected])mdast-util-gfm-autolink-literal: 2.0.0mdast-util-gfm-footnote: 2.0.0([email protected])mdast-util-gfm-strikethrough: 2.0.0([email protected])@@ -32302,7 +32413,7 @@ snapshots:'@types/mdast': 4.0.1devlop: 1.1.0longest-streak: 3.1.0- mdast-util-from-markdown: 2.0.0([email protected])+ mdast-util-from-markdown: 2.0.2([email protected])mdast-util-to-markdown: 2.1.0unist-util-remove-position: 5.0.0transitivePeerDependencies:@@ -32324,7 +32435,7 @@ snapshots:'@types/hast': 3.0.4'@types/mdast': 4.0.1devlop: 1.1.0- mdast-util-from-markdown: 2.0.0([email protected])+ mdast-util-from-markdown: 2.0.2([email protected])mdast-util-to-markdown: 2.1.0transitivePeerDependencies:- supports-color@@ -32346,24 +32457,6 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- '@types/estree-jsx': 1.0.1- '@types/hast': 3.0.4- '@types/mdast': 4.0.1- '@types/unist': 3.0.3- ccount: 2.0.1- devlop: 1.1.0- mdast-util-from-markdown: 2.0.0([email protected])- mdast-util-to-markdown: 2.1.0- parse-entities: 4.0.1- stringify-entities: 4.0.3- unist-util-remove-position: 5.0.0- unist-util-stringify-position: 4.0.0- vfile-message: 4.0.2- transitivePeerDependencies:- - supports-color-dependencies:'@types/estree-jsx': 1.0.1@@ -32417,7 +32510,7 @@ snapshots:'@types/hast': 3.0.4'@types/mdast': 4.0.1devlop: 1.1.0- mdast-util-from-markdown: 2.0.0([email protected])+ mdast-util-from-markdown: 2.0.2([email protected])mdast-util-to-markdown: 2.1.0transitivePeerDependencies:- supports-color@@ -32753,19 +32846,6 @@ snapshots:uvu: 0.5.6vfile-message: 3.1.4- dependencies:- '@types/acorn': 4.0.6- '@types/estree': 1.0.5- devlop: 1.1.0- estree-util-is-identifier-name: 3.0.0- micromark-factory-mdx-expression: 2.0.1- micromark-factory-space: 2.0.0- micromark-util-character: 2.0.1- micromark-util-symbol: 2.0.1- micromark-util-types: 2.0.0- vfile-message: 4.0.2-dependencies:'@types/acorn': 4.0.6@@ -32828,7 +32908,7 @@ snapshots:acorn: 8.14.1acorn-jsx: 5.3.2([email protected])micromark-extension-mdx-expression: 3.0.0- micromark-extension-mdx-jsx: 3.0.0+ micromark-extension-mdx-jsx: 3.0.1micromark-extension-mdx-md: 2.0.0micromark-extension-mdxjs-esm: 3.0.0micromark-util-combine-extensions: 2.0.0@@ -33476,7 +33556,7 @@ snapshots:- [email protected](@electric-sql/[email protected])([email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected])([email protected]):+ [email protected](@electric-sql/[email protected])([email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected])([email protected]):dependencies:'@cloudflare/kv-asset-handler': 0.4.0'@netlify/functions': 3.0.4@@ -33498,7 +33578,7 @@ snapshots:cookie-es: 2.0.0croner: 9.0.0crossws: 0.3.4- db0: 0.3.1(@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))+ db0: 0.3.1(@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))defu: 6.1.4destr: 2.0.3dot-prop: 9.0.0@@ -33545,7 +33625,7 @@ snapshots:unenv: 2.0.0-rc.15unimport: 4.1.2unplugin-utils: 0.2.4- unstorage: 1.15.0([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected]([email protected]))+ unstorage: 1.15.0([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected]([email protected]))untyped: 2.0.0unwasm: 0.3.9youch: 4.1.0-beta.6@@ -34074,8 +34154,6 @@ snapshots:- [email protected]: {}-@@ -34218,24 +34296,25 @@ snapshots:dependencies:- '@next/env': 15.3.1- '@payloadcms/translations': 3.33.0+ '@next/env': 15.3.3+ '@payloadcms/translations': 3.50.0'@types/busboy': 1.5.4ajv: 8.17.1bson-objectid: 2.0.4busboy: 1.6.0ci-info: 4.2.0console-table-printer: 2.12.1- croner: 9.0.0+ croner: 9.1.0dataloader: 2.2.3deepmerge: 4.3.1file-type: 19.3.0get-tsconfig: 4.8.1graphql: 16.11.0http-status: 2.1.0- image-size: 1.2.1+ image-size: 2.0.2+ ipaddr.js: 2.2.0jose: 5.9.6json-schema-to-typescript: 15.0.3minimist: 1.2.8@@ -34247,9 +34326,10 @@ snapshots:sanitize-filename: 1.6.3scmp: 2.1.0ts-essentials: 10.0.3([email protected])- tsx: 4.19.2+ tsx: 4.20.3+ undici: 7.10.0uuid: 10.0.0- ws: 8.18.1+ ws: 8.18.3transitivePeerDependencies:- bufferutil- typescript@@ -34270,10 +34350,15 @@ snapshots:optional: true+ optional: true++ [email protected]: {}+@@ -34282,14 +34367,16 @@ snapshots:dependencies:- pg: 8.11.3+ pg: 8.16.3dependencies:pg: 8.13.1+ [email protected]: {}+@@ -34312,27 +34399,25 @@ snapshots:postgres-interval: 3.0.0postgres-range: 1.1.4dependencies:- buffer-writer: 2.0.0- packet-reader: 1.0.0pg-connection-string: 2.7.0- pg-pool: 3.7.1([email protected])+ pg-pool: 3.7.1([email protected])pg-protocol: 1.7.1pg-types: 2.2.0pgpass: 1.0.5optionalDependencies:pg-cloudflare: 1.1.1dependencies:- pg-connection-string: 2.7.0- pg-pool: 3.7.1([email protected])- pg-protocol: 1.7.1+ pg-connection-string: 2.9.1+ pg-pool: 3.10.1([email protected])+ pg-protocol: 1.10.3pg-types: 2.2.0pgpass: 1.0.5optionalDependencies:- pg-cloudflare: 1.1.1+ pg-cloudflare: 1.2.7dependencies:@@ -34750,10 +34835,6 @@ snapshots:- dependencies:- inherits: 2.0.4-@@ -34886,19 +34967,6 @@ snapshots:dependencies:es6-symbol: 3.1.4- [email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):- dependencies:- '@emotion/css': 11.13.5([email protected])- classnames: 2.5.1- diff: 5.2.0- memoize-one: 6.0.0- react: 18.3.1- react-dom: 18.3.1([email protected])- transitivePeerDependencies:- - '@types/react'- - supports-color-dependencies:dnd-core: 16.0.1@@ -37052,11 +37120,6 @@ snapshots:fdir: 6.4.6([email protected])picomatch: 4.0.2- dependencies:- fdir: 6.4.6([email protected])- picomatch: 4.0.2-dependencies:fdir: 6.4.6([email protected])@@ -37263,6 +37326,13 @@ snapshots:optionalDependencies:fsevents: 2.3.3+ dependencies:+ esbuild: 0.25.2+ get-tsconfig: 4.10.0+ optionalDependencies:+ fsevents: 2.3.3+dependencies:safe-buffer: 5.2.1@@ -37463,6 +37533,8 @@ snapshots:+ [email protected]: {}+dependencies:consola: 3.4.2@@ -37666,7 +37738,7 @@ snapshots:acorn: 8.14.1webpack-virtual-modules: 0.6.2- [email protected]([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected]([email protected])):+ [email protected]([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected]([email protected])):dependencies:anymatch: 3.1.3chokidar: 4.0.3@@ -37678,7 +37750,7 @@ snapshots:ufo: 1.5.4optionalDependencies:aws4fetch: 1.0.20- db0: 0.3.1(@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))+ db0: 0.3.1(@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))ioredis: 5.6.0([email protected])@@ -37911,7 +37983,7 @@ snapshots:d3-time: 3.1.0d3-timer: 3.0.1- [email protected](@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@electric-sql/[email protected])(@types/[email protected])([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:'@babel/core': 7.26.10([email protected])'@babel/plugin-syntax-jsx': 7.25.9(@babel/[email protected]([email protected]))@@ -37933,7 +38005,7 @@ snapshots:hookable: 5.5.3http-proxy: 1.18.1micromatch: 4.0.8- nitropack: 2.11.7(@electric-sql/[email protected])([email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected])([email protected])+ nitropack: 2.11.7(@electric-sql/[email protected])([email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])([email protected])([email protected])node-fetch-native: 1.6.6path-to-regexp: 6.3.0pathe: 1.1.2@@ -37944,7 +38016,7 @@ snapshots:ufo: 1.5.4unctx: 2.4.1unenv: 1.10.0- unstorage: 1.15.0([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])))([email protected]([email protected]))+ unstorage: 1.15.0([email protected])([email protected](@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])))([email protected]([email protected]))vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])zod: 3.25.76transitivePeerDependencies:@@ -38032,6 +38104,27 @@ snapshots:- tsx- yaml+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):+ dependencies:+ cac: 6.7.14+ debug: 4.4.0([email protected])+ es-module-lexer: 1.6.0+ pathe: 2.0.3+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ transitivePeerDependencies:+ - '@types/node'+ - jiti+ - less+ - lightningcss+ - sass+ - sass-embedded+ - stylus+ - sugarss+ - supports-color+ - terser+ - tsx+ - yaml+[email protected]([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:debug: 4.3.7([email protected])@@ -38060,6 +38153,23 @@ snapshots:tsx: 4.19.3yaml: 2.4.5+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):+ dependencies:+ esbuild: 0.25.2+ fdir: 6.4.6([email protected])+ picomatch: 4.0.2+ postcss: 8.5.3+ rollup: 4.38.0+ tinyglobby: 0.2.14+ optionalDependencies:+ '@types/node': 22.13.14+ fsevents: 2.3.3+ jiti: 2.4.2+ sass: 1.77.4+ terser: 5.39.0+ tsx: 4.20.3+ yaml: 2.4.5+[email protected](@types/[email protected])(@vitest/[email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:'@vitest/expect': 3.0.9@@ -38139,6 +38249,45 @@ snapshots:- tsx- yaml+ [email protected](@types/[email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]):+ dependencies:+ '@vitest/expect': 3.0.9+ '@vitest/mocker': 3.0.9([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/pretty-format': 3.0.9+ '@vitest/runner': 3.0.9+ '@vitest/snapshot': 3.0.9+ '@vitest/spy': 3.0.9+ '@vitest/utils': 3.0.9+ chai: 5.2.0+ debug: 4.4.0([email protected])+ expect-type: 1.1.0+ magic-string: 0.30.17+ pathe: 2.0.3+ std-env: 3.8.1+ tinybench: 2.9.0+ tinyexec: 0.3.2+ tinypool: 1.0.2+ tinyrainbow: 2.0.0+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vite-node: 3.0.9(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ why-is-node-running: 2.3.0+ optionalDependencies:+ '@types/node': 22.13.14+ jsdom: 20.0.3([email protected])+ transitivePeerDependencies:+ - jiti+ - less+ - lightningcss+ - msw+ - sass+ - sass-embedded+ - stylus+ - sugarss+ - supports-color+ - terser+ - tsx+ - yaml+@@ -38418,8 +38567,6 @@ snapshots:- [email protected]: {}-