The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
cms www blog (#38045)
Francesco Sansalvadore2feda5ee1902
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERSindex 2da257c744c..414afee868f 100644--- a/.github/CODEOWNERS+++ b/.github/CODEOWNERS@@ -5,6 +5,8 @@/apps/studio/ @supabase/Dashboard+/apps/cms/ @supabase/marketing+/apps/www/ @supabase/marketing/apps/www/public/images/blog @supabase/marketing/apps/www/lib/redirects.jsdiff --git a/apps/cms/.env b/apps/cms/.envindex 94f021dce47..5972f795094 100644--- a/apps/cms/.env+++ b/apps/cms/.env@@ -11,7 +11,5 @@ S3_SECRET_ACCESS_KEY=850181e4652dd023b7a98c58ae0d2d34bd487ee0cc3254aed6eda373074S3_REGION=localS3_ENDPOINT=http://127.0.0.1:34321/storage/v1/s3-BLOG_APP_URL=http://localhost:3000-NEXT_PUBLIC_SERVER_URL=http://localhost:3000/blogCRON_SECRET=secretPREVIEW_SECRET=secret\ No newline at end of filediff --git a/apps/cms/next.config.mjs b/apps/cms/next.config.mjsindex 8c87e87b2f0..3317297c825 100644--- a/apps/cms/next.config.mjs+++ b/apps/cms/next.config.mjs@@ -19,20 +19,24 @@ const redirects = async () => {return redirects}-const NEXT_PUBLIC_SERVER_URL = process.env.VERCEL_PROJECT_PRODUCTION_URL- ? `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`- : undefined || process.env.NEXT_PUBLIC_SERVER_URL || 'http://localhost:3000'+const WWW_SITE_ORIGIN =+ process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'+ ? 'https://supabase.com'+ : process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL &&+ typeof process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL === 'string'+ ? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL.replace('cms-git-', 'zone-www-dot-com-git-')}`+ : 'http://localhost:3000'/** @type {import('next').NextConfig} */const nextConfig = {images: {remotePatterns: [- ...[NEXT_PUBLIC_SERVER_URL /* 'https://example.com' */].map((item) => {+ ...[WWW_SITE_ORIGIN /* 'https://example.com' */].map((item) => {const url = new URL(item)return {hostname: url.hostname,- protocol: url.protocol.replace(':', ''),+ protocol: url.protocol?.replace(':', ''),}}),],@@ -43,6 +47,12 @@ const nextConfig = {// We are already running linting via GH action, this will skip linting during production build on VercelignoreDuringBuilds: true,},+ experimental: {+ // Ensure compatibility with Turbopack and Sharp+ serverComponentsExternalPackages: ['sharp'],+ },+ // Configure Sharp as an external package for server-side rendering+ serverExternalPackages: ['sharp'],}export default withPayload(nextConfig, { devBundleServerPackages: false })diff --git a/apps/cms/package.json b/apps/cms/package.jsonindex ea0d762bd1a..13e5841a04e 100644--- a/apps/cms/package.json+++ b/apps/cms/package.json@@ -20,23 +20,26 @@"typecheck_IGNORED": "tsc --noEmit"},"dependencies": {- "@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",+ "@payloadcms/admin-bar": "^3.52.0",+ "@payloadcms/db-postgres": "^3.52.0",+ "@payloadcms/live-preview-react": "^3.52.0",+ "@payloadcms/next": "3.52.0",+ "@payloadcms/payload-cloud": "3.52.0",+ "@payloadcms/plugin-form-builder": "3.52.0",+ "@payloadcms/plugin-nested-docs": "3.52.0",+ "@payloadcms/plugin-seo": "3.52.0",+ "@payloadcms/richtext-lexical": "3.52.0",+ "@payloadcms/storage-s3": "3.52.0",+ "@payloadcms/ui": "3.52.0","@radix-ui/react-checkbox": "^1.3.2","@radix-ui/react-label": "^2.1.7","@radix-ui/react-select": "^2.0.0","@radix-ui/react-slot": "^1.2.3",+ "@types/node": "catalog:",+ "@types/react": "catalog:",+ "@types/react-dom": "catalog:","class-variance-authority": "^0.7.1",- "clsx": "^1.2.1",+ "clsx": "^2.1.1","common": "workspace:*","config": "workspace:*","cross-env": "^7.0.3",@@ -45,19 +48,17 @@"image-size": "2.0.2","lucide-react": "^0.511.0","next": "catalog:",- "payload": "3.50.0",+ "payload": "3.52.0","pg": "^8.16.3","prism-react-renderer": "^2.3.1","react": "catalog:","react-dom": "catalog:","sharp": "0.32.6",- "tailwind-merge": "^1.13.2"- },- "devDependencies": {- "@types/node": "catalog:",- "@types/react": "catalog:",- "@types/react-dom": "catalog:",+ "tailwind-merge": "^1.13.2","tsx": "^4.19.3",- "typescript": "5.7.3"+ "typescript": "~5.5.0"+ },+ "externals": {+ "sharp": "commonjs sharp"}}diff --git a/apps/cms/src/blocks/Code/config.ts b/apps/cms/src/blocks/Code/config.tsindex 7b26f805db2..98a81114197 100644--- a/apps/cms/src/blocks/Code/config.ts+++ b/apps/cms/src/blocks/Code/config.ts@@ -10,16 +10,40 @@ export const Code: Block = {defaultValue: 'typescript',options: [{- label: 'Typescript',- value: 'typescript',+ label: 'SQL',+ value: 'sql',+ },+ {+ label: 'JSON',+ value: 'json',+ },+ {+ label: 'bash',+ value: 'bash',},{label: 'Javascript',- value: 'javascript',+ value: 'js',+ },+ {+ label: 'Typescript',+ value: 'ts',+ },+ {+ label: 'tsx',+ value: 'tsx',+ },+ {+ label: 'Python',+ value: 'py',+ },+ {+ label: 'kotlin',+ value: 'kotlin',},{- label: 'CSS',- value: 'css',+ label: 'yaml',+ value: 'yaml',},],},diff --git a/apps/cms/src/collections/Authors.ts b/apps/cms/src/collections/Authors.tsindex 44cb98321cd..b302059b041 100644--- a/apps/cms/src/collections/Authors.ts+++ b/apps/cms/src/collections/Authors.ts@@ -4,6 +4,7 @@ export const Authors: CollectionConfig = {slug: 'authors',admin: {useAsTitle: 'author',+ defaultColumns: ['author', 'position', 'author_id'],},access: {read: () => true,@@ -13,28 +14,54 @@ export const Authors: CollectionConfig = {name: 'author',type: 'text',required: true,+ label: 'Author Name',+ index: true,},{name: 'author_id',type: 'text',+ required: true,+ unique: true,+ label: 'Author ID',+ admin: {+ description: 'Unique identifier for the author',+ },+ },+ {+ name: 'username',+ type: 'text',+ label: 'Username',+ admin: {+ description: 'GitHub/social username',+ },},{name: 'position',type: 'text',+ label: 'Position',+ },+ {+ name: 'company',+ type: 'text',+ label: 'Company',+ admin: {+ description: 'Company name (for external/guest authors)',+ },},{name: 'author_url',type: 'text',+ label: 'Profile URL',+ admin: {+ description: 'Link to GitHub, Twitter, LinkedIn, etc.',+ },},{name: 'author_image_url',type: 'upload',relationTo: 'media',required: false,- },- {- name: 'username',- type: 'text',+ label: 'Profile Image',},],timestamps: true,diff --git a/apps/cms/src/collections/Categories.ts b/apps/cms/src/collections/Categories.tsindex 7fc90e96c2a..d5b20b6d0e3 100644--- a/apps/cms/src/collections/Categories.ts+++ b/apps/cms/src/collections/Categories.ts@@ -1,4 +1,5 @@import type { CollectionConfig } from 'payload'+import { isAdmin } from '../access/isAdmin'export const Categories: CollectionConfig = {slug: 'categories',@@ -6,13 +7,17 @@ export const Categories: CollectionConfig = {useAsTitle: 'name',},access: {+ create: isAdmin,read: () => true,+ update: isAdmin,+ delete: isAdmin,},fields: [{name: 'name',type: 'text',required: true,+ index: true,},],timestamps: true,diff --git a/apps/cms/src/collections/Customers/index.ts b/apps/cms/src/collections/Customers/index.tsindex a7108d200e3..56bf14bf318 100644--- a/apps/cms/src/collections/Customers/index.ts+++ b/apps/cms/src/collections/Customers/index.ts@@ -27,6 +27,7 @@ import {PreviewField,} from '@payloadcms/plugin-seo/fields'import { slugField } from '../../fields/slug/index.ts'+import { WWW_SITE_ORIGIN } from '../../utilities/constants.ts'const industryOptions = [{ label: 'Healthcare', value: 'healthcare' },@@ -73,16 +74,20 @@ export const Customers: CollectionConfig = {useAsTitle: 'name',defaultColumns: ['name', 'slug', 'updatedAt'],preview: (data) => {- const baseUrl = process.env.BLOG_APP_URL || 'http://localhost:3000'+ const baseUrl = WWW_SITE_ORIGIN || 'http://localhost:3000'const isDraft = data?._status === 'draft'return `${baseUrl}/customers/${data?.slug}${isDraft ? '?preview=true' : ''}`},},access: {- create: isAuthenticated,- delete: isAuthenticated,- read: isAnyone,- update: isAuthenticated,+ // create: isAuthenticated,+ // delete: isAuthenticated,+ // read: isAnyone,+ // update: isAuthenticated,+ create: () => false,+ delete: () => false,+ read: () => false,+ update: () => false,},defaultPopulate: {name: true,@@ -303,9 +308,9 @@ export const Customers: CollectionConfig = {},versions: {drafts: {- autosave: {- interval: 100,- },+ // autosave: {+ // interval: 100,+ // },schedulePublish: true,},maxPerDoc: 50,diff --git a/apps/cms/src/collections/Events/index.ts b/apps/cms/src/collections/Events/index.tsindex ad99e840e2d..de909c08e8c 100644--- a/apps/cms/src/collections/Events/index.ts+++ b/apps/cms/src/collections/Events/index.ts@@ -28,6 +28,7 @@ import {} from '@payloadcms/plugin-seo/fields'import { slugField } from '../../fields/slug/index.ts'import { timezoneOptions } from '../../utilities/timezones.ts'+import { WWW_SITE_ORIGIN } from '../../utilities/constants.ts'const eventTypeOptions = [{ label: 'Conference', value: 'conference' },@@ -47,16 +48,20 @@ export const Events: CollectionConfig = {useAsTitle: 'title',defaultColumns: ['title', 'slug', 'updatedAt'],preview: (data) => {- const baseUrl = process.env.BLOG_APP_URL || 'http://localhost:3000'- const isDraft = data?._status === 'draft'- return `${baseUrl}/events/${data?.slug}${isDraft ? '?preview=true' : ''}`+ const baseUrl = WWW_SITE_ORIGIN || 'http://localhost:3000'+ // Always use the preview route to ensure draft mode is enabled+ return `${baseUrl}/api-v2/cms/preview?slug=${data?.slug}&path=events&secret=${process.env.PREVIEW_SECRET || 'secret'}`},},access: {- create: isAuthenticated,- delete: isAuthenticated,- read: isAnyone,- update: isAuthenticated,+ // create: isAuthenticated,+ // delete: isAuthenticated,+ // read: isAnyone,+ // update: isAuthenticated,+ create: () => false,+ delete: () => false,+ read: () => false,+ update: () => false,},defaultPopulate: {title: true,@@ -393,9 +398,9 @@ export const Events: CollectionConfig = {},versions: {drafts: {- autosave: {- interval: 100,- },+ // autosave: {+ // interval: 100,+ // },schedulePublish: true,},maxPerDoc: 50,diff --git a/apps/cms/src/collections/Posts/index.ts b/apps/cms/src/collections/Posts/index.tsindex 7c20c798867..72e8830bb39 100644--- a/apps/cms/src/collections/Posts/index.ts+++ b/apps/cms/src/collections/Posts/index.ts@@ -28,6 +28,7 @@ import {PreviewField,} from '@payloadcms/plugin-seo/fields'import { slugField } from '../../fields/slug/index.ts'+import { WWW_SITE_ORIGIN } from '../../utilities/constants.ts'const launchweekOptions = [{ label: '6', value: '6' },@@ -45,38 +46,11 @@ export const Posts: CollectionConfig = {slug: 'posts',admin: {useAsTitle: 'title',- defaultColumns: ['title', 'slug', 'updatedAt'],- livePreview: {- url: ({ data }) => {- const baseUrl = process.env.BLOG_APP_URL || 'http://localhost:3000'- // Always use the preview route for live preview to ensure draft mode is enabled- return `${baseUrl}/api/preview?slug=${data?.slug}&secret=${process.env.PREVIEW_SECRET || 'preview-secret'}`- },- breakpoints: [- {- label: 'Desktop',- name: 'desktop',- width: 1920,- height: 1080,- },- {- label: 'Tablet',- name: 'tablet',- width: 768,- height: 1024,- },- {- label: 'Mobile',- name: 'mobile',- width: 375,- height: 667,- },- ],- },+ defaultColumns: ['title', 'slug', 'updatedAt', 'publishedAt'],preview: (data) => {- const baseUrl = process.env.BLOG_APP_URL || 'http://localhost:3000'+ const baseUrl = WWW_SITE_ORIGIN || 'http://localhost:3000'// Always use the preview route to ensure draft mode is enabled- return `${baseUrl}/api/preview?slug=${data?.slug}&secret=${process.env.PREVIEW_SECRET || 'preview-secret'}`+ return `${baseUrl}/api-v2/cms/preview?slug=${data?.slug}&secret=${process.env.PREVIEW_SECRET || 'secret'}`},},access: {@@ -99,8 +73,17 @@ export const Posts: CollectionConfig = {name: 'title',type: 'text',required: true,+ index: true,},...slugField(),+ {+ name: 'description',+ type: 'textarea',+ label: 'Description / subtitle',+ admin: {+ description: 'Appears as subheading in the blog post preview.',+ },+ },{type: 'tabs',tabs: [@@ -134,29 +117,26 @@ export const Posts: CollectionConfig = {type: 'upload',relationTo: 'media',required: false,+ admin: {+ description: 'Will show up as the blog post cover. Required.',+ },},{- name: 'image',- type: 'upload',- relationTo: 'media',- required: false,+ name: 'authors',+ type: 'relationship',+ relationTo: 'authors',+ hasMany: true,+ admin: {+ description: 'Authors must be one or more. Required.',+ },},{name: 'categories',type: 'relationship',- admin: {- position: 'sidebar',- },hasMany: true,relationTo: 'categories',- },- {- name: 'launchweek',- type: 'select',- options: launchweekOptions,admin: {- description:- 'Select a launch week to show launch week summary at the bottom of the blog post.',+ description: 'Select only one category. Required.',},},{@@ -167,40 +147,29 @@ export const Posts: CollectionConfig = {},},{- name: 'date',- type: 'date',+ name: 'tags',+ type: 'relationship',+ relationTo: 'tags',+ hasMany: true,admin: {- position: 'sidebar',+ description: 'Tags can be one or more. Optional.',},},{name: 'toc_depth',type: 'number',- defaultValue: 2,+ defaultValue: 3,admin: {- position: 'sidebar',- },- },- {- name: 'description',- type: 'textarea',- },- {- name: 'authors',- type: 'relationship',- relationTo: 'authors',- hasMany: true,- admin: {- position: 'sidebar',+ hidden: true,},},{- name: 'tags',- type: 'relationship',- relationTo: 'tags',- hasMany: true,+ name: 'launchweek',+ type: 'select',+ options: launchweekOptions,admin: {- position: 'sidebar',+ description:+ 'Select a launch week to show launch week summary at the bottom of the blog post. Optional.',},},],@@ -217,12 +186,28 @@ export const Posts: CollectionConfig = {}),MetaTitleField({hasGenerateFn: true,+ overrides: {+ admin: {+ description: 'Defaults to the title of the post, if not set.',+ },+ },}),MetaImageField({relationTo: 'media',+ overrides: {+ admin: {+ description: 'Defaults to the "thumb" image, if not set.',+ },+ },}),- MetaDescriptionField({}),+ MetaDescriptionField({+ overrides: {+ admin: {+ description: 'Defaults to the description of the post, if not set.',+ },+ },+ }),PreviewField({// if the `generateUrl` function is configuredhasGenerateFn: true,@@ -235,6 +220,9 @@ export const Posts: CollectionConfig = {},],},+ /**+ * "publishedAt" is only internal to cms to determine if the blog post is published or not, but it's not used for sorting blog posts in www+ * */{name: 'publishedAt',type: 'date',@@ -243,10 +231,17 @@ export const Posts: CollectionConfig = {pickerAppearance: 'dayAndTime',},position: 'sidebar',+ hidden: true,},hooks: {beforeChange: [({ siblingData, value }) => {+ /**+ * Set the "date" field to the current date if user doesn't set it+ */+ if (!siblingData.date) {+ siblingData.date = new Date()+ }if (siblingData._status === 'published' && !value) {return new Date()}@@ -255,6 +250,21 @@ export const Posts: CollectionConfig = {],},},+ /**+ * "date" is used to determine the chronological order of the blog post in www+ */+ {+ name: 'date',+ type: 'date',+ label: 'Blog Post Date',+ admin: {+ date: {+ pickerAppearance: 'dayAndTime',+ },+ description: 'This date will determine the chronological order of the blog post. Required.',+ position: 'sidebar',+ },+ },],timestamps: true,hooks: {@@ -264,10 +274,12 @@ export const Posts: CollectionConfig = {},versions: {drafts: {- autosave: {- interval: 200,- },- schedulePublish: true,+ // NOTE: disabled autosave as it might overload connections if many users are editing at the same time+ // autosave: {+ // interval: 200,+ // },+ // TODO: enable schedulePublish to work with cron job+ // schedulePublish: true,},maxPerDoc: 50,},diff --git a/apps/cms/src/collections/Tags.ts b/apps/cms/src/collections/Tags.tsindex d21dd5a4728..c3570155bdd 100644--- a/apps/cms/src/collections/Tags.ts+++ b/apps/cms/src/collections/Tags.ts@@ -13,6 +13,7 @@ export const Tags: CollectionConfig = {name: 'name',type: 'text',required: true,+ index: true,},],timestamps: true,diff --git a/apps/cms/src/components/BeforeDashboard/SeedButton/index.scss b/apps/cms/src/components/BeforeDashboard/SeedButton/index.scssdeleted file mode 100644index 3ed9bcb1091..00000000000--- a/apps/cms/src/components/BeforeDashboard/SeedButton/index.scss+++ /dev/null@@ -1,12 +0,0 @@-.seedButton {- appearance: none;- background: none;- border: none;- padding: 0;- text-decoration: underline;-- &:hover {- cursor: pointer;- opacity: 0.85;- }-}diff --git a/apps/cms/src/components/BeforeDashboard/SeedButton/index.tsx b/apps/cms/src/components/BeforeDashboard/SeedButton/index.tsxdeleted file mode 100644index 707c183db5a..00000000000--- a/apps/cms/src/components/BeforeDashboard/SeedButton/index.tsx+++ /dev/null@@ -1,88 +0,0 @@-'use client'--import React, { Fragment, useCallback, useState } from 'react'-import { toast } from '@payloadcms/ui'--import './index.scss'--const SuccessMessage: React.FC = () => (- <div>- Database seeded! You can now{' '}- <a target="_blank" href="/">- visit your website- </a>- </div>-)--export const SeedButton: React.FC = () => {- const [loading, setLoading] = useState(false)- const [seeded, setSeeded] = useState(false)- const [error, setError] = useState<null | string>(null)-- const handleClick = useCallback(- async (e: React.MouseEvent<HTMLButtonElement>) => {- e.preventDefault()-- if (seeded) {- toast.info('Database already seeded.')- return- }- if (loading) {- toast.info('Seeding already in progress.')- return- }- if (error) {- toast.error(`An error occurred, please refresh and try again.`)- return- }-- setLoading(true)-- try {- toast.promise(- new Promise((resolve, reject) => {- try {- fetch('/next/seed', { method: 'POST', credentials: 'include' })- .then((res) => {- if (res.ok) {- resolve(true)- setSeeded(true)- } else {- reject('An error occurred while seeding.')- }- })- .catch((error) => {- reject(error)- })- } catch (error) {- reject(error)- }- }),- {- loading: 'Seeding with data....',- success: <SuccessMessage />,- error: 'An error occurred while seeding.',- }- )- } catch (err) {- const error = err instanceof Error ? err.message : String(err)- setError(error)- }- },- [loading, seeded, error]- )-- let message = ''- if (loading) message = ' (seeding...)'- if (seeded) message = ' (done!)'- if (error) message = ` (error: ${error})`-- return (- <Fragment>- <button className="seedButton" onClick={handleClick}>- Seed your database- </button>- {message}- </Fragment>- )-}diff --git a/apps/cms/src/components/BeforeDashboard/index.tsx b/apps/cms/src/components/BeforeDashboard/index.tsxindex 907eae47fd6..78bb10241e6 100644--- a/apps/cms/src/components/BeforeDashboard/index.tsx+++ b/apps/cms/src/components/BeforeDashboard/index.tsx@@ -1,7 +1,6 @@import { Banner } from '@payloadcms/ui/elements/Banner'import React from 'react'-import { SeedButton } from './SeedButton'import './index.scss'const baseClass = 'before-dashboard'@@ -15,7 +14,6 @@ const BeforeDashboard: React.FC = () => {Here's what to do next:<ul className={`${baseClass}__instructions`}><li>- <SeedButton />{' with a few pages, posts, and projects to jump-start your new site, then '}<a href="/" target="_blank">visit your websitediff --git a/apps/cms/src/environment.d.ts b/apps/cms/src/environment.d.tsindex 846d2344e2e..b8ce4e1fa6c 100644--- a/apps/cms/src/environment.d.ts+++ b/apps/cms/src/environment.d.ts@@ -3,7 +3,7 @@ declare global {interface ProcessEnv {PAYLOAD_SECRET: stringDATABASE_URI: string- NEXT_PUBLIC_SERVER_URL: string+ WWW_SITE_ORIGIN: stringVERCEL_PROJECT_PRODUCTION_URL: string}}diff --git a/apps/cms/src/migrations/20250819_222013_update_authors.json b/apps/cms/src/migrations/20250819_222013_update_authors.jsonnew file mode 100644index 00000000000..088e1b7e137--- /dev/null+++ b/apps/cms/src/migrations/20250819_222013_update_authors.json@@ -0,0 +1,7439 @@+{+ "id": "cd306410-e6c2-447a-ab80-6329720e153c",+ "prevId": "00000000-0000-0000-0000-000000000000",+ "version": "7",+ "dialect": "postgresql",+ "tables": {+ "public.authors": {+ "name": "authors",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "author": {+ "name": "author",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "author_id": {+ "name": "author_id",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "username": {+ "name": "username",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "position": {+ "name": "position",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company": {+ "name": "company",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "author_url": {+ "name": "author_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "author_image_url_id": {+ "name": "author_image_url_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "authors_author_id_idx": {+ "name": "authors_author_id_idx",+ "columns": [+ {+ "expression": "author_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_author_image_url_idx": {+ "name": "authors_author_image_url_idx",+ "columns": [+ {+ "expression": "author_image_url_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_updated_at_idx": {+ "name": "authors_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_created_at_idx": {+ "name": "authors_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "authors_author_image_url_id_media_id_fk": {+ "name": "authors_author_image_url_id_media_id_fk",+ "tableFrom": "authors",+ "tableTo": "media",+ "columnsFrom": [+ "author_image_url_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.categories_breadcrumbs": {+ "name": "categories_breadcrumbs",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "doc_id": {+ "name": "doc_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "url": {+ "name": "url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "categories_breadcrumbs_order_idx": {+ "name": "categories_breadcrumbs_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_breadcrumbs_parent_id_idx": {+ "name": "categories_breadcrumbs_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_breadcrumbs_doc_idx": {+ "name": "categories_breadcrumbs_doc_idx",+ "columns": [+ {+ "expression": "doc_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "categories_breadcrumbs_doc_id_categories_id_fk": {+ "name": "categories_breadcrumbs_doc_id_categories_id_fk",+ "tableFrom": "categories_breadcrumbs",+ "tableTo": "categories",+ "columnsFrom": [+ "doc_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "categories_breadcrumbs_parent_id_fk": {+ "name": "categories_breadcrumbs_parent_id_fk",+ "tableFrom": "categories_breadcrumbs",+ "tableTo": "categories",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.categories": {+ "name": "categories",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "categories_parent_idx": {+ "name": "categories_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_updated_at_idx": {+ "name": "categories_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_created_at_idx": {+ "name": "categories_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "categories_parent_id_categories_id_fk": {+ "name": "categories_parent_id_categories_id_fk",+ "tableFrom": "categories",+ "tableTo": "categories",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_stats": {+ "name": "customers_stats",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "stat": {+ "name": "stat",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "customers_stats_order_idx": {+ "name": "customers_stats_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_stats_parent_id_idx": {+ "name": "customers_stats_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_stats_parent_id_fk": {+ "name": "customers_stats_parent_id_fk",+ "tableFrom": "customers_stats",+ "tableTo": "customers",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_misc": {+ "name": "customers_misc",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "text": {+ "name": "text",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "customers_misc_order_idx": {+ "name": "customers_misc_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_misc_parent_id_idx": {+ "name": "customers_misc_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_misc_parent_id_fk": {+ "name": "customers_misc_parent_id_fk",+ "tableFrom": "customers_misc",+ "tableTo": "customers",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_industry": {+ "name": "customers_industry",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_customers_industry",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "customers_industry_order_idx": {+ "name": "customers_industry_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_industry_parent_idx": {+ "name": "customers_industry_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_industry_parent_fk": {+ "name": "customers_industry_parent_fk",+ "tableFrom": "customers_industry",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_supabase_products": {+ "name": "customers_supabase_products",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_customers_supabase_products",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "customers_supabase_products_order_idx": {+ "name": "customers_supabase_products_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_supabase_products_parent_idx": {+ "name": "customers_supabase_products_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_supabase_products_parent_fk": {+ "name": "customers_supabase_products_parent_fk",+ "tableFrom": "customers_supabase_products",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers": {+ "name": "customers",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "description": {+ "name": "description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "about": {+ "name": "about",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_url": {+ "name": "company_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_size": {+ "name": "company_size",+ "type": "enum_customers_company_size",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "region": {+ "name": "region",+ "type": "enum_customers_region",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "logo_id": {+ "name": "logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "logo_inverse_id": {+ "name": "logo_inverse_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_customers_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "customers_slug_idx": {+ "name": "customers_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_meta_meta_image_idx": {+ "name": "customers_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_logo_idx": {+ "name": "customers_logo_idx",+ "columns": [+ {+ "expression": "logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_logo_inverse_idx": {+ "name": "customers_logo_inverse_idx",+ "columns": [+ {+ "expression": "logo_inverse_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_updated_at_idx": {+ "name": "customers_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_created_at_idx": {+ "name": "customers_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers__status_idx": {+ "name": "customers__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_meta_image_id_media_id_fk": {+ "name": "customers_meta_image_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "customers_logo_id_media_id_fk": {+ "name": "customers_logo_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "customers_logo_inverse_id_media_id_fk": {+ "name": "customers_logo_inverse_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "logo_inverse_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_stats": {+ "name": "_customers_v_version_stats",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "stat": {+ "name": "stat",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "_uuid": {+ "name": "_uuid",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_version_stats_order_idx": {+ "name": "_customers_v_version_stats_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_stats_parent_id_idx": {+ "name": "_customers_v_version_stats_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_stats_parent_id_fk": {+ "name": "_customers_v_version_stats_parent_id_fk",+ "tableFrom": "_customers_v_version_stats",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_misc": {+ "name": "_customers_v_version_misc",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "text": {+ "name": "text",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "_uuid": {+ "name": "_uuid",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_version_misc_order_idx": {+ "name": "_customers_v_version_misc_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_misc_parent_id_idx": {+ "name": "_customers_v_version_misc_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_misc_parent_id_fk": {+ "name": "_customers_v_version_misc_parent_id_fk",+ "tableFrom": "_customers_v_version_misc",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_industry": {+ "name": "_customers_v_version_industry",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__customers_v_version_industry",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_customers_v_version_industry_order_idx": {+ "name": "_customers_v_version_industry_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_industry_parent_idx": {+ "name": "_customers_v_version_industry_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_industry_parent_fk": {+ "name": "_customers_v_version_industry_parent_fk",+ "tableFrom": "_customers_v_version_industry",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_supabase_products": {+ "name": "_customers_v_version_supabase_products",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__customers_v_version_supabase_products",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_customers_v_version_supabase_products_order_idx": {+ "name": "_customers_v_version_supabase_products_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_supabase_products_parent_idx": {+ "name": "_customers_v_version_supabase_products_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_supabase_products_parent_fk": {+ "name": "_customers_v_version_supabase_products_parent_fk",+ "tableFrom": "_customers_v_version_supabase_products",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v": {+ "name": "_customers_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_name": {+ "name": "version_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_description": {+ "name": "version_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_about": {+ "name": "version_about",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_url": {+ "name": "version_company_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_size": {+ "name": "version_company_size",+ "type": "enum__customers_v_version_company_size",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_region": {+ "name": "version_region",+ "type": "enum__customers_v_version_region",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_logo_id": {+ "name": "version_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_logo_inverse_id": {+ "name": "version_logo_inverse_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__customers_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ },+ "autosave": {+ "name": "autosave",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_parent_idx": {+ "name": "_customers_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_slug_idx": {+ "name": "_customers_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_meta_version_meta_image_idx": {+ "name": "_customers_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_logo_idx": {+ "name": "_customers_v_version_version_logo_idx",+ "columns": [+ {+ "expression": "version_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_logo_inverse_idx": {+ "name": "_customers_v_version_version_logo_inverse_idx",+ "columns": [+ {+ "expression": "version_logo_inverse_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_updated_at_idx": {+ "name": "_customers_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_created_at_idx": {+ "name": "_customers_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version__status_idx": {+ "name": "_customers_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_created_at_idx": {+ "name": "_customers_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_updated_at_idx": {+ "name": "_customers_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_latest_idx": {+ "name": "_customers_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_autosave_idx": {+ "name": "_customers_v_autosave_idx",+ "columns": [+ {+ "expression": "autosave",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_parent_id_customers_id_fk": {+ "name": "_customers_v_parent_id_customers_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_meta_image_id_media_id_fk": {+ "name": "_customers_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_logo_id_media_id_fk": {+ "name": "_customers_v_version_logo_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_logo_inverse_id_media_id_fk": {+ "name": "_customers_v_version_logo_inverse_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_logo_inverse_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events_type": {+ "name": "events_type",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_events_type",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "events_type_order_idx": {+ "name": "events_type_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_type_parent_idx": {+ "name": "events_type_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_type_parent_fk": {+ "name": "events_type_parent_fk",+ "tableFrom": "events_type",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events": {+ "name": "events",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "subtitle": {+ "name": "subtitle",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "thumb_id": {+ "name": "thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "image_id": {+ "name": "image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "date": {+ "name": "date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "timezone": {+ "name": "timezone",+ "type": "enum_events_timezone",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "show_end_date": {+ "name": "show_end_date",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "end_date": {+ "name": "end_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "duration": {+ "name": "duration",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "on_demand": {+ "name": "on_demand",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "disable_page_build": {+ "name": "disable_page_build",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "link_href": {+ "name": "link_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "link_target": {+ "name": "link_target",+ "type": "enum_events_link_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "main_cta_href": {+ "name": "main_cta_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "main_cta_target": {+ "name": "main_cta_target",+ "type": "enum_events_main_cta_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "main_cta_label": {+ "name": "main_cta_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "main_cta_disabled": {+ "name": "main_cta_disabled",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "main_cta_disabled_label": {+ "name": "main_cta_disabled_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_show_company": {+ "name": "company_show_company",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "company_name": {+ "name": "company_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_website_url": {+ "name": "company_website_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_logo_id": {+ "name": "company_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "company_logo_light_id": {+ "name": "company_logo_light_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "participants_show_participants": {+ "name": "participants_show_participants",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_events_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "events_slug_idx": {+ "name": "events_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_thumb_idx": {+ "name": "events_thumb_idx",+ "columns": [+ {+ "expression": "thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_image_idx": {+ "name": "events_image_idx",+ "columns": [+ {+ "expression": "image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_company_company_logo_idx": {+ "name": "events_company_company_logo_idx",+ "columns": [+ {+ "expression": "company_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_company_company_logo_light_idx": {+ "name": "events_company_company_logo_light_idx",+ "columns": [+ {+ "expression": "company_logo_light_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_meta_meta_image_idx": {+ "name": "events_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_updated_at_idx": {+ "name": "events_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_created_at_idx": {+ "name": "events_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events__status_idx": {+ "name": "events__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_thumb_id_media_id_fk": {+ "name": "events_thumb_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_image_id_media_id_fk": {+ "name": "events_image_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_company_logo_id_media_id_fk": {+ "name": "events_company_logo_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "company_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_company_logo_light_id_media_id_fk": {+ "name": "events_company_logo_light_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "company_logo_light_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_meta_image_id_media_id_fk": {+ "name": "events_meta_image_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events_rels": {+ "name": "events_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "events_rels_order_idx": {+ "name": "events_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_parent_idx": {+ "name": "events_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_path_idx": {+ "name": "events_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_authors_id_idx": {+ "name": "events_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_rels_parent_fk": {+ "name": "events_rels_parent_fk",+ "tableFrom": "events_rels",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "events_rels_authors_fk": {+ "name": "events_rels_authors_fk",+ "tableFrom": "events_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v_version_type": {+ "name": "_events_v_version_type",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__events_v_version_type",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_events_v_version_type_order_idx": {+ "name": "_events_v_version_type_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_type_parent_idx": {+ "name": "_events_v_version_type_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_version_type_parent_fk": {+ "name": "_events_v_version_type_parent_fk",+ "tableFrom": "_events_v_version_type",+ "tableTo": "_events_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v": {+ "name": "_events_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_subtitle": {+ "name": "version_subtitle",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_thumb_id": {+ "name": "version_thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_image_id": {+ "name": "version_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_date": {+ "name": "version_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_timezone": {+ "name": "version_timezone",+ "type": "enum__events_v_version_timezone",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_show_end_date": {+ "name": "version_show_end_date",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_end_date": {+ "name": "version_end_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_duration": {+ "name": "version_duration",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_on_demand": {+ "name": "version_on_demand",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_disable_page_build": {+ "name": "version_disable_page_build",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_link_href": {+ "name": "version_link_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_link_target": {+ "name": "version_link_target",+ "type": "enum__events_v_version_link_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "version_main_cta_href": {+ "name": "version_main_cta_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_main_cta_target": {+ "name": "version_main_cta_target",+ "type": "enum__events_v_version_main_cta_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "version_main_cta_label": {+ "name": "version_main_cta_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_main_cta_disabled": {+ "name": "version_main_cta_disabled",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_main_cta_disabled_label": {+ "name": "version_main_cta_disabled_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_show_company": {+ "name": "version_company_show_company",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_company_name": {+ "name": "version_company_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_website_url": {+ "name": "version_company_website_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_logo_id": {+ "name": "version_company_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_logo_light_id": {+ "name": "version_company_logo_light_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_participants_show_participants": {+ "name": "version_participants_show_participants",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__events_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ },+ "autosave": {+ "name": "autosave",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_events_v_parent_idx": {+ "name": "_events_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_slug_idx": {+ "name": "_events_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_thumb_idx": {+ "name": "_events_v_version_version_thumb_idx",+ "columns": [+ {+ "expression": "version_thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_image_idx": {+ "name": "_events_v_version_version_image_idx",+ "columns": [+ {+ "expression": "version_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_company_version_company_logo_idx": {+ "name": "_events_v_version_company_version_company_logo_idx",+ "columns": [+ {+ "expression": "version_company_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_company_version_company_logo_light_idx": {+ "name": "_events_v_version_company_version_company_logo_light_idx",+ "columns": [+ {+ "expression": "version_company_logo_light_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_meta_version_meta_image_idx": {+ "name": "_events_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_updated_at_idx": {+ "name": "_events_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_created_at_idx": {+ "name": "_events_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version__status_idx": {+ "name": "_events_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_created_at_idx": {+ "name": "_events_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_updated_at_idx": {+ "name": "_events_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_latest_idx": {+ "name": "_events_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_autosave_idx": {+ "name": "_events_v_autosave_idx",+ "columns": [+ {+ "expression": "autosave",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_parent_id_events_id_fk": {+ "name": "_events_v_parent_id_events_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_thumb_id_media_id_fk": {+ "name": "_events_v_version_thumb_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_image_id_media_id_fk": {+ "name": "_events_v_version_image_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_company_logo_id_media_id_fk": {+ "name": "_events_v_version_company_logo_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_company_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_company_logo_light_id_media_id_fk": {+ "name": "_events_v_version_company_logo_light_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_company_logo_light_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_meta_image_id_media_id_fk": {+ "name": "_events_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v_rels": {+ "name": "_events_v_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_events_v_rels_order_idx": {+ "name": "_events_v_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_parent_idx": {+ "name": "_events_v_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_path_idx": {+ "name": "_events_v_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_authors_id_idx": {+ "name": "_events_v_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_rels_parent_fk": {+ "name": "_events_v_rels_parent_fk",+ "tableFrom": "_events_v_rels",+ "tableTo": "_events_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_events_v_rels_authors_fk": {+ "name": "_events_v_rels_authors_fk",+ "tableFrom": "_events_v_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.media": {+ "name": "media",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "alt": {+ "name": "alt",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "caption": {+ "name": "caption",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "prefix": {+ "name": "prefix",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false,+ "default": "'media'"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "url": {+ "name": "url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "thumbnail_u_r_l": {+ "name": "thumbnail_u_r_l",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "filename": {+ "name": "filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "mime_type": {+ "name": "mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "filesize": {+ "name": "filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "width": {+ "name": "width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "height": {+ "name": "height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "focal_x": {+ "name": "focal_x",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "focal_y": {+ "name": "focal_y",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_url": {+ "name": "sizes_thumbnail_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_width": {+ "name": "sizes_thumbnail_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_height": {+ "name": "sizes_thumbnail_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_mime_type": {+ "name": "sizes_thumbnail_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_filesize": {+ "name": "sizes_thumbnail_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_filename": {+ "name": "sizes_thumbnail_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_url": {+ "name": "sizes_square_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_width": {+ "name": "sizes_square_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_height": {+ "name": "sizes_square_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_mime_type": {+ "name": "sizes_square_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_filesize": {+ "name": "sizes_square_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_filename": {+ "name": "sizes_square_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_url": {+ "name": "sizes_small_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_width": {+ "name": "sizes_small_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_height": {+ "name": "sizes_small_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_mime_type": {+ "name": "sizes_small_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_filesize": {+ "name": "sizes_small_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_filename": {+ "name": "sizes_small_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_url": {+ "name": "sizes_medium_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_width": {+ "name": "sizes_medium_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_height": {+ "name": "sizes_medium_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_mime_type": {+ "name": "sizes_medium_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_filesize": {+ "name": "sizes_medium_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_filename": {+ "name": "sizes_medium_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_url": {+ "name": "sizes_large_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_width": {+ "name": "sizes_large_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_height": {+ "name": "sizes_large_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_mime_type": {+ "name": "sizes_large_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_filesize": {+ "name": "sizes_large_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_filename": {+ "name": "sizes_large_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_url": {+ "name": "sizes_xlarge_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_width": {+ "name": "sizes_xlarge_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_height": {+ "name": "sizes_xlarge_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_mime_type": {+ "name": "sizes_xlarge_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_filesize": {+ "name": "sizes_xlarge_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_filename": {+ "name": "sizes_xlarge_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_url": {+ "name": "sizes_og_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_width": {+ "name": "sizes_og_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_height": {+ "name": "sizes_og_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_mime_type": {+ "name": "sizes_og_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_filesize": {+ "name": "sizes_og_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_filename": {+ "name": "sizes_og_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "media_updated_at_idx": {+ "name": "media_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_created_at_idx": {+ "name": "media_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_filename_idx": {+ "name": "media_filename_idx",+ "columns": [+ {+ "expression": "filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {+ "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",+ "columns": [+ {+ "expression": "sizes_thumbnail_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_square_sizes_square_filename_idx": {+ "name": "media_sizes_square_sizes_square_filename_idx",+ "columns": [+ {+ "expression": "sizes_square_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_small_sizes_small_filename_idx": {+ "name": "media_sizes_small_sizes_small_filename_idx",+ "columns": [+ {+ "expression": "sizes_small_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_medium_sizes_medium_filename_idx": {+ "name": "media_sizes_medium_sizes_medium_filename_idx",+ "columns": [+ {+ "expression": "sizes_medium_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_large_sizes_large_filename_idx": {+ "name": "media_sizes_large_sizes_large_filename_idx",+ "columns": [+ {+ "expression": "sizes_large_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_xlarge_sizes_xlarge_filename_idx": {+ "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",+ "columns": [+ {+ "expression": "sizes_xlarge_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_og_sizes_og_filename_idx": {+ "name": "media_sizes_og_sizes_og_filename_idx",+ "columns": [+ {+ "expression": "sizes_og_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.posts": {+ "name": "posts",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "thumb_id": {+ "name": "thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "image_id": {+ "name": "image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "launchweek": {+ "name": "launchweek",+ "type": "enum_posts_launchweek",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "reading_time": {+ "name": "reading_time",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "date": {+ "name": "date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "toc_depth": {+ "name": "toc_depth",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 2+ },+ "description": {+ "name": "description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_posts_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "posts_slug_idx": {+ "name": "posts_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_thumb_idx": {+ "name": "posts_thumb_idx",+ "columns": [+ {+ "expression": "thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_image_idx": {+ "name": "posts_image_idx",+ "columns": [+ {+ "expression": "image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_meta_meta_image_idx": {+ "name": "posts_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_updated_at_idx": {+ "name": "posts_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_created_at_idx": {+ "name": "posts_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts__status_idx": {+ "name": "posts__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "posts_thumb_id_media_id_fk": {+ "name": "posts_thumb_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "posts_image_id_media_id_fk": {+ "name": "posts_image_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "posts_meta_image_id_media_id_fk": {+ "name": "posts_meta_image_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.posts_rels": {+ "name": "posts_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "posts_rels_order_idx": {+ "name": "posts_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_parent_idx": {+ "name": "posts_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_path_idx": {+ "name": "posts_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_categories_id_idx": {+ "name": "posts_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_authors_id_idx": {+ "name": "posts_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_tags_id_idx": {+ "name": "posts_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "posts_rels_parent_fk": {+ "name": "posts_rels_parent_fk",+ "tableFrom": "posts_rels",+ "tableTo": "posts",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_categories_fk": {+ "name": "posts_rels_categories_fk",+ "tableFrom": "posts_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_authors_fk": {+ "name": "posts_rels_authors_fk",+ "tableFrom": "posts_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_tags_fk": {+ "name": "posts_rels_tags_fk",+ "tableFrom": "posts_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._posts_v": {+ "name": "_posts_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_thumb_id": {+ "name": "version_thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_image_id": {+ "name": "version_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_launchweek": {+ "name": "version_launchweek",+ "type": "enum__posts_v_version_launchweek",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_reading_time": {+ "name": "version_reading_time",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "version_date": {+ "name": "version_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_toc_depth": {+ "name": "version_toc_depth",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 2+ },+ "version_description": {+ "name": "version_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__posts_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ },+ "autosave": {+ "name": "autosave",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_posts_v_parent_idx": {+ "name": "_posts_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_slug_idx": {+ "name": "_posts_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_thumb_idx": {+ "name": "_posts_v_version_version_thumb_idx",+ "columns": [+ {+ "expression": "version_thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_image_idx": {+ "name": "_posts_v_version_version_image_idx",+ "columns": [+ {+ "expression": "version_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_meta_version_meta_image_idx": {+ "name": "_posts_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_updated_at_idx": {+ "name": "_posts_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_created_at_idx": {+ "name": "_posts_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version__status_idx": {+ "name": "_posts_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_created_at_idx": {+ "name": "_posts_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_updated_at_idx": {+ "name": "_posts_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_latest_idx": {+ "name": "_posts_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_autosave_idx": {+ "name": "_posts_v_autosave_idx",+ "columns": [+ {+ "expression": "autosave",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_posts_v_parent_id_posts_id_fk": {+ "name": "_posts_v_parent_id_posts_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "posts",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_thumb_id_media_id_fk": {+ "name": "_posts_v_version_thumb_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_image_id_media_id_fk": {+ "name": "_posts_v_version_image_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_meta_image_id_media_id_fk": {+ "name": "_posts_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._posts_v_rels": {+ "name": "_posts_v_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_posts_v_rels_order_idx": {+ "name": "_posts_v_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_parent_idx": {+ "name": "_posts_v_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_path_idx": {+ "name": "_posts_v_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_categories_id_idx": {+ "name": "_posts_v_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_authors_id_idx": {+ "name": "_posts_v_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_tags_id_idx": {+ "name": "_posts_v_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_posts_v_rels_parent_fk": {+ "name": "_posts_v_rels_parent_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "_posts_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_categories_fk": {+ "name": "_posts_v_rels_categories_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_authors_fk": {+ "name": "_posts_v_rels_authors_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_tags_fk": {+ "name": "_posts_v_rels_tags_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.tags": {+ "name": "tags",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "tags_updated_at_idx": {+ "name": "tags_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "tags_created_at_idx": {+ "name": "tags_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users_roles": {+ "name": "users_roles",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_users_roles",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "users_roles_order_idx": {+ "name": "users_roles_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_roles_parent_idx": {+ "name": "users_roles_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "users_roles_parent_fk": {+ "name": "users_roles_parent_fk",+ "tableFrom": "users_roles",+ "tableTo": "users",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users_sessions": {+ "name": "users_sessions",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ }+ },+ "indexes": {+ "users_sessions_order_idx": {+ "name": "users_sessions_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_sessions_parent_id_idx": {+ "name": "users_sessions_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "users_sessions_parent_id_fk": {+ "name": "users_sessions_parent_id_fk",+ "tableFrom": "users_sessions",+ "tableTo": "users",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users": {+ "name": "users",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "email": {+ "name": "email",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "reset_password_token": {+ "name": "reset_password_token",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "reset_password_expiration": {+ "name": "reset_password_expiration",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "salt": {+ "name": "salt",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "hash": {+ "name": "hash",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "login_attempts": {+ "name": "login_attempts",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "lock_until": {+ "name": "lock_until",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "users_updated_at_idx": {+ "name": "users_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_created_at_idx": {+ "name": "users_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_email_idx": {+ "name": "users_email_idx",+ "columns": [+ {+ "expression": "email",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_jobs_log": {+ "name": "payload_jobs_log",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "executed_at": {+ "name": "executed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ },+ "completed_at": {+ "name": "completed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ },+ "task_slug": {+ "name": "task_slug",+ "type": "enum_payload_jobs_log_task_slug",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": true+ },+ "task_i_d": {+ "name": "task_i_d",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "input": {+ "name": "input",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "output": {+ "name": "output",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "state": {+ "name": "state",+ "type": "enum_payload_jobs_log_state",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": true+ },+ "error": {+ "name": "error",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_jobs_log_order_idx": {+ "name": "payload_jobs_log_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_log_parent_id_idx": {+ "name": "payload_jobs_log_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_jobs_log_parent_id_fk": {+ "name": "payload_jobs_log_parent_id_fk",+ "tableFrom": "payload_jobs_log",+ "tableTo": "payload_jobs",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_jobs": {+ "name": "payload_jobs",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "input": {+ "name": "input",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "completed_at": {+ "name": "completed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "total_tried": {+ "name": "total_tried",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "has_error": {+ "name": "has_error",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "error": {+ "name": "error",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "task_slug": {+ "name": "task_slug",+ "type": "enum_payload_jobs_task_slug",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "queue": {+ "name": "queue",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false,+ "default": "'default'"+ },+ "wait_until": {+ "name": "wait_until",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "processing": {+ "name": "processing",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_jobs_completed_at_idx": {+ "name": "payload_jobs_completed_at_idx",+ "columns": [+ {+ "expression": "completed_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_total_tried_idx": {+ "name": "payload_jobs_total_tried_idx",+ "columns": [+ {+ "expression": "total_tried",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_has_error_idx": {+ "name": "payload_jobs_has_error_idx",+ "columns": [+ {+ "expression": "has_error",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_task_slug_idx": {+ "name": "payload_jobs_task_slug_idx",+ "columns": [+ {+ "expression": "task_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_queue_idx": {+ "name": "payload_jobs_queue_idx",+ "columns": [+ {+ "expression": "queue",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_wait_until_idx": {+ "name": "payload_jobs_wait_until_idx",+ "columns": [+ {+ "expression": "wait_until",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_processing_idx": {+ "name": "payload_jobs_processing_idx",+ "columns": [+ {+ "expression": "processing",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_updated_at_idx": {+ "name": "payload_jobs_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_created_at_idx": {+ "name": "payload_jobs_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_locked_documents": {+ "name": "payload_locked_documents",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "global_slug": {+ "name": "global_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_locked_documents_global_slug_idx": {+ "name": "payload_locked_documents_global_slug_idx",+ "columns": [+ {+ "expression": "global_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_updated_at_idx": {+ "name": "payload_locked_documents_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_created_at_idx": {+ "name": "payload_locked_documents_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_locked_documents_rels": {+ "name": "payload_locked_documents_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "customers_id": {+ "name": "customers_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "events_id": {+ "name": "events_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "media_id": {+ "name": "media_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "posts_id": {+ "name": "posts_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "users_id": {+ "name": "users_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "payload_jobs_id": {+ "name": "payload_jobs_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_locked_documents_rels_order_idx": {+ "name": "payload_locked_documents_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_parent_idx": {+ "name": "payload_locked_documents_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_path_idx": {+ "name": "payload_locked_documents_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_authors_id_idx": {+ "name": "payload_locked_documents_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_categories_id_idx": {+ "name": "payload_locked_documents_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_customers_id_idx": {+ "name": "payload_locked_documents_rels_customers_id_idx",+ "columns": [+ {+ "expression": "customers_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_events_id_idx": {+ "name": "payload_locked_documents_rels_events_id_idx",+ "columns": [+ {+ "expression": "events_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_media_id_idx": {+ "name": "payload_locked_documents_rels_media_id_idx",+ "columns": [+ {+ "expression": "media_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_posts_id_idx": {+ "name": "payload_locked_documents_rels_posts_id_idx",+ "columns": [+ {+ "expression": "posts_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_tags_id_idx": {+ "name": "payload_locked_documents_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_users_id_idx": {+ "name": "payload_locked_documents_rels_users_id_idx",+ "columns": [+ {+ "expression": "users_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_payload_jobs_id_idx": {+ "name": "payload_locked_documents_rels_payload_jobs_id_idx",+ "columns": [+ {+ "expression": "payload_jobs_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_locked_documents_rels_parent_fk": {+ "name": "payload_locked_documents_rels_parent_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "payload_locked_documents",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_authors_fk": {+ "name": "payload_locked_documents_rels_authors_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_categories_fk": {+ "name": "payload_locked_documents_rels_categories_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_customers_fk": {+ "name": "payload_locked_documents_rels_customers_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "customers",+ "columnsFrom": [+ "customers_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_events_fk": {+ "name": "payload_locked_documents_rels_events_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "events",+ "columnsFrom": [+ "events_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_media_fk": {+ "name": "payload_locked_documents_rels_media_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "media",+ "columnsFrom": [+ "media_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_posts_fk": {+ "name": "payload_locked_documents_rels_posts_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "posts",+ "columnsFrom": [+ "posts_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_tags_fk": {+ "name": "payload_locked_documents_rels_tags_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_users_fk": {+ "name": "payload_locked_documents_rels_users_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "users",+ "columnsFrom": [+ "users_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_payload_jobs_fk": {+ "name": "payload_locked_documents_rels_payload_jobs_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "payload_jobs",+ "columnsFrom": [+ "payload_jobs_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_preferences": {+ "name": "payload_preferences",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "key": {+ "name": "key",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "value": {+ "name": "value",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_preferences_key_idx": {+ "name": "payload_preferences_key_idx",+ "columns": [+ {+ "expression": "key",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_updated_at_idx": {+ "name": "payload_preferences_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_created_at_idx": {+ "name": "payload_preferences_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_preferences_rels": {+ "name": "payload_preferences_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "users_id": {+ "name": "users_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_preferences_rels_order_idx": {+ "name": "payload_preferences_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_parent_idx": {+ "name": "payload_preferences_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_path_idx": {+ "name": "payload_preferences_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_users_id_idx": {+ "name": "payload_preferences_rels_users_id_idx",+ "columns": [+ {+ "expression": "users_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_preferences_rels_parent_fk": {+ "name": "payload_preferences_rels_parent_fk",+ "tableFrom": "payload_preferences_rels",+ "tableTo": "payload_preferences",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_preferences_rels_users_fk": {+ "name": "payload_preferences_rels_users_fk",+ "tableFrom": "payload_preferences_rels",+ "tableTo": "users",+ "columnsFrom": [+ "users_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_migrations": {+ "name": "payload_migrations",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "batch": {+ "name": "batch",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_migrations_updated_at_idx": {+ "name": "payload_migrations_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_migrations_created_at_idx": {+ "name": "payload_migrations_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ }+ },+ "enums": {+ "public.enum_customers_industry": {+ "name": "enum_customers_industry",+ "schema": "public",+ "values": [+ "healthcare",+ "fintech",+ "ecommerce",+ "education",+ "gaming",+ "media",+ "real-estate",+ "saas",+ "social",+ "analytics",+ "ai",+ "developer-tools"+ ]+ },+ "public.enum_customers_supabase_products": {+ "name": "enum_customers_supabase_products",+ "schema": "public",+ "values": [+ "database",+ "auth",+ "storage",+ "realtime",+ "functions",+ "vector"+ ]+ },+ "public.enum_customers_company_size": {+ "name": "enum_customers_company_size",+ "schema": "public",+ "values": [+ "startup",+ "enterprise",+ "indie_dev"+ ]+ },+ "public.enum_customers_region": {+ "name": "enum_customers_region",+ "schema": "public",+ "values": [+ "Asia",+ "Europe",+ "North America",+ "South America",+ "Africa",+ "Oceania"+ ]+ },+ "public.enum_customers_status": {+ "name": "enum_customers_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__customers_v_version_industry": {+ "name": "enum__customers_v_version_industry",+ "schema": "public",+ "values": [+ "healthcare",+ "fintech",+ "ecommerce",+ "education",+ "gaming",+ "media",+ "real-estate",+ "saas",+ "social",+ "analytics",+ "ai",+ "developer-tools"+ ]+ },+ "public.enum__customers_v_version_supabase_products": {+ "name": "enum__customers_v_version_supabase_products",+ "schema": "public",+ "values": [+ "database",+ "auth",+ "storage",+ "realtime",+ "functions",+ "vector"+ ]+ },+ "public.enum__customers_v_version_company_size": {+ "name": "enum__customers_v_version_company_size",+ "schema": "public",+ "values": [+ "startup",+ "enterprise",+ "indie_dev"+ ]+ },+ "public.enum__customers_v_version_region": {+ "name": "enum__customers_v_version_region",+ "schema": "public",+ "values": [+ "Asia",+ "Europe",+ "North America",+ "South America",+ "Africa",+ "Oceania"+ ]+ },+ "public.enum__customers_v_version_status": {+ "name": "enum__customers_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_events_type": {+ "name": "enum_events_type",+ "schema": "public",+ "values": [+ "conference",+ "hackathon",+ "launch-week",+ "meetup",+ "office-hours",+ "talk",+ "webinar",+ "workshop",+ "other"+ ]+ },+ "public.enum_events_timezone": {+ "name": "enum_events_timezone",+ "schema": "public",+ "values": [+ "Africa/Abidjan",+ "Africa/Accra",+ "Africa/Addis_Ababa",+ "Africa/Algiers",+ "Africa/Asmara",+ "Africa/Bamako",+ "Africa/Bangui",+ "Africa/Banjul",+ "Africa/Bissau",+ "Africa/Blantyre",+ "Africa/Brazzaville",+ "Africa/Bujumbura",+ "Africa/Cairo",+ "Africa/Casablanca",+ "Africa/Ceuta",+ "Africa/Conakry",+ "Africa/Dakar",+ "Africa/Dar_es_Salaam",+ "Africa/Djibouti",+ "Africa/Douala",+ "Africa/El_Aaiun",+ "Africa/Freetown",+ "Africa/Gaborone",+ "Africa/Harare",+ "Africa/Johannesburg",+ "Africa/Juba",+ "Africa/Kampala",+ "Africa/Khartoum",+ "Africa/Kigali",+ "Africa/Kinshasa",+ "Africa/Lagos",+ "Africa/Libreville",+ "Africa/Lome",+ "Africa/Luanda",+ "Africa/Lubumbashi",+ "Africa/Lusaka",+ "Africa/Malabo",+ "Africa/Maputo",+ "Africa/Maseru",+ "Africa/Mbabane",+ "Africa/Mogadishu",+ "Africa/Monrovia",+ "Africa/Nairobi",+ "Africa/Ndjamena",+ "Africa/Niamey",+ "Africa/Nouakchott",+ "Africa/Ouagadougou",+ "Africa/Porto-Novo",+ "Africa/Sao_Tome",+ "Africa/Tripoli",+ "Africa/Tunis",+ "Africa/Windhoek",+ "America/Adak",+ "America/Anchorage",+ "America/Anguilla",+ "America/Antigua",+ "America/Araguaina",+ "America/Argentina/Buenos_Aires",+ "America/Argentina/Catamarca",+ "America/Argentina/Cordoba",+ "America/Argentina/Jujuy",+ "America/Argentina/La_Rioja",+ "America/Argentina/Mendoza",+ "America/Argentina/Rio_Gallegos",+ "America/Argentina/Salta",+ "America/Argentina/San_Juan",+ "America/Argentina/San_Luis",+ "America/Argentina/Tucuman",+ "America/Argentina/Ushuaia",+ "America/Aruba",+ "America/Asuncion",+ "America/Atikokan",+ "America/Bahia",+ "America/Bahia_Banderas",+ "America/Barbados",+ "America/Belem",+ "America/Belize",+ "America/Blanc-Sablon",+ "America/Boa_Vista",+ "America/Bogota",+ "America/Boise",+ "America/Cambridge_Bay",+ "America/Campo_Grande",+ "America/Cancun",+ "America/Caracas",+ "America/Cayenne",+ "America/Cayman",+ "America/Chicago",+ "America/Chihuahua",+ "America/Costa_Rica",+ "America/Creston",+ "America/Cuiaba",+ "America/Curacao",+ "America/Danmarkshavn",+ "America/Dawson",+ "America/Dawson_Creek",+ "America/Denver",+ "America/Detroit",+ "America/Dominica",+ "America/Edmonton",+ "America/Eirunepe",+ "America/El_Salvador",+ "America/Fort_Nelson",+ "America/Fortaleza",+ "America/Glace_Bay",+ "America/Godthab",+ "America/Goose_Bay",+ "America/Grand_Turk",+ "America/Grenada",+ "America/Guadeloupe",+ "America/Guatemala",+ "America/Guayaquil",+ "America/Guyana",+ "America/Halifax",+ "America/Havana",+ "America/Hermosillo",+ "America/Indiana/Indianapolis",+ "America/Indiana/Knox",+ "America/Indiana/Marengo",+ "America/Indiana/Petersburg",+ "America/Indiana/Tell_City",+ "America/Indiana/Vevay",+ "America/Indiana/Vincennes",+ "America/Indiana/Winamac",+ "America/Inuvik",+ "America/Iqaluit",+ "America/Jamaica",+ "America/Juneau",+ "America/Kentucky/Louisville",+ "America/Kentucky/Monticello",+ "America/Kralendijk",+ "America/La_Paz",+ "America/Lima",+ "America/Los_Angeles",+ "America/Lower_Princes",+ "America/Maceio",+ "America/Managua",+ "America/Manaus",+ "America/Marigot",+ "America/Martinique",+ "America/Matamoros",+ "America/Mazatlan",+ "America/Menominee",+ "America/Merida",+ "America/Metlakatla",+ "America/Mexico_City",+ "America/Miquelon",+ "America/Moncton",+ "America/Monterrey",+ "America/Montevideo",+ "America/Montserrat",+ "America/Nassau",+ "America/New_York",+ "America/Nipigon",+ "America/Nome",+ "America/Noronha",+ "America/North_Dakota/Beulah",+ "America/North_Dakota/Center",+ "America/North_Dakota/New_Salem",+ "America/Ojinaga",+ "America/Panama",+ "America/Pangnirtung",+ "America/Paramaribo",+ "America/Phoenix",+ "America/Port-au-Prince",+ "America/Port_of_Spain",+ "America/Porto_Velho",+ "America/Puerto_Rico",+ "America/Punta_Arenas",+ "America/Rainy_River",+ "America/Rankin_Inlet",+ "America/Recife",+ "America/Regina",+ "America/Resolute",+ "America/Rio_Branco",+ "America/Santarem",+ "America/Santiago",+ "America/Santo_Domingo",+ "America/Sao_Paulo",+ "America/Scoresbysund",+ "America/Sitka",+ "America/St_Barthelemy",+ "America/St_Johns",+ "America/St_Kitts",+ "America/St_Lucia",+ "America/St_Thomas",+ "America/St_Vincent",+ "America/Swift_Current",+ "America/Tegucigalpa",+ "America/Thule",+ "America/Thunder_Bay",+ "America/Tijuana",+ "America/Toronto",+ "America/Tortola",+ "America/Vancouver",+ "America/Whitehorse",+ "America/Winnipeg",+ "America/Yakutat",+ "America/Yellowknife",+ "Antarctica/Casey",+ "Antarctica/Davis",+ "Antarctica/DumontDUrville",+ "Antarctica/Macquarie",+ "Antarctica/Mawson",+ "Antarctica/McMurdo",+ "Antarctica/Palmer",+ "Antarctica/Rothera",+ "Antarctica/Syowa",+ "Antarctica/Troll",+ "Antarctica/Vostok",+ "Arctic/Longyearbyen",+ "Asia/Aden",+ "Asia/Almaty",+ "Asia/Amman",+ "Asia/Anadyr",+ "Asia/Aqtau",+ "Asia/Aqtobe",+ "Asia/Ashgabat",+ "Asia/Atyrau",+ "Asia/Baghdad",+ "Asia/Bahrain",+ "Asia/Baku",+ "Asia/Bangkok",+ "Asia/Barnaul",+ "Asia/Beirut",+ "Asia/Bishkek",+ "Asia/Brunei",+ "Asia/Chita",+ "Asia/Choibalsan",+ "Asia/Colombo",+ "Asia/Damascus",+ "Asia/Dhaka",+ "Asia/Dili",+ "Asia/Dubai",+ "Asia/Dushanbe",+ "Asia/Famagusta",+ "Asia/Gaza",+ "Asia/Hebron",+ "Asia/Ho_Chi_Minh",+ "Asia/Hong_Kong",+ "Asia/Hovd",+ "Asia/Irkutsk",+ "Asia/Istanbul",+ "Asia/Jakarta",+ "Asia/Jayapura",+ "Asia/Jerusalem",+ "Asia/Kabul",+ "Asia/Kamchatka",+ "Asia/Karachi",+ "Asia/Kathmandu",+ "Asia/Khandyga",+ "Asia/Kolkata",+ "Asia/Krasnoyarsk",+ "Asia/Kuala_Lumpur",+ "Asia/Kuching",+ "Asia/Kuwait",+ "Asia/Macau",+ "Asia/Magadan",+ "Asia/Makassar",+ "Asia/Manila",+ "Asia/Muscat",+ "Asia/Nicosia",+ "Asia/Novokuznetsk",+ "Asia/Novosibirsk",+ "Asia/Omsk",+ "Asia/Oral",+ "Asia/Phnom_Penh",+ "Asia/Pontianak",+ "Asia/Pyongyang",+ "Asia/Qatar",+ "Asia/Qostanay",+ "Asia/Qyzylorda",+ "Asia/Riyadh",+ "Asia/Sakhalin",+ "Asia/Samarkand",+ "Asia/Seoul",+ "Asia/Shanghai",+ "Asia/Singapore",+ "Asia/Srednekolymsk",+ "Asia/Taipei",+ "Asia/Tashkent",+ "Asia/Tbilisi",+ "Asia/Tehran",+ "Asia/Thimphu",+ "Asia/Tokyo",+ "Asia/Tomsk",+ "Asia/Ulaanbaatar",+ "Asia/Urumqi",+ "Asia/Ust-Nera",+ "Asia/Vientiane",+ "Asia/Vladivostok",+ "Asia/Yakutsk",+ "Asia/Yangon",+ "Asia/Yekaterinburg",+ "Asia/Yerevan",+ "Atlantic/Azores",+ "Atlantic/Bermuda",+ "Atlantic/Canary",+ "Atlantic/Cape_Verde",+ "Atlantic/Faroe",+ "Atlantic/Madeira",+ "Atlantic/Reykjavik",+ "Atlantic/South_Georgia",+ "Atlantic/St_Helena",+ "Atlantic/Stanley",+ "Australia/Adelaide",+ "Australia/Brisbane",+ "Australia/Broken_Hill",+ "Australia/Currie",+ "Australia/Darwin",+ "Australia/Eucla",+ "Australia/Hobart",+ "Australia/Lindeman",+ "Australia/Lord_Howe",+ "Australia/Melbourne",+ "Australia/Perth",+ "Australia/Sydney",+ "Europe/Amsterdam",+ "Europe/Andorra",+ "Europe/Astrakhan",+ "Europe/Athens",+ "Europe/Belgrade",+ "Europe/Berlin",+ "Europe/Bratislava",+ "Europe/Brussels",+ "Europe/Bucharest",+ "Europe/Budapest",+ "Europe/Busingen",+ "Europe/Chisinau",+ "Europe/Copenhagen",+ "Europe/Dublin",+ "Europe/Gibraltar",+ "Europe/Guernsey",+ "Europe/Helsinki",+ "Europe/Isle_of_Man",+ "Europe/Istanbul",+ "Europe/Jersey",+ "Europe/Kaliningrad",+ "Europe/Kiev",+ "Europe/Kirov",+ "Europe/Lisbon",+ "Europe/Ljubljana",+ "Europe/London",+ "Europe/Luxembourg",+ "Europe/Madrid",+ "Europe/Malta",+ "Europe/Mariehamn",+ "Europe/Minsk",+ "Europe/Monaco",+ "Europe/Moscow",+ "Europe/Oslo",+ "Europe/Paris",+ "Europe/Podgorica",+ "Europe/Prague",+ "Europe/Riga",+ "Europe/Rome",+ "Europe/Samara",+ "Europe/San_Marino",+ "Europe/Sarajevo",+ "Europe/Saratov",+ "Europe/Simferopol",+ "Europe/Skopje",+ "Europe/Sofia",+ "Europe/Stockholm",+ "Europe/Tallinn",+ "Europe/Tirane",+ "Europe/Ulyanovsk",+ "Europe/Uzhgorod",+ "Europe/Vaduz",+ "Europe/Vatican",+ "Europe/Vienna",+ "Europe/Vilnius",+ "Europe/Volgograd",+ "Europe/Warsaw",+ "Europe/Zagreb",+ "Europe/Zaporozhye",+ "Europe/Zurich",+ "Indian/Antananarivo",+ "Indian/Chagos",+ "Indian/Christmas",+ "Indian/Cocos",+ "Indian/Comoro",+ "Indian/Kerguelen",+ "Indian/Mahe",+ "Indian/Maldives",+ "Indian/Mauritius",+ "Indian/Mayotte",+ "Indian/Reunion",+ "Pacific/Apia",+ "Pacific/Auckland",+ "Pacific/Bougainville",+ "Pacific/Chatham",+ "Pacific/Chuuk",+ "Pacific/Easter",+ "Pacific/Efate",+ "Pacific/Enderbury",+ "Pacific/Fakaofo",+ "Pacific/Fiji",+ "Pacific/Funafuti",+ "Pacific/Galapagos",+ "Pacific/Gambier",+ "Pacific/Guadalcanal",+ "Pacific/Guam",+ "Pacific/Honolulu",+ "Pacific/Kiritimati",+ "Pacific/Kosrae",+ "Pacific/Kwajalein",+ "Pacific/Majuro",+ "Pacific/Marquesas",+ "Pacific/Midway",+ "Pacific/Nauru",+ "Pacific/Niue",+ "Pacific/Norfolk",+ "Pacific/Noumea",+ "Pacific/Pago_Pago",+ "Pacific/Palau",+ "Pacific/Pitcairn",+ "Pacific/Pohnpei",+ "Pacific/Port_Moresby",+ "Pacific/Rarotonga",+ "Pacific/Saipan",+ "Pacific/Tahiti",+ "Pacific/Tarawa",+ "Pacific/Tongatapu",+ "Pacific/Wake",+ "Pacific/Wallis",+ "UTC"+ ]+ },+ "public.enum_events_link_target": {+ "name": "enum_events_link_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum_events_main_cta_target": {+ "name": "enum_events_main_cta_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum_events_status": {+ "name": "enum_events_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__events_v_version_type": {+ "name": "enum__events_v_version_type",+ "schema": "public",+ "values": [+ "conference",+ "hackathon",+ "launch-week",+ "meetup",+ "office-hours",+ "talk",+ "webinar",+ "workshop",+ "other"+ ]+ },+ "public.enum__events_v_version_timezone": {+ "name": "enum__events_v_version_timezone",+ "schema": "public",+ "values": [+ "Africa/Abidjan",+ "Africa/Accra",+ "Africa/Addis_Ababa",+ "Africa/Algiers",+ "Africa/Asmara",+ "Africa/Bamako",+ "Africa/Bangui",+ "Africa/Banjul",+ "Africa/Bissau",+ "Africa/Blantyre",+ "Africa/Brazzaville",+ "Africa/Bujumbura",+ "Africa/Cairo",+ "Africa/Casablanca",+ "Africa/Ceuta",+ "Africa/Conakry",+ "Africa/Dakar",+ "Africa/Dar_es_Salaam",+ "Africa/Djibouti",+ "Africa/Douala",+ "Africa/El_Aaiun",+ "Africa/Freetown",+ "Africa/Gaborone",+ "Africa/Harare",+ "Africa/Johannesburg",+ "Africa/Juba",+ "Africa/Kampala",+ "Africa/Khartoum",+ "Africa/Kigali",+ "Africa/Kinshasa",+ "Africa/Lagos",+ "Africa/Libreville",+ "Africa/Lome",+ "Africa/Luanda",+ "Africa/Lubumbashi",+ "Africa/Lusaka",+ "Africa/Malabo",+ "Africa/Maputo",+ "Africa/Maseru",+ "Africa/Mbabane",+ "Africa/Mogadishu",+ "Africa/Monrovia",+ "Africa/Nairobi",+ "Africa/Ndjamena",+ "Africa/Niamey",+ "Africa/Nouakchott",+ "Africa/Ouagadougou",+ "Africa/Porto-Novo",+ "Africa/Sao_Tome",+ "Africa/Tripoli",+ "Africa/Tunis",+ "Africa/Windhoek",+ "America/Adak",+ "America/Anchorage",+ "America/Anguilla",+ "America/Antigua",+ "America/Araguaina",+ "America/Argentina/Buenos_Aires",+ "America/Argentina/Catamarca",+ "America/Argentina/Cordoba",+ "America/Argentina/Jujuy",+ "America/Argentina/La_Rioja",+ "America/Argentina/Mendoza",+ "America/Argentina/Rio_Gallegos",+ "America/Argentina/Salta",+ "America/Argentina/San_Juan",+ "America/Argentina/San_Luis",+ "America/Argentina/Tucuman",+ "America/Argentina/Ushuaia",+ "America/Aruba",+ "America/Asuncion",+ "America/Atikokan",+ "America/Bahia",+ "America/Bahia_Banderas",+ "America/Barbados",+ "America/Belem",+ "America/Belize",+ "America/Blanc-Sablon",+ "America/Boa_Vista",+ "America/Bogota",+ "America/Boise",+ "America/Cambridge_Bay",+ "America/Campo_Grande",+ "America/Cancun",+ "America/Caracas",+ "America/Cayenne",+ "America/Cayman",+ "America/Chicago",+ "America/Chihuahua",+ "America/Costa_Rica",+ "America/Creston",+ "America/Cuiaba",+ "America/Curacao",+ "America/Danmarkshavn",+ "America/Dawson",+ "America/Dawson_Creek",+ "America/Denver",+ "America/Detroit",+ "America/Dominica",+ "America/Edmonton",+ "America/Eirunepe",+ "America/El_Salvador",+ "America/Fort_Nelson",+ "America/Fortaleza",+ "America/Glace_Bay",+ "America/Godthab",+ "America/Goose_Bay",+ "America/Grand_Turk",+ "America/Grenada",+ "America/Guadeloupe",+ "America/Guatemala",+ "America/Guayaquil",+ "America/Guyana",+ "America/Halifax",+ "America/Havana",+ "America/Hermosillo",+ "America/Indiana/Indianapolis",+ "America/Indiana/Knox",+ "America/Indiana/Marengo",+ "America/Indiana/Petersburg",+ "America/Indiana/Tell_City",+ "America/Indiana/Vevay",+ "America/Indiana/Vincennes",+ "America/Indiana/Winamac",+ "America/Inuvik",+ "America/Iqaluit",+ "America/Jamaica",+ "America/Juneau",+ "America/Kentucky/Louisville",+ "America/Kentucky/Monticello",+ "America/Kralendijk",+ "America/La_Paz",+ "America/Lima",+ "America/Los_Angeles",+ "America/Lower_Princes",+ "America/Maceio",+ "America/Managua",+ "America/Manaus",+ "America/Marigot",+ "America/Martinique",+ "America/Matamoros",+ "America/Mazatlan",+ "America/Menominee",+ "America/Merida",+ "America/Metlakatla",+ "America/Mexico_City",+ "America/Miquelon",+ "America/Moncton",+ "America/Monterrey",+ "America/Montevideo",+ "America/Montserrat",+ "America/Nassau",+ "America/New_York",+ "America/Nipigon",+ "America/Nome",+ "America/Noronha",+ "America/North_Dakota/Beulah",+ "America/North_Dakota/Center",+ "America/North_Dakota/New_Salem",+ "America/Ojinaga",+ "America/Panama",+ "America/Pangnirtung",+ "America/Paramaribo",+ "America/Phoenix",+ "America/Port-au-Prince",+ "America/Port_of_Spain",+ "America/Porto_Velho",+ "America/Puerto_Rico",+ "America/Punta_Arenas",+ "America/Rainy_River",+ "America/Rankin_Inlet",+ "America/Recife",+ "America/Regina",+ "America/Resolute",+ "America/Rio_Branco",+ "America/Santarem",+ "America/Santiago",+ "America/Santo_Domingo",+ "America/Sao_Paulo",+ "America/Scoresbysund",+ "America/Sitka",+ "America/St_Barthelemy",+ "America/St_Johns",+ "America/St_Kitts",+ "America/St_Lucia",+ "America/St_Thomas",+ "America/St_Vincent",+ "America/Swift_Current",+ "America/Tegucigalpa",+ "America/Thule",+ "America/Thunder_Bay",+ "America/Tijuana",+ "America/Toronto",+ "America/Tortola",+ "America/Vancouver",+ "America/Whitehorse",+ "America/Winnipeg",+ "America/Yakutat",+ "America/Yellowknife",+ "Antarctica/Casey",+ "Antarctica/Davis",+ "Antarctica/DumontDUrville",+ "Antarctica/Macquarie",+ "Antarctica/Mawson",+ "Antarctica/McMurdo",+ "Antarctica/Palmer",+ "Antarctica/Rothera",+ "Antarctica/Syowa",+ "Antarctica/Troll",+ "Antarctica/Vostok",+ "Arctic/Longyearbyen",+ "Asia/Aden",+ "Asia/Almaty",+ "Asia/Amman",+ "Asia/Anadyr",+ "Asia/Aqtau",+ "Asia/Aqtobe",+ "Asia/Ashgabat",+ "Asia/Atyrau",+ "Asia/Baghdad",+ "Asia/Bahrain",+ "Asia/Baku",+ "Asia/Bangkok",+ "Asia/Barnaul",+ "Asia/Beirut",+ "Asia/Bishkek",+ "Asia/Brunei",+ "Asia/Chita",+ "Asia/Choibalsan",+ "Asia/Colombo",+ "Asia/Damascus",+ "Asia/Dhaka",+ "Asia/Dili",+ "Asia/Dubai",+ "Asia/Dushanbe",+ "Asia/Famagusta",+ "Asia/Gaza",+ "Asia/Hebron",+ "Asia/Ho_Chi_Minh",+ "Asia/Hong_Kong",+ "Asia/Hovd",+ "Asia/Irkutsk",+ "Asia/Istanbul",+ "Asia/Jakarta",+ "Asia/Jayapura",+ "Asia/Jerusalem",+ "Asia/Kabul",+ "Asia/Kamchatka",+ "Asia/Karachi",+ "Asia/Kathmandu",+ "Asia/Khandyga",+ "Asia/Kolkata",+ "Asia/Krasnoyarsk",+ "Asia/Kuala_Lumpur",+ "Asia/Kuching",+ "Asia/Kuwait",+ "Asia/Macau",+ "Asia/Magadan",+ "Asia/Makassar",+ "Asia/Manila",+ "Asia/Muscat",+ "Asia/Nicosia",+ "Asia/Novokuznetsk",+ "Asia/Novosibirsk",+ "Asia/Omsk",+ "Asia/Oral",+ "Asia/Phnom_Penh",+ "Asia/Pontianak",+ "Asia/Pyongyang",+ "Asia/Qatar",+ "Asia/Qostanay",+ "Asia/Qyzylorda",+ "Asia/Riyadh",+ "Asia/Sakhalin",+ "Asia/Samarkand",+ "Asia/Seoul",+ "Asia/Shanghai",+ "Asia/Singapore",+ "Asia/Srednekolymsk",+ "Asia/Taipei",+ "Asia/Tashkent",+ "Asia/Tbilisi",+ "Asia/Tehran",+ "Asia/Thimphu",+ "Asia/Tokyo",+ "Asia/Tomsk",+ "Asia/Ulaanbaatar",+ "Asia/Urumqi",+ "Asia/Ust-Nera",+ "Asia/Vientiane",+ "Asia/Vladivostok",+ "Asia/Yakutsk",+ "Asia/Yangon",+ "Asia/Yekaterinburg",+ "Asia/Yerevan",+ "Atlantic/Azores",+ "Atlantic/Bermuda",+ "Atlantic/Canary",+ "Atlantic/Cape_Verde",+ "Atlantic/Faroe",+ "Atlantic/Madeira",+ "Atlantic/Reykjavik",+ "Atlantic/South_Georgia",+ "Atlantic/St_Helena",+ "Atlantic/Stanley",+ "Australia/Adelaide",+ "Australia/Brisbane",+ "Australia/Broken_Hill",+ "Australia/Currie",+ "Australia/Darwin",+ "Australia/Eucla",+ "Australia/Hobart",+ "Australia/Lindeman",+ "Australia/Lord_Howe",+ "Australia/Melbourne",+ "Australia/Perth",+ "Australia/Sydney",+ "Europe/Amsterdam",+ "Europe/Andorra",+ "Europe/Astrakhan",+ "Europe/Athens",+ "Europe/Belgrade",+ "Europe/Berlin",+ "Europe/Bratislava",+ "Europe/Brussels",+ "Europe/Bucharest",+ "Europe/Budapest",+ "Europe/Busingen",+ "Europe/Chisinau",+ "Europe/Copenhagen",+ "Europe/Dublin",+ "Europe/Gibraltar",+ "Europe/Guernsey",+ "Europe/Helsinki",+ "Europe/Isle_of_Man",+ "Europe/Istanbul",+ "Europe/Jersey",+ "Europe/Kaliningrad",+ "Europe/Kiev",+ "Europe/Kirov",+ "Europe/Lisbon",+ "Europe/Ljubljana",+ "Europe/London",+ "Europe/Luxembourg",+ "Europe/Madrid",+ "Europe/Malta",+ "Europe/Mariehamn",+ "Europe/Minsk",+ "Europe/Monaco",+ "Europe/Moscow",+ "Europe/Oslo",+ "Europe/Paris",+ "Europe/Podgorica",+ "Europe/Prague",+ "Europe/Riga",+ "Europe/Rome",+ "Europe/Samara",+ "Europe/San_Marino",+ "Europe/Sarajevo",+ "Europe/Saratov",+ "Europe/Simferopol",+ "Europe/Skopje",+ "Europe/Sofia",+ "Europe/Stockholm",+ "Europe/Tallinn",+ "Europe/Tirane",+ "Europe/Ulyanovsk",+ "Europe/Uzhgorod",+ "Europe/Vaduz",+ "Europe/Vatican",+ "Europe/Vienna",+ "Europe/Vilnius",+ "Europe/Volgograd",+ "Europe/Warsaw",+ "Europe/Zagreb",+ "Europe/Zaporozhye",+ "Europe/Zurich",+ "Indian/Antananarivo",+ "Indian/Chagos",+ "Indian/Christmas",+ "Indian/Cocos",+ "Indian/Comoro",+ "Indian/Kerguelen",+ "Indian/Mahe",+ "Indian/Maldives",+ "Indian/Mauritius",+ "Indian/Mayotte",+ "Indian/Reunion",+ "Pacific/Apia",+ "Pacific/Auckland",+ "Pacific/Bougainville",+ "Pacific/Chatham",+ "Pacific/Chuuk",+ "Pacific/Easter",+ "Pacific/Efate",+ "Pacific/Enderbury",+ "Pacific/Fakaofo",+ "Pacific/Fiji",+ "Pacific/Funafuti",+ "Pacific/Galapagos",+ "Pacific/Gambier",+ "Pacific/Guadalcanal",+ "Pacific/Guam",+ "Pacific/Honolulu",+ "Pacific/Kiritimati",+ "Pacific/Kosrae",+ "Pacific/Kwajalein",+ "Pacific/Majuro",+ "Pacific/Marquesas",+ "Pacific/Midway",+ "Pacific/Nauru",+ "Pacific/Niue",+ "Pacific/Norfolk",+ "Pacific/Noumea",+ "Pacific/Pago_Pago",+ "Pacific/Palau",+ "Pacific/Pitcairn",+ "Pacific/Pohnpei",+ "Pacific/Port_Moresby",+ "Pacific/Rarotonga",+ "Pacific/Saipan",+ "Pacific/Tahiti",+ "Pacific/Tarawa",+ "Pacific/Tongatapu",+ "Pacific/Wake",+ "Pacific/Wallis",+ "UTC"+ ]+ },+ "public.enum__events_v_version_link_target": {+ "name": "enum__events_v_version_link_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum__events_v_version_main_cta_target": {+ "name": "enum__events_v_version_main_cta_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum__events_v_version_status": {+ "name": "enum__events_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_posts_launchweek": {+ "name": "enum_posts_launchweek",+ "schema": "public",+ "values": [+ "6",+ "7",+ "8",+ "x",+ "ga",+ "12",+ "13",+ "14",+ "15"+ ]+ },+ "public.enum_posts_status": {+ "name": "enum_posts_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__posts_v_version_launchweek": {+ "name": "enum__posts_v_version_launchweek",+ "schema": "public",+ "values": [+ "6",+ "7",+ "8",+ "x",+ "ga",+ "12",+ "13",+ "14",+ "15"+ ]+ },+ "public.enum__posts_v_version_status": {+ "name": "enum__posts_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_users_roles": {+ "name": "enum_users_roles",+ "schema": "public",+ "values": [+ "admin",+ "editor"+ ]+ },+ "public.enum_payload_jobs_log_task_slug": {+ "name": "enum_payload_jobs_log_task_slug",+ "schema": "public",+ "values": [+ "inline",+ "schedulePublish"+ ]+ },+ "public.enum_payload_jobs_log_state": {+ "name": "enum_payload_jobs_log_state",+ "schema": "public",+ "values": [+ "failed",+ "succeeded"+ ]+ },+ "public.enum_payload_jobs_task_slug": {+ "name": "enum_payload_jobs_task_slug",+ "schema": "public",+ "values": [+ "inline",+ "schedulePublish"+ ]+ }+ },+ "schemas": {},+ "sequences": {},+ "roles": {},+ "policies": {},+ "views": {},+ "_meta": {+ "schemas": {},+ "tables": {},+ "columns": {}+ }+}\ No newline at end of filediff --git a/apps/cms/src/migrations/20250819_222013_update_authors.ts b/apps/cms/src/migrations/20250819_222013_update_authors.tsnew file mode 100644index 00000000000..3c28a831af4--- /dev/null+++ b/apps/cms/src/migrations/20250819_222013_update_authors.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`+ ALTER TABLE "authors" ALTER COLUMN "author_id" SET NOT NULL;+ ALTER TABLE "authors" ADD COLUMN "company" varchar;+ CREATE UNIQUE INDEX "authors_author_id_idx" ON "authors" USING btree ("author_id");`)+}++export async function down({ db }: MigrateDownArgs): Promise<void> {+ await db.execute(sql`+ DROP INDEX "authors_author_id_idx";+ ALTER TABLE "authors" ALTER COLUMN "author_id" DROP NOT NULL;+ ALTER TABLE "authors" DROP COLUMN "company";`)+}diff --git a/apps/cms/src/migrations/20250821_151248.json b/apps/cms/src/migrations/20250821_151248.jsonnew file mode 100644index 00000000000..fc0efaefc1d--- /dev/null+++ b/apps/cms/src/migrations/20250821_151248.json@@ -0,0 +1,7514 @@+{+ "id": "9e624fb0-c718-4405-9665-30ad4959d42e",+ "prevId": "00000000-0000-0000-0000-000000000000",+ "version": "7",+ "dialect": "postgresql",+ "tables": {+ "public.authors": {+ "name": "authors",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "author": {+ "name": "author",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "author_id": {+ "name": "author_id",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "username": {+ "name": "username",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "position": {+ "name": "position",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company": {+ "name": "company",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "author_url": {+ "name": "author_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "author_image_url_id": {+ "name": "author_image_url_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "authors_author_idx": {+ "name": "authors_author_idx",+ "columns": [+ {+ "expression": "author",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_author_id_idx": {+ "name": "authors_author_id_idx",+ "columns": [+ {+ "expression": "author_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_author_image_url_idx": {+ "name": "authors_author_image_url_idx",+ "columns": [+ {+ "expression": "author_image_url_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_updated_at_idx": {+ "name": "authors_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_created_at_idx": {+ "name": "authors_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "authors_author_image_url_id_media_id_fk": {+ "name": "authors_author_image_url_id_media_id_fk",+ "tableFrom": "authors",+ "tableTo": "media",+ "columnsFrom": [+ "author_image_url_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.categories_breadcrumbs": {+ "name": "categories_breadcrumbs",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "doc_id": {+ "name": "doc_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "url": {+ "name": "url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "categories_breadcrumbs_order_idx": {+ "name": "categories_breadcrumbs_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_breadcrumbs_parent_id_idx": {+ "name": "categories_breadcrumbs_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_breadcrumbs_doc_idx": {+ "name": "categories_breadcrumbs_doc_idx",+ "columns": [+ {+ "expression": "doc_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "categories_breadcrumbs_doc_id_categories_id_fk": {+ "name": "categories_breadcrumbs_doc_id_categories_id_fk",+ "tableFrom": "categories_breadcrumbs",+ "tableTo": "categories",+ "columnsFrom": [+ "doc_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "categories_breadcrumbs_parent_id_fk": {+ "name": "categories_breadcrumbs_parent_id_fk",+ "tableFrom": "categories_breadcrumbs",+ "tableTo": "categories",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.categories": {+ "name": "categories",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "categories_name_idx": {+ "name": "categories_name_idx",+ "columns": [+ {+ "expression": "name",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_parent_idx": {+ "name": "categories_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_updated_at_idx": {+ "name": "categories_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_created_at_idx": {+ "name": "categories_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "categories_parent_id_categories_id_fk": {+ "name": "categories_parent_id_categories_id_fk",+ "tableFrom": "categories",+ "tableTo": "categories",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_stats": {+ "name": "customers_stats",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "stat": {+ "name": "stat",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "customers_stats_order_idx": {+ "name": "customers_stats_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_stats_parent_id_idx": {+ "name": "customers_stats_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_stats_parent_id_fk": {+ "name": "customers_stats_parent_id_fk",+ "tableFrom": "customers_stats",+ "tableTo": "customers",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_misc": {+ "name": "customers_misc",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "text": {+ "name": "text",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "customers_misc_order_idx": {+ "name": "customers_misc_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_misc_parent_id_idx": {+ "name": "customers_misc_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_misc_parent_id_fk": {+ "name": "customers_misc_parent_id_fk",+ "tableFrom": "customers_misc",+ "tableTo": "customers",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_industry": {+ "name": "customers_industry",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_customers_industry",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "customers_industry_order_idx": {+ "name": "customers_industry_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_industry_parent_idx": {+ "name": "customers_industry_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_industry_parent_fk": {+ "name": "customers_industry_parent_fk",+ "tableFrom": "customers_industry",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_supabase_products": {+ "name": "customers_supabase_products",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_customers_supabase_products",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "customers_supabase_products_order_idx": {+ "name": "customers_supabase_products_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_supabase_products_parent_idx": {+ "name": "customers_supabase_products_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_supabase_products_parent_fk": {+ "name": "customers_supabase_products_parent_fk",+ "tableFrom": "customers_supabase_products",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers": {+ "name": "customers",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "description": {+ "name": "description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "about": {+ "name": "about",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_url": {+ "name": "company_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_size": {+ "name": "company_size",+ "type": "enum_customers_company_size",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "region": {+ "name": "region",+ "type": "enum_customers_region",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "logo_id": {+ "name": "logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "logo_inverse_id": {+ "name": "logo_inverse_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_customers_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "customers_slug_idx": {+ "name": "customers_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_meta_meta_image_idx": {+ "name": "customers_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_logo_idx": {+ "name": "customers_logo_idx",+ "columns": [+ {+ "expression": "logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_logo_inverse_idx": {+ "name": "customers_logo_inverse_idx",+ "columns": [+ {+ "expression": "logo_inverse_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_updated_at_idx": {+ "name": "customers_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_created_at_idx": {+ "name": "customers_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers__status_idx": {+ "name": "customers__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_meta_image_id_media_id_fk": {+ "name": "customers_meta_image_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "customers_logo_id_media_id_fk": {+ "name": "customers_logo_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "customers_logo_inverse_id_media_id_fk": {+ "name": "customers_logo_inverse_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "logo_inverse_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_stats": {+ "name": "_customers_v_version_stats",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "stat": {+ "name": "stat",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "_uuid": {+ "name": "_uuid",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_version_stats_order_idx": {+ "name": "_customers_v_version_stats_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_stats_parent_id_idx": {+ "name": "_customers_v_version_stats_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_stats_parent_id_fk": {+ "name": "_customers_v_version_stats_parent_id_fk",+ "tableFrom": "_customers_v_version_stats",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_misc": {+ "name": "_customers_v_version_misc",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "text": {+ "name": "text",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "_uuid": {+ "name": "_uuid",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_version_misc_order_idx": {+ "name": "_customers_v_version_misc_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_misc_parent_id_idx": {+ "name": "_customers_v_version_misc_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_misc_parent_id_fk": {+ "name": "_customers_v_version_misc_parent_id_fk",+ "tableFrom": "_customers_v_version_misc",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_industry": {+ "name": "_customers_v_version_industry",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__customers_v_version_industry",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_customers_v_version_industry_order_idx": {+ "name": "_customers_v_version_industry_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_industry_parent_idx": {+ "name": "_customers_v_version_industry_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_industry_parent_fk": {+ "name": "_customers_v_version_industry_parent_fk",+ "tableFrom": "_customers_v_version_industry",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_supabase_products": {+ "name": "_customers_v_version_supabase_products",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__customers_v_version_supabase_products",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_customers_v_version_supabase_products_order_idx": {+ "name": "_customers_v_version_supabase_products_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_supabase_products_parent_idx": {+ "name": "_customers_v_version_supabase_products_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_supabase_products_parent_fk": {+ "name": "_customers_v_version_supabase_products_parent_fk",+ "tableFrom": "_customers_v_version_supabase_products",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v": {+ "name": "_customers_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_name": {+ "name": "version_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_description": {+ "name": "version_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_about": {+ "name": "version_about",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_url": {+ "name": "version_company_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_size": {+ "name": "version_company_size",+ "type": "enum__customers_v_version_company_size",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_region": {+ "name": "version_region",+ "type": "enum__customers_v_version_region",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_logo_id": {+ "name": "version_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_logo_inverse_id": {+ "name": "version_logo_inverse_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__customers_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ },+ "autosave": {+ "name": "autosave",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_parent_idx": {+ "name": "_customers_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_slug_idx": {+ "name": "_customers_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_meta_version_meta_image_idx": {+ "name": "_customers_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_logo_idx": {+ "name": "_customers_v_version_version_logo_idx",+ "columns": [+ {+ "expression": "version_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_logo_inverse_idx": {+ "name": "_customers_v_version_version_logo_inverse_idx",+ "columns": [+ {+ "expression": "version_logo_inverse_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_updated_at_idx": {+ "name": "_customers_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_created_at_idx": {+ "name": "_customers_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version__status_idx": {+ "name": "_customers_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_created_at_idx": {+ "name": "_customers_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_updated_at_idx": {+ "name": "_customers_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_latest_idx": {+ "name": "_customers_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_autosave_idx": {+ "name": "_customers_v_autosave_idx",+ "columns": [+ {+ "expression": "autosave",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_parent_id_customers_id_fk": {+ "name": "_customers_v_parent_id_customers_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_meta_image_id_media_id_fk": {+ "name": "_customers_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_logo_id_media_id_fk": {+ "name": "_customers_v_version_logo_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_logo_inverse_id_media_id_fk": {+ "name": "_customers_v_version_logo_inverse_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_logo_inverse_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events_type": {+ "name": "events_type",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_events_type",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "events_type_order_idx": {+ "name": "events_type_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_type_parent_idx": {+ "name": "events_type_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_type_parent_fk": {+ "name": "events_type_parent_fk",+ "tableFrom": "events_type",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events": {+ "name": "events",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "subtitle": {+ "name": "subtitle",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "thumb_id": {+ "name": "thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "image_id": {+ "name": "image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "date": {+ "name": "date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "timezone": {+ "name": "timezone",+ "type": "enum_events_timezone",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "show_end_date": {+ "name": "show_end_date",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "end_date": {+ "name": "end_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "duration": {+ "name": "duration",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "on_demand": {+ "name": "on_demand",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "disable_page_build": {+ "name": "disable_page_build",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "link_href": {+ "name": "link_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "link_target": {+ "name": "link_target",+ "type": "enum_events_link_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "main_cta_href": {+ "name": "main_cta_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "main_cta_target": {+ "name": "main_cta_target",+ "type": "enum_events_main_cta_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "main_cta_label": {+ "name": "main_cta_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "main_cta_disabled": {+ "name": "main_cta_disabled",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "main_cta_disabled_label": {+ "name": "main_cta_disabled_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_show_company": {+ "name": "company_show_company",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "company_name": {+ "name": "company_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_website_url": {+ "name": "company_website_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_logo_id": {+ "name": "company_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "company_logo_light_id": {+ "name": "company_logo_light_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "participants_show_participants": {+ "name": "participants_show_participants",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_events_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "events_slug_idx": {+ "name": "events_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_thumb_idx": {+ "name": "events_thumb_idx",+ "columns": [+ {+ "expression": "thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_image_idx": {+ "name": "events_image_idx",+ "columns": [+ {+ "expression": "image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_company_company_logo_idx": {+ "name": "events_company_company_logo_idx",+ "columns": [+ {+ "expression": "company_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_company_company_logo_light_idx": {+ "name": "events_company_company_logo_light_idx",+ "columns": [+ {+ "expression": "company_logo_light_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_meta_meta_image_idx": {+ "name": "events_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_updated_at_idx": {+ "name": "events_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_created_at_idx": {+ "name": "events_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events__status_idx": {+ "name": "events__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_thumb_id_media_id_fk": {+ "name": "events_thumb_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_image_id_media_id_fk": {+ "name": "events_image_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_company_logo_id_media_id_fk": {+ "name": "events_company_logo_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "company_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_company_logo_light_id_media_id_fk": {+ "name": "events_company_logo_light_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "company_logo_light_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_meta_image_id_media_id_fk": {+ "name": "events_meta_image_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events_rels": {+ "name": "events_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "events_rels_order_idx": {+ "name": "events_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_parent_idx": {+ "name": "events_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_path_idx": {+ "name": "events_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_authors_id_idx": {+ "name": "events_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_rels_parent_fk": {+ "name": "events_rels_parent_fk",+ "tableFrom": "events_rels",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "events_rels_authors_fk": {+ "name": "events_rels_authors_fk",+ "tableFrom": "events_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v_version_type": {+ "name": "_events_v_version_type",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__events_v_version_type",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_events_v_version_type_order_idx": {+ "name": "_events_v_version_type_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_type_parent_idx": {+ "name": "_events_v_version_type_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_version_type_parent_fk": {+ "name": "_events_v_version_type_parent_fk",+ "tableFrom": "_events_v_version_type",+ "tableTo": "_events_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v": {+ "name": "_events_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_subtitle": {+ "name": "version_subtitle",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_thumb_id": {+ "name": "version_thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_image_id": {+ "name": "version_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_date": {+ "name": "version_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_timezone": {+ "name": "version_timezone",+ "type": "enum__events_v_version_timezone",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_show_end_date": {+ "name": "version_show_end_date",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_end_date": {+ "name": "version_end_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_duration": {+ "name": "version_duration",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_on_demand": {+ "name": "version_on_demand",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_disable_page_build": {+ "name": "version_disable_page_build",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_link_href": {+ "name": "version_link_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_link_target": {+ "name": "version_link_target",+ "type": "enum__events_v_version_link_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "version_main_cta_href": {+ "name": "version_main_cta_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_main_cta_target": {+ "name": "version_main_cta_target",+ "type": "enum__events_v_version_main_cta_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "version_main_cta_label": {+ "name": "version_main_cta_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_main_cta_disabled": {+ "name": "version_main_cta_disabled",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_main_cta_disabled_label": {+ "name": "version_main_cta_disabled_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_show_company": {+ "name": "version_company_show_company",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_company_name": {+ "name": "version_company_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_website_url": {+ "name": "version_company_website_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_logo_id": {+ "name": "version_company_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_logo_light_id": {+ "name": "version_company_logo_light_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_participants_show_participants": {+ "name": "version_participants_show_participants",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__events_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ },+ "autosave": {+ "name": "autosave",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_events_v_parent_idx": {+ "name": "_events_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_slug_idx": {+ "name": "_events_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_thumb_idx": {+ "name": "_events_v_version_version_thumb_idx",+ "columns": [+ {+ "expression": "version_thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_image_idx": {+ "name": "_events_v_version_version_image_idx",+ "columns": [+ {+ "expression": "version_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_company_version_company_logo_idx": {+ "name": "_events_v_version_company_version_company_logo_idx",+ "columns": [+ {+ "expression": "version_company_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_company_version_company_logo_light_idx": {+ "name": "_events_v_version_company_version_company_logo_light_idx",+ "columns": [+ {+ "expression": "version_company_logo_light_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_meta_version_meta_image_idx": {+ "name": "_events_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_updated_at_idx": {+ "name": "_events_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_created_at_idx": {+ "name": "_events_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version__status_idx": {+ "name": "_events_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_created_at_idx": {+ "name": "_events_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_updated_at_idx": {+ "name": "_events_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_latest_idx": {+ "name": "_events_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_autosave_idx": {+ "name": "_events_v_autosave_idx",+ "columns": [+ {+ "expression": "autosave",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_parent_id_events_id_fk": {+ "name": "_events_v_parent_id_events_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_thumb_id_media_id_fk": {+ "name": "_events_v_version_thumb_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_image_id_media_id_fk": {+ "name": "_events_v_version_image_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_company_logo_id_media_id_fk": {+ "name": "_events_v_version_company_logo_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_company_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_company_logo_light_id_media_id_fk": {+ "name": "_events_v_version_company_logo_light_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_company_logo_light_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_meta_image_id_media_id_fk": {+ "name": "_events_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v_rels": {+ "name": "_events_v_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_events_v_rels_order_idx": {+ "name": "_events_v_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_parent_idx": {+ "name": "_events_v_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_path_idx": {+ "name": "_events_v_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_authors_id_idx": {+ "name": "_events_v_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_rels_parent_fk": {+ "name": "_events_v_rels_parent_fk",+ "tableFrom": "_events_v_rels",+ "tableTo": "_events_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_events_v_rels_authors_fk": {+ "name": "_events_v_rels_authors_fk",+ "tableFrom": "_events_v_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.media": {+ "name": "media",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "alt": {+ "name": "alt",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "caption": {+ "name": "caption",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "prefix": {+ "name": "prefix",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false,+ "default": "'media'"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "url": {+ "name": "url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "thumbnail_u_r_l": {+ "name": "thumbnail_u_r_l",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "filename": {+ "name": "filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "mime_type": {+ "name": "mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "filesize": {+ "name": "filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "width": {+ "name": "width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "height": {+ "name": "height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "focal_x": {+ "name": "focal_x",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "focal_y": {+ "name": "focal_y",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_url": {+ "name": "sizes_thumbnail_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_width": {+ "name": "sizes_thumbnail_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_height": {+ "name": "sizes_thumbnail_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_mime_type": {+ "name": "sizes_thumbnail_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_filesize": {+ "name": "sizes_thumbnail_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_filename": {+ "name": "sizes_thumbnail_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_url": {+ "name": "sizes_square_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_width": {+ "name": "sizes_square_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_height": {+ "name": "sizes_square_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_mime_type": {+ "name": "sizes_square_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_filesize": {+ "name": "sizes_square_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_filename": {+ "name": "sizes_square_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_url": {+ "name": "sizes_small_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_width": {+ "name": "sizes_small_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_height": {+ "name": "sizes_small_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_mime_type": {+ "name": "sizes_small_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_filesize": {+ "name": "sizes_small_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_filename": {+ "name": "sizes_small_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_url": {+ "name": "sizes_medium_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_width": {+ "name": "sizes_medium_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_height": {+ "name": "sizes_medium_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_mime_type": {+ "name": "sizes_medium_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_filesize": {+ "name": "sizes_medium_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_filename": {+ "name": "sizes_medium_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_url": {+ "name": "sizes_large_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_width": {+ "name": "sizes_large_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_height": {+ "name": "sizes_large_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_mime_type": {+ "name": "sizes_large_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_filesize": {+ "name": "sizes_large_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_filename": {+ "name": "sizes_large_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_url": {+ "name": "sizes_xlarge_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_width": {+ "name": "sizes_xlarge_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_height": {+ "name": "sizes_xlarge_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_mime_type": {+ "name": "sizes_xlarge_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_filesize": {+ "name": "sizes_xlarge_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_filename": {+ "name": "sizes_xlarge_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_url": {+ "name": "sizes_og_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_width": {+ "name": "sizes_og_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_height": {+ "name": "sizes_og_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_mime_type": {+ "name": "sizes_og_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_filesize": {+ "name": "sizes_og_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_filename": {+ "name": "sizes_og_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "media_updated_at_idx": {+ "name": "media_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_created_at_idx": {+ "name": "media_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_filename_idx": {+ "name": "media_filename_idx",+ "columns": [+ {+ "expression": "filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {+ "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",+ "columns": [+ {+ "expression": "sizes_thumbnail_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_square_sizes_square_filename_idx": {+ "name": "media_sizes_square_sizes_square_filename_idx",+ "columns": [+ {+ "expression": "sizes_square_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_small_sizes_small_filename_idx": {+ "name": "media_sizes_small_sizes_small_filename_idx",+ "columns": [+ {+ "expression": "sizes_small_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_medium_sizes_medium_filename_idx": {+ "name": "media_sizes_medium_sizes_medium_filename_idx",+ "columns": [+ {+ "expression": "sizes_medium_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_large_sizes_large_filename_idx": {+ "name": "media_sizes_large_sizes_large_filename_idx",+ "columns": [+ {+ "expression": "sizes_large_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_xlarge_sizes_xlarge_filename_idx": {+ "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",+ "columns": [+ {+ "expression": "sizes_xlarge_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_og_sizes_og_filename_idx": {+ "name": "media_sizes_og_sizes_og_filename_idx",+ "columns": [+ {+ "expression": "sizes_og_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.posts": {+ "name": "posts",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "description": {+ "name": "description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "thumb_id": {+ "name": "thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "image_id": {+ "name": "image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "launchweek": {+ "name": "launchweek",+ "type": "enum_posts_launchweek",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "reading_time": {+ "name": "reading_time",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "date": {+ "name": "date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "toc_depth": {+ "name": "toc_depth",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 3+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_posts_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "posts_title_idx": {+ "name": "posts_title_idx",+ "columns": [+ {+ "expression": "title",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_slug_idx": {+ "name": "posts_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_thumb_idx": {+ "name": "posts_thumb_idx",+ "columns": [+ {+ "expression": "thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_image_idx": {+ "name": "posts_image_idx",+ "columns": [+ {+ "expression": "image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_meta_meta_image_idx": {+ "name": "posts_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_updated_at_idx": {+ "name": "posts_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_created_at_idx": {+ "name": "posts_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts__status_idx": {+ "name": "posts__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "posts_thumb_id_media_id_fk": {+ "name": "posts_thumb_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "posts_image_id_media_id_fk": {+ "name": "posts_image_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "posts_meta_image_id_media_id_fk": {+ "name": "posts_meta_image_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.posts_rels": {+ "name": "posts_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "posts_rels_order_idx": {+ "name": "posts_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_parent_idx": {+ "name": "posts_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_path_idx": {+ "name": "posts_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_categories_id_idx": {+ "name": "posts_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_authors_id_idx": {+ "name": "posts_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_tags_id_idx": {+ "name": "posts_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "posts_rels_parent_fk": {+ "name": "posts_rels_parent_fk",+ "tableFrom": "posts_rels",+ "tableTo": "posts",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_categories_fk": {+ "name": "posts_rels_categories_fk",+ "tableFrom": "posts_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_authors_fk": {+ "name": "posts_rels_authors_fk",+ "tableFrom": "posts_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_tags_fk": {+ "name": "posts_rels_tags_fk",+ "tableFrom": "posts_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._posts_v": {+ "name": "_posts_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_description": {+ "name": "version_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_thumb_id": {+ "name": "version_thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_image_id": {+ "name": "version_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_launchweek": {+ "name": "version_launchweek",+ "type": "enum__posts_v_version_launchweek",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_reading_time": {+ "name": "version_reading_time",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "version_date": {+ "name": "version_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_toc_depth": {+ "name": "version_toc_depth",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 3+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__posts_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ },+ "autosave": {+ "name": "autosave",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_posts_v_parent_idx": {+ "name": "_posts_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_title_idx": {+ "name": "_posts_v_version_version_title_idx",+ "columns": [+ {+ "expression": "version_title",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_slug_idx": {+ "name": "_posts_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_thumb_idx": {+ "name": "_posts_v_version_version_thumb_idx",+ "columns": [+ {+ "expression": "version_thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_image_idx": {+ "name": "_posts_v_version_version_image_idx",+ "columns": [+ {+ "expression": "version_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_meta_version_meta_image_idx": {+ "name": "_posts_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_updated_at_idx": {+ "name": "_posts_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_created_at_idx": {+ "name": "_posts_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version__status_idx": {+ "name": "_posts_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_created_at_idx": {+ "name": "_posts_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_updated_at_idx": {+ "name": "_posts_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_latest_idx": {+ "name": "_posts_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_autosave_idx": {+ "name": "_posts_v_autosave_idx",+ "columns": [+ {+ "expression": "autosave",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_posts_v_parent_id_posts_id_fk": {+ "name": "_posts_v_parent_id_posts_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "posts",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_thumb_id_media_id_fk": {+ "name": "_posts_v_version_thumb_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_image_id_media_id_fk": {+ "name": "_posts_v_version_image_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_meta_image_id_media_id_fk": {+ "name": "_posts_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._posts_v_rels": {+ "name": "_posts_v_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_posts_v_rels_order_idx": {+ "name": "_posts_v_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_parent_idx": {+ "name": "_posts_v_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_path_idx": {+ "name": "_posts_v_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_categories_id_idx": {+ "name": "_posts_v_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_authors_id_idx": {+ "name": "_posts_v_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_tags_id_idx": {+ "name": "_posts_v_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_posts_v_rels_parent_fk": {+ "name": "_posts_v_rels_parent_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "_posts_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_categories_fk": {+ "name": "_posts_v_rels_categories_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_authors_fk": {+ "name": "_posts_v_rels_authors_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_tags_fk": {+ "name": "_posts_v_rels_tags_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.tags": {+ "name": "tags",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "tags_name_idx": {+ "name": "tags_name_idx",+ "columns": [+ {+ "expression": "name",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "tags_updated_at_idx": {+ "name": "tags_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "tags_created_at_idx": {+ "name": "tags_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users_roles": {+ "name": "users_roles",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_users_roles",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "users_roles_order_idx": {+ "name": "users_roles_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_roles_parent_idx": {+ "name": "users_roles_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "users_roles_parent_fk": {+ "name": "users_roles_parent_fk",+ "tableFrom": "users_roles",+ "tableTo": "users",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users_sessions": {+ "name": "users_sessions",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ }+ },+ "indexes": {+ "users_sessions_order_idx": {+ "name": "users_sessions_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_sessions_parent_id_idx": {+ "name": "users_sessions_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "users_sessions_parent_id_fk": {+ "name": "users_sessions_parent_id_fk",+ "tableFrom": "users_sessions",+ "tableTo": "users",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users": {+ "name": "users",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "email": {+ "name": "email",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "reset_password_token": {+ "name": "reset_password_token",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "reset_password_expiration": {+ "name": "reset_password_expiration",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "salt": {+ "name": "salt",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "hash": {+ "name": "hash",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "login_attempts": {+ "name": "login_attempts",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "lock_until": {+ "name": "lock_until",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "users_updated_at_idx": {+ "name": "users_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_created_at_idx": {+ "name": "users_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_email_idx": {+ "name": "users_email_idx",+ "columns": [+ {+ "expression": "email",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_jobs_log": {+ "name": "payload_jobs_log",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "executed_at": {+ "name": "executed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ },+ "completed_at": {+ "name": "completed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ },+ "task_slug": {+ "name": "task_slug",+ "type": "enum_payload_jobs_log_task_slug",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": true+ },+ "task_i_d": {+ "name": "task_i_d",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "input": {+ "name": "input",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "output": {+ "name": "output",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "state": {+ "name": "state",+ "type": "enum_payload_jobs_log_state",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": true+ },+ "error": {+ "name": "error",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_jobs_log_order_idx": {+ "name": "payload_jobs_log_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_log_parent_id_idx": {+ "name": "payload_jobs_log_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_jobs_log_parent_id_fk": {+ "name": "payload_jobs_log_parent_id_fk",+ "tableFrom": "payload_jobs_log",+ "tableTo": "payload_jobs",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_jobs": {+ "name": "payload_jobs",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "input": {+ "name": "input",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "completed_at": {+ "name": "completed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "total_tried": {+ "name": "total_tried",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "has_error": {+ "name": "has_error",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "error": {+ "name": "error",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "task_slug": {+ "name": "task_slug",+ "type": "enum_payload_jobs_task_slug",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "queue": {+ "name": "queue",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false,+ "default": "'default'"+ },+ "wait_until": {+ "name": "wait_until",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "processing": {+ "name": "processing",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_jobs_completed_at_idx": {+ "name": "payload_jobs_completed_at_idx",+ "columns": [+ {+ "expression": "completed_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_total_tried_idx": {+ "name": "payload_jobs_total_tried_idx",+ "columns": [+ {+ "expression": "total_tried",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_has_error_idx": {+ "name": "payload_jobs_has_error_idx",+ "columns": [+ {+ "expression": "has_error",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_task_slug_idx": {+ "name": "payload_jobs_task_slug_idx",+ "columns": [+ {+ "expression": "task_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_queue_idx": {+ "name": "payload_jobs_queue_idx",+ "columns": [+ {+ "expression": "queue",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_wait_until_idx": {+ "name": "payload_jobs_wait_until_idx",+ "columns": [+ {+ "expression": "wait_until",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_processing_idx": {+ "name": "payload_jobs_processing_idx",+ "columns": [+ {+ "expression": "processing",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_updated_at_idx": {+ "name": "payload_jobs_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_created_at_idx": {+ "name": "payload_jobs_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_locked_documents": {+ "name": "payload_locked_documents",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "global_slug": {+ "name": "global_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_locked_documents_global_slug_idx": {+ "name": "payload_locked_documents_global_slug_idx",+ "columns": [+ {+ "expression": "global_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_updated_at_idx": {+ "name": "payload_locked_documents_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_created_at_idx": {+ "name": "payload_locked_documents_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_locked_documents_rels": {+ "name": "payload_locked_documents_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "customers_id": {+ "name": "customers_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "events_id": {+ "name": "events_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "media_id": {+ "name": "media_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "posts_id": {+ "name": "posts_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "users_id": {+ "name": "users_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "payload_jobs_id": {+ "name": "payload_jobs_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_locked_documents_rels_order_idx": {+ "name": "payload_locked_documents_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_parent_idx": {+ "name": "payload_locked_documents_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_path_idx": {+ "name": "payload_locked_documents_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_authors_id_idx": {+ "name": "payload_locked_documents_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_categories_id_idx": {+ "name": "payload_locked_documents_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_customers_id_idx": {+ "name": "payload_locked_documents_rels_customers_id_idx",+ "columns": [+ {+ "expression": "customers_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_events_id_idx": {+ "name": "payload_locked_documents_rels_events_id_idx",+ "columns": [+ {+ "expression": "events_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_media_id_idx": {+ "name": "payload_locked_documents_rels_media_id_idx",+ "columns": [+ {+ "expression": "media_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_posts_id_idx": {+ "name": "payload_locked_documents_rels_posts_id_idx",+ "columns": [+ {+ "expression": "posts_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_tags_id_idx": {+ "name": "payload_locked_documents_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_users_id_idx": {+ "name": "payload_locked_documents_rels_users_id_idx",+ "columns": [+ {+ "expression": "users_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_payload_jobs_id_idx": {+ "name": "payload_locked_documents_rels_payload_jobs_id_idx",+ "columns": [+ {+ "expression": "payload_jobs_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_locked_documents_rels_parent_fk": {+ "name": "payload_locked_documents_rels_parent_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "payload_locked_documents",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_authors_fk": {+ "name": "payload_locked_documents_rels_authors_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_categories_fk": {+ "name": "payload_locked_documents_rels_categories_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_customers_fk": {+ "name": "payload_locked_documents_rels_customers_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "customers",+ "columnsFrom": [+ "customers_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_events_fk": {+ "name": "payload_locked_documents_rels_events_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "events",+ "columnsFrom": [+ "events_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_media_fk": {+ "name": "payload_locked_documents_rels_media_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "media",+ "columnsFrom": [+ "media_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_posts_fk": {+ "name": "payload_locked_documents_rels_posts_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "posts",+ "columnsFrom": [+ "posts_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_tags_fk": {+ "name": "payload_locked_documents_rels_tags_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_users_fk": {+ "name": "payload_locked_documents_rels_users_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "users",+ "columnsFrom": [+ "users_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_payload_jobs_fk": {+ "name": "payload_locked_documents_rels_payload_jobs_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "payload_jobs",+ "columnsFrom": [+ "payload_jobs_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_preferences": {+ "name": "payload_preferences",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "key": {+ "name": "key",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "value": {+ "name": "value",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_preferences_key_idx": {+ "name": "payload_preferences_key_idx",+ "columns": [+ {+ "expression": "key",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_updated_at_idx": {+ "name": "payload_preferences_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_created_at_idx": {+ "name": "payload_preferences_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_preferences_rels": {+ "name": "payload_preferences_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "users_id": {+ "name": "users_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_preferences_rels_order_idx": {+ "name": "payload_preferences_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_parent_idx": {+ "name": "payload_preferences_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_path_idx": {+ "name": "payload_preferences_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_users_id_idx": {+ "name": "payload_preferences_rels_users_id_idx",+ "columns": [+ {+ "expression": "users_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_preferences_rels_parent_fk": {+ "name": "payload_preferences_rels_parent_fk",+ "tableFrom": "payload_preferences_rels",+ "tableTo": "payload_preferences",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_preferences_rels_users_fk": {+ "name": "payload_preferences_rels_users_fk",+ "tableFrom": "payload_preferences_rels",+ "tableTo": "users",+ "columnsFrom": [+ "users_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_migrations": {+ "name": "payload_migrations",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "batch": {+ "name": "batch",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_migrations_updated_at_idx": {+ "name": "payload_migrations_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_migrations_created_at_idx": {+ "name": "payload_migrations_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ }+ },+ "enums": {+ "public.enum_customers_industry": {+ "name": "enum_customers_industry",+ "schema": "public",+ "values": [+ "healthcare",+ "fintech",+ "ecommerce",+ "education",+ "gaming",+ "media",+ "real-estate",+ "saas",+ "social",+ "analytics",+ "ai",+ "developer-tools"+ ]+ },+ "public.enum_customers_supabase_products": {+ "name": "enum_customers_supabase_products",+ "schema": "public",+ "values": [+ "database",+ "auth",+ "storage",+ "realtime",+ "functions",+ "vector"+ ]+ },+ "public.enum_customers_company_size": {+ "name": "enum_customers_company_size",+ "schema": "public",+ "values": [+ "startup",+ "enterprise",+ "indie_dev"+ ]+ },+ "public.enum_customers_region": {+ "name": "enum_customers_region",+ "schema": "public",+ "values": [+ "Asia",+ "Europe",+ "North America",+ "South America",+ "Africa",+ "Oceania"+ ]+ },+ "public.enum_customers_status": {+ "name": "enum_customers_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__customers_v_version_industry": {+ "name": "enum__customers_v_version_industry",+ "schema": "public",+ "values": [+ "healthcare",+ "fintech",+ "ecommerce",+ "education",+ "gaming",+ "media",+ "real-estate",+ "saas",+ "social",+ "analytics",+ "ai",+ "developer-tools"+ ]+ },+ "public.enum__customers_v_version_supabase_products": {+ "name": "enum__customers_v_version_supabase_products",+ "schema": "public",+ "values": [+ "database",+ "auth",+ "storage",+ "realtime",+ "functions",+ "vector"+ ]+ },+ "public.enum__customers_v_version_company_size": {+ "name": "enum__customers_v_version_company_size",+ "schema": "public",+ "values": [+ "startup",+ "enterprise",+ "indie_dev"+ ]+ },+ "public.enum__customers_v_version_region": {+ "name": "enum__customers_v_version_region",+ "schema": "public",+ "values": [+ "Asia",+ "Europe",+ "North America",+ "South America",+ "Africa",+ "Oceania"+ ]+ },+ "public.enum__customers_v_version_status": {+ "name": "enum__customers_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_events_type": {+ "name": "enum_events_type",+ "schema": "public",+ "values": [+ "conference",+ "hackathon",+ "launch-week",+ "meetup",+ "office-hours",+ "talk",+ "webinar",+ "workshop",+ "other"+ ]+ },+ "public.enum_events_timezone": {+ "name": "enum_events_timezone",+ "schema": "public",+ "values": [+ "Africa/Abidjan",+ "Africa/Accra",+ "Africa/Addis_Ababa",+ "Africa/Algiers",+ "Africa/Asmara",+ "Africa/Bamako",+ "Africa/Bangui",+ "Africa/Banjul",+ "Africa/Bissau",+ "Africa/Blantyre",+ "Africa/Brazzaville",+ "Africa/Bujumbura",+ "Africa/Cairo",+ "Africa/Casablanca",+ "Africa/Ceuta",+ "Africa/Conakry",+ "Africa/Dakar",+ "Africa/Dar_es_Salaam",+ "Africa/Djibouti",+ "Africa/Douala",+ "Africa/El_Aaiun",+ "Africa/Freetown",+ "Africa/Gaborone",+ "Africa/Harare",+ "Africa/Johannesburg",+ "Africa/Juba",+ "Africa/Kampala",+ "Africa/Khartoum",+ "Africa/Kigali",+ "Africa/Kinshasa",+ "Africa/Lagos",+ "Africa/Libreville",+ "Africa/Lome",+ "Africa/Luanda",+ "Africa/Lubumbashi",+ "Africa/Lusaka",+ "Africa/Malabo",+ "Africa/Maputo",+ "Africa/Maseru",+ "Africa/Mbabane",+ "Africa/Mogadishu",+ "Africa/Monrovia",+ "Africa/Nairobi",+ "Africa/Ndjamena",+ "Africa/Niamey",+ "Africa/Nouakchott",+ "Africa/Ouagadougou",+ "Africa/Porto-Novo",+ "Africa/Sao_Tome",+ "Africa/Tripoli",+ "Africa/Tunis",+ "Africa/Windhoek",+ "America/Adak",+ "America/Anchorage",+ "America/Anguilla",+ "America/Antigua",+ "America/Araguaina",+ "America/Argentina/Buenos_Aires",+ "America/Argentina/Catamarca",+ "America/Argentina/Cordoba",+ "America/Argentina/Jujuy",+ "America/Argentina/La_Rioja",+ "America/Argentina/Mendoza",+ "America/Argentina/Rio_Gallegos",+ "America/Argentina/Salta",+ "America/Argentina/San_Juan",+ "America/Argentina/San_Luis",+ "America/Argentina/Tucuman",+ "America/Argentina/Ushuaia",+ "America/Aruba",+ "America/Asuncion",+ "America/Atikokan",+ "America/Bahia",+ "America/Bahia_Banderas",+ "America/Barbados",+ "America/Belem",+ "America/Belize",+ "America/Blanc-Sablon",+ "America/Boa_Vista",+ "America/Bogota",+ "America/Boise",+ "America/Cambridge_Bay",+ "America/Campo_Grande",+ "America/Cancun",+ "America/Caracas",+ "America/Cayenne",+ "America/Cayman",+ "America/Chicago",+ "America/Chihuahua",+ "America/Costa_Rica",+ "America/Creston",+ "America/Cuiaba",+ "America/Curacao",+ "America/Danmarkshavn",+ "America/Dawson",+ "America/Dawson_Creek",+ "America/Denver",+ "America/Detroit",+ "America/Dominica",+ "America/Edmonton",+ "America/Eirunepe",+ "America/El_Salvador",+ "America/Fort_Nelson",+ "America/Fortaleza",+ "America/Glace_Bay",+ "America/Godthab",+ "America/Goose_Bay",+ "America/Grand_Turk",+ "America/Grenada",+ "America/Guadeloupe",+ "America/Guatemala",+ "America/Guayaquil",+ "America/Guyana",+ "America/Halifax",+ "America/Havana",+ "America/Hermosillo",+ "America/Indiana/Indianapolis",+ "America/Indiana/Knox",+ "America/Indiana/Marengo",+ "America/Indiana/Petersburg",+ "America/Indiana/Tell_City",+ "America/Indiana/Vevay",+ "America/Indiana/Vincennes",+ "America/Indiana/Winamac",+ "America/Inuvik",+ "America/Iqaluit",+ "America/Jamaica",+ "America/Juneau",+ "America/Kentucky/Louisville",+ "America/Kentucky/Monticello",+ "America/Kralendijk",+ "America/La_Paz",+ "America/Lima",+ "America/Los_Angeles",+ "America/Lower_Princes",+ "America/Maceio",+ "America/Managua",+ "America/Manaus",+ "America/Marigot",+ "America/Martinique",+ "America/Matamoros",+ "America/Mazatlan",+ "America/Menominee",+ "America/Merida",+ "America/Metlakatla",+ "America/Mexico_City",+ "America/Miquelon",+ "America/Moncton",+ "America/Monterrey",+ "America/Montevideo",+ "America/Montserrat",+ "America/Nassau",+ "America/New_York",+ "America/Nipigon",+ "America/Nome",+ "America/Noronha",+ "America/North_Dakota/Beulah",+ "America/North_Dakota/Center",+ "America/North_Dakota/New_Salem",+ "America/Ojinaga",+ "America/Panama",+ "America/Pangnirtung",+ "America/Paramaribo",+ "America/Phoenix",+ "America/Port-au-Prince",+ "America/Port_of_Spain",+ "America/Porto_Velho",+ "America/Puerto_Rico",+ "America/Punta_Arenas",+ "America/Rainy_River",+ "America/Rankin_Inlet",+ "America/Recife",+ "America/Regina",+ "America/Resolute",+ "America/Rio_Branco",+ "America/Santarem",+ "America/Santiago",+ "America/Santo_Domingo",+ "America/Sao_Paulo",+ "America/Scoresbysund",+ "America/Sitka",+ "America/St_Barthelemy",+ "America/St_Johns",+ "America/St_Kitts",+ "America/St_Lucia",+ "America/St_Thomas",+ "America/St_Vincent",+ "America/Swift_Current",+ "America/Tegucigalpa",+ "America/Thule",+ "America/Thunder_Bay",+ "America/Tijuana",+ "America/Toronto",+ "America/Tortola",+ "America/Vancouver",+ "America/Whitehorse",+ "America/Winnipeg",+ "America/Yakutat",+ "America/Yellowknife",+ "Antarctica/Casey",+ "Antarctica/Davis",+ "Antarctica/DumontDUrville",+ "Antarctica/Macquarie",+ "Antarctica/Mawson",+ "Antarctica/McMurdo",+ "Antarctica/Palmer",+ "Antarctica/Rothera",+ "Antarctica/Syowa",+ "Antarctica/Troll",+ "Antarctica/Vostok",+ "Arctic/Longyearbyen",+ "Asia/Aden",+ "Asia/Almaty",+ "Asia/Amman",+ "Asia/Anadyr",+ "Asia/Aqtau",+ "Asia/Aqtobe",+ "Asia/Ashgabat",+ "Asia/Atyrau",+ "Asia/Baghdad",+ "Asia/Bahrain",+ "Asia/Baku",+ "Asia/Bangkok",+ "Asia/Barnaul",+ "Asia/Beirut",+ "Asia/Bishkek",+ "Asia/Brunei",+ "Asia/Chita",+ "Asia/Choibalsan",+ "Asia/Colombo",+ "Asia/Damascus",+ "Asia/Dhaka",+ "Asia/Dili",+ "Asia/Dubai",+ "Asia/Dushanbe",+ "Asia/Famagusta",+ "Asia/Gaza",+ "Asia/Hebron",+ "Asia/Ho_Chi_Minh",+ "Asia/Hong_Kong",+ "Asia/Hovd",+ "Asia/Irkutsk",+ "Asia/Istanbul",+ "Asia/Jakarta",+ "Asia/Jayapura",+ "Asia/Jerusalem",+ "Asia/Kabul",+ "Asia/Kamchatka",+ "Asia/Karachi",+ "Asia/Kathmandu",+ "Asia/Khandyga",+ "Asia/Kolkata",+ "Asia/Krasnoyarsk",+ "Asia/Kuala_Lumpur",+ "Asia/Kuching",+ "Asia/Kuwait",+ "Asia/Macau",+ "Asia/Magadan",+ "Asia/Makassar",+ "Asia/Manila",+ "Asia/Muscat",+ "Asia/Nicosia",+ "Asia/Novokuznetsk",+ "Asia/Novosibirsk",+ "Asia/Omsk",+ "Asia/Oral",+ "Asia/Phnom_Penh",+ "Asia/Pontianak",+ "Asia/Pyongyang",+ "Asia/Qatar",+ "Asia/Qostanay",+ "Asia/Qyzylorda",+ "Asia/Riyadh",+ "Asia/Sakhalin",+ "Asia/Samarkand",+ "Asia/Seoul",+ "Asia/Shanghai",+ "Asia/Singapore",+ "Asia/Srednekolymsk",+ "Asia/Taipei",+ "Asia/Tashkent",+ "Asia/Tbilisi",+ "Asia/Tehran",+ "Asia/Thimphu",+ "Asia/Tokyo",+ "Asia/Tomsk",+ "Asia/Ulaanbaatar",+ "Asia/Urumqi",+ "Asia/Ust-Nera",+ "Asia/Vientiane",+ "Asia/Vladivostok",+ "Asia/Yakutsk",+ "Asia/Yangon",+ "Asia/Yekaterinburg",+ "Asia/Yerevan",+ "Atlantic/Azores",+ "Atlantic/Bermuda",+ "Atlantic/Canary",+ "Atlantic/Cape_Verde",+ "Atlantic/Faroe",+ "Atlantic/Madeira",+ "Atlantic/Reykjavik",+ "Atlantic/South_Georgia",+ "Atlantic/St_Helena",+ "Atlantic/Stanley",+ "Australia/Adelaide",+ "Australia/Brisbane",+ "Australia/Broken_Hill",+ "Australia/Currie",+ "Australia/Darwin",+ "Australia/Eucla",+ "Australia/Hobart",+ "Australia/Lindeman",+ "Australia/Lord_Howe",+ "Australia/Melbourne",+ "Australia/Perth",+ "Australia/Sydney",+ "Europe/Amsterdam",+ "Europe/Andorra",+ "Europe/Astrakhan",+ "Europe/Athens",+ "Europe/Belgrade",+ "Europe/Berlin",+ "Europe/Bratislava",+ "Europe/Brussels",+ "Europe/Bucharest",+ "Europe/Budapest",+ "Europe/Busingen",+ "Europe/Chisinau",+ "Europe/Copenhagen",+ "Europe/Dublin",+ "Europe/Gibraltar",+ "Europe/Guernsey",+ "Europe/Helsinki",+ "Europe/Isle_of_Man",+ "Europe/Istanbul",+ "Europe/Jersey",+ "Europe/Kaliningrad",+ "Europe/Kiev",+ "Europe/Kirov",+ "Europe/Lisbon",+ "Europe/Ljubljana",+ "Europe/London",+ "Europe/Luxembourg",+ "Europe/Madrid",+ "Europe/Malta",+ "Europe/Mariehamn",+ "Europe/Minsk",+ "Europe/Monaco",+ "Europe/Moscow",+ "Europe/Oslo",+ "Europe/Paris",+ "Europe/Podgorica",+ "Europe/Prague",+ "Europe/Riga",+ "Europe/Rome",+ "Europe/Samara",+ "Europe/San_Marino",+ "Europe/Sarajevo",+ "Europe/Saratov",+ "Europe/Simferopol",+ "Europe/Skopje",+ "Europe/Sofia",+ "Europe/Stockholm",+ "Europe/Tallinn",+ "Europe/Tirane",+ "Europe/Ulyanovsk",+ "Europe/Uzhgorod",+ "Europe/Vaduz",+ "Europe/Vatican",+ "Europe/Vienna",+ "Europe/Vilnius",+ "Europe/Volgograd",+ "Europe/Warsaw",+ "Europe/Zagreb",+ "Europe/Zaporozhye",+ "Europe/Zurich",+ "Indian/Antananarivo",+ "Indian/Chagos",+ "Indian/Christmas",+ "Indian/Cocos",+ "Indian/Comoro",+ "Indian/Kerguelen",+ "Indian/Mahe",+ "Indian/Maldives",+ "Indian/Mauritius",+ "Indian/Mayotte",+ "Indian/Reunion",+ "Pacific/Apia",+ "Pacific/Auckland",+ "Pacific/Bougainville",+ "Pacific/Chatham",+ "Pacific/Chuuk",+ "Pacific/Easter",+ "Pacific/Efate",+ "Pacific/Enderbury",+ "Pacific/Fakaofo",+ "Pacific/Fiji",+ "Pacific/Funafuti",+ "Pacific/Galapagos",+ "Pacific/Gambier",+ "Pacific/Guadalcanal",+ "Pacific/Guam",+ "Pacific/Honolulu",+ "Pacific/Kiritimati",+ "Pacific/Kosrae",+ "Pacific/Kwajalein",+ "Pacific/Majuro",+ "Pacific/Marquesas",+ "Pacific/Midway",+ "Pacific/Nauru",+ "Pacific/Niue",+ "Pacific/Norfolk",+ "Pacific/Noumea",+ "Pacific/Pago_Pago",+ "Pacific/Palau",+ "Pacific/Pitcairn",+ "Pacific/Pohnpei",+ "Pacific/Port_Moresby",+ "Pacific/Rarotonga",+ "Pacific/Saipan",+ "Pacific/Tahiti",+ "Pacific/Tarawa",+ "Pacific/Tongatapu",+ "Pacific/Wake",+ "Pacific/Wallis",+ "UTC"+ ]+ },+ "public.enum_events_link_target": {+ "name": "enum_events_link_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum_events_main_cta_target": {+ "name": "enum_events_main_cta_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum_events_status": {+ "name": "enum_events_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__events_v_version_type": {+ "name": "enum__events_v_version_type",+ "schema": "public",+ "values": [+ "conference",+ "hackathon",+ "launch-week",+ "meetup",+ "office-hours",+ "talk",+ "webinar",+ "workshop",+ "other"+ ]+ },+ "public.enum__events_v_version_timezone": {+ "name": "enum__events_v_version_timezone",+ "schema": "public",+ "values": [+ "Africa/Abidjan",+ "Africa/Accra",+ "Africa/Addis_Ababa",+ "Africa/Algiers",+ "Africa/Asmara",+ "Africa/Bamako",+ "Africa/Bangui",+ "Africa/Banjul",+ "Africa/Bissau",+ "Africa/Blantyre",+ "Africa/Brazzaville",+ "Africa/Bujumbura",+ "Africa/Cairo",+ "Africa/Casablanca",+ "Africa/Ceuta",+ "Africa/Conakry",+ "Africa/Dakar",+ "Africa/Dar_es_Salaam",+ "Africa/Djibouti",+ "Africa/Douala",+ "Africa/El_Aaiun",+ "Africa/Freetown",+ "Africa/Gaborone",+ "Africa/Harare",+ "Africa/Johannesburg",+ "Africa/Juba",+ "Africa/Kampala",+ "Africa/Khartoum",+ "Africa/Kigali",+ "Africa/Kinshasa",+ "Africa/Lagos",+ "Africa/Libreville",+ "Africa/Lome",+ "Africa/Luanda",+ "Africa/Lubumbashi",+ "Africa/Lusaka",+ "Africa/Malabo",+ "Africa/Maputo",+ "Africa/Maseru",+ "Africa/Mbabane",+ "Africa/Mogadishu",+ "Africa/Monrovia",+ "Africa/Nairobi",+ "Africa/Ndjamena",+ "Africa/Niamey",+ "Africa/Nouakchott",+ "Africa/Ouagadougou",+ "Africa/Porto-Novo",+ "Africa/Sao_Tome",+ "Africa/Tripoli",+ "Africa/Tunis",+ "Africa/Windhoek",+ "America/Adak",+ "America/Anchorage",+ "America/Anguilla",+ "America/Antigua",+ "America/Araguaina",+ "America/Argentina/Buenos_Aires",+ "America/Argentina/Catamarca",+ "America/Argentina/Cordoba",+ "America/Argentina/Jujuy",+ "America/Argentina/La_Rioja",+ "America/Argentina/Mendoza",+ "America/Argentina/Rio_Gallegos",+ "America/Argentina/Salta",+ "America/Argentina/San_Juan",+ "America/Argentina/San_Luis",+ "America/Argentina/Tucuman",+ "America/Argentina/Ushuaia",+ "America/Aruba",+ "America/Asuncion",+ "America/Atikokan",+ "America/Bahia",+ "America/Bahia_Banderas",+ "America/Barbados",+ "America/Belem",+ "America/Belize",+ "America/Blanc-Sablon",+ "America/Boa_Vista",+ "America/Bogota",+ "America/Boise",+ "America/Cambridge_Bay",+ "America/Campo_Grande",+ "America/Cancun",+ "America/Caracas",+ "America/Cayenne",+ "America/Cayman",+ "America/Chicago",+ "America/Chihuahua",+ "America/Costa_Rica",+ "America/Creston",+ "America/Cuiaba",+ "America/Curacao",+ "America/Danmarkshavn",+ "America/Dawson",+ "America/Dawson_Creek",+ "America/Denver",+ "America/Detroit",+ "America/Dominica",+ "America/Edmonton",+ "America/Eirunepe",+ "America/El_Salvador",+ "America/Fort_Nelson",+ "America/Fortaleza",+ "America/Glace_Bay",+ "America/Godthab",+ "America/Goose_Bay",+ "America/Grand_Turk",+ "America/Grenada",+ "America/Guadeloupe",+ "America/Guatemala",+ "America/Guayaquil",+ "America/Guyana",+ "America/Halifax",+ "America/Havana",+ "America/Hermosillo",+ "America/Indiana/Indianapolis",+ "America/Indiana/Knox",+ "America/Indiana/Marengo",+ "America/Indiana/Petersburg",+ "America/Indiana/Tell_City",+ "America/Indiana/Vevay",+ "America/Indiana/Vincennes",+ "America/Indiana/Winamac",+ "America/Inuvik",+ "America/Iqaluit",+ "America/Jamaica",+ "America/Juneau",+ "America/Kentucky/Louisville",+ "America/Kentucky/Monticello",+ "America/Kralendijk",+ "America/La_Paz",+ "America/Lima",+ "America/Los_Angeles",+ "America/Lower_Princes",+ "America/Maceio",+ "America/Managua",+ "America/Manaus",+ "America/Marigot",+ "America/Martinique",+ "America/Matamoros",+ "America/Mazatlan",+ "America/Menominee",+ "America/Merida",+ "America/Metlakatla",+ "America/Mexico_City",+ "America/Miquelon",+ "America/Moncton",+ "America/Monterrey",+ "America/Montevideo",+ "America/Montserrat",+ "America/Nassau",+ "America/New_York",+ "America/Nipigon",+ "America/Nome",+ "America/Noronha",+ "America/North_Dakota/Beulah",+ "America/North_Dakota/Center",+ "America/North_Dakota/New_Salem",+ "America/Ojinaga",+ "America/Panama",+ "America/Pangnirtung",+ "America/Paramaribo",+ "America/Phoenix",+ "America/Port-au-Prince",+ "America/Port_of_Spain",+ "America/Porto_Velho",+ "America/Puerto_Rico",+ "America/Punta_Arenas",+ "America/Rainy_River",+ "America/Rankin_Inlet",+ "America/Recife",+ "America/Regina",+ "America/Resolute",+ "America/Rio_Branco",+ "America/Santarem",+ "America/Santiago",+ "America/Santo_Domingo",+ "America/Sao_Paulo",+ "America/Scoresbysund",+ "America/Sitka",+ "America/St_Barthelemy",+ "America/St_Johns",+ "America/St_Kitts",+ "America/St_Lucia",+ "America/St_Thomas",+ "America/St_Vincent",+ "America/Swift_Current",+ "America/Tegucigalpa",+ "America/Thule",+ "America/Thunder_Bay",+ "America/Tijuana",+ "America/Toronto",+ "America/Tortola",+ "America/Vancouver",+ "America/Whitehorse",+ "America/Winnipeg",+ "America/Yakutat",+ "America/Yellowknife",+ "Antarctica/Casey",+ "Antarctica/Davis",+ "Antarctica/DumontDUrville",+ "Antarctica/Macquarie",+ "Antarctica/Mawson",+ "Antarctica/McMurdo",+ "Antarctica/Palmer",+ "Antarctica/Rothera",+ "Antarctica/Syowa",+ "Antarctica/Troll",+ "Antarctica/Vostok",+ "Arctic/Longyearbyen",+ "Asia/Aden",+ "Asia/Almaty",+ "Asia/Amman",+ "Asia/Anadyr",+ "Asia/Aqtau",+ "Asia/Aqtobe",+ "Asia/Ashgabat",+ "Asia/Atyrau",+ "Asia/Baghdad",+ "Asia/Bahrain",+ "Asia/Baku",+ "Asia/Bangkok",+ "Asia/Barnaul",+ "Asia/Beirut",+ "Asia/Bishkek",+ "Asia/Brunei",+ "Asia/Chita",+ "Asia/Choibalsan",+ "Asia/Colombo",+ "Asia/Damascus",+ "Asia/Dhaka",+ "Asia/Dili",+ "Asia/Dubai",+ "Asia/Dushanbe",+ "Asia/Famagusta",+ "Asia/Gaza",+ "Asia/Hebron",+ "Asia/Ho_Chi_Minh",+ "Asia/Hong_Kong",+ "Asia/Hovd",+ "Asia/Irkutsk",+ "Asia/Istanbul",+ "Asia/Jakarta",+ "Asia/Jayapura",+ "Asia/Jerusalem",+ "Asia/Kabul",+ "Asia/Kamchatka",+ "Asia/Karachi",+ "Asia/Kathmandu",+ "Asia/Khandyga",+ "Asia/Kolkata",+ "Asia/Krasnoyarsk",+ "Asia/Kuala_Lumpur",+ "Asia/Kuching",+ "Asia/Kuwait",+ "Asia/Macau",+ "Asia/Magadan",+ "Asia/Makassar",+ "Asia/Manila",+ "Asia/Muscat",+ "Asia/Nicosia",+ "Asia/Novokuznetsk",+ "Asia/Novosibirsk",+ "Asia/Omsk",+ "Asia/Oral",+ "Asia/Phnom_Penh",+ "Asia/Pontianak",+ "Asia/Pyongyang",+ "Asia/Qatar",+ "Asia/Qostanay",+ "Asia/Qyzylorda",+ "Asia/Riyadh",+ "Asia/Sakhalin",+ "Asia/Samarkand",+ "Asia/Seoul",+ "Asia/Shanghai",+ "Asia/Singapore",+ "Asia/Srednekolymsk",+ "Asia/Taipei",+ "Asia/Tashkent",+ "Asia/Tbilisi",+ "Asia/Tehran",+ "Asia/Thimphu",+ "Asia/Tokyo",+ "Asia/Tomsk",+ "Asia/Ulaanbaatar",+ "Asia/Urumqi",+ "Asia/Ust-Nera",+ "Asia/Vientiane",+ "Asia/Vladivostok",+ "Asia/Yakutsk",+ "Asia/Yangon",+ "Asia/Yekaterinburg",+ "Asia/Yerevan",+ "Atlantic/Azores",+ "Atlantic/Bermuda",+ "Atlantic/Canary",+ "Atlantic/Cape_Verde",+ "Atlantic/Faroe",+ "Atlantic/Madeira",+ "Atlantic/Reykjavik",+ "Atlantic/South_Georgia",+ "Atlantic/St_Helena",+ "Atlantic/Stanley",+ "Australia/Adelaide",+ "Australia/Brisbane",+ "Australia/Broken_Hill",+ "Australia/Currie",+ "Australia/Darwin",+ "Australia/Eucla",+ "Australia/Hobart",+ "Australia/Lindeman",+ "Australia/Lord_Howe",+ "Australia/Melbourne",+ "Australia/Perth",+ "Australia/Sydney",+ "Europe/Amsterdam",+ "Europe/Andorra",+ "Europe/Astrakhan",+ "Europe/Athens",+ "Europe/Belgrade",+ "Europe/Berlin",+ "Europe/Bratislava",+ "Europe/Brussels",+ "Europe/Bucharest",+ "Europe/Budapest",+ "Europe/Busingen",+ "Europe/Chisinau",+ "Europe/Copenhagen",+ "Europe/Dublin",+ "Europe/Gibraltar",+ "Europe/Guernsey",+ "Europe/Helsinki",+ "Europe/Isle_of_Man",+ "Europe/Istanbul",+ "Europe/Jersey",+ "Europe/Kaliningrad",+ "Europe/Kiev",+ "Europe/Kirov",+ "Europe/Lisbon",+ "Europe/Ljubljana",+ "Europe/London",+ "Europe/Luxembourg",+ "Europe/Madrid",+ "Europe/Malta",+ "Europe/Mariehamn",+ "Europe/Minsk",+ "Europe/Monaco",+ "Europe/Moscow",+ "Europe/Oslo",+ "Europe/Paris",+ "Europe/Podgorica",+ "Europe/Prague",+ "Europe/Riga",+ "Europe/Rome",+ "Europe/Samara",+ "Europe/San_Marino",+ "Europe/Sarajevo",+ "Europe/Saratov",+ "Europe/Simferopol",+ "Europe/Skopje",+ "Europe/Sofia",+ "Europe/Stockholm",+ "Europe/Tallinn",+ "Europe/Tirane",+ "Europe/Ulyanovsk",+ "Europe/Uzhgorod",+ "Europe/Vaduz",+ "Europe/Vatican",+ "Europe/Vienna",+ "Europe/Vilnius",+ "Europe/Volgograd",+ "Europe/Warsaw",+ "Europe/Zagreb",+ "Europe/Zaporozhye",+ "Europe/Zurich",+ "Indian/Antananarivo",+ "Indian/Chagos",+ "Indian/Christmas",+ "Indian/Cocos",+ "Indian/Comoro",+ "Indian/Kerguelen",+ "Indian/Mahe",+ "Indian/Maldives",+ "Indian/Mauritius",+ "Indian/Mayotte",+ "Indian/Reunion",+ "Pacific/Apia",+ "Pacific/Auckland",+ "Pacific/Bougainville",+ "Pacific/Chatham",+ "Pacific/Chuuk",+ "Pacific/Easter",+ "Pacific/Efate",+ "Pacific/Enderbury",+ "Pacific/Fakaofo",+ "Pacific/Fiji",+ "Pacific/Funafuti",+ "Pacific/Galapagos",+ "Pacific/Gambier",+ "Pacific/Guadalcanal",+ "Pacific/Guam",+ "Pacific/Honolulu",+ "Pacific/Kiritimati",+ "Pacific/Kosrae",+ "Pacific/Kwajalein",+ "Pacific/Majuro",+ "Pacific/Marquesas",+ "Pacific/Midway",+ "Pacific/Nauru",+ "Pacific/Niue",+ "Pacific/Norfolk",+ "Pacific/Noumea",+ "Pacific/Pago_Pago",+ "Pacific/Palau",+ "Pacific/Pitcairn",+ "Pacific/Pohnpei",+ "Pacific/Port_Moresby",+ "Pacific/Rarotonga",+ "Pacific/Saipan",+ "Pacific/Tahiti",+ "Pacific/Tarawa",+ "Pacific/Tongatapu",+ "Pacific/Wake",+ "Pacific/Wallis",+ "UTC"+ ]+ },+ "public.enum__events_v_version_link_target": {+ "name": "enum__events_v_version_link_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum__events_v_version_main_cta_target": {+ "name": "enum__events_v_version_main_cta_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum__events_v_version_status": {+ "name": "enum__events_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_posts_launchweek": {+ "name": "enum_posts_launchweek",+ "schema": "public",+ "values": [+ "6",+ "7",+ "8",+ "x",+ "ga",+ "12",+ "13",+ "14",+ "15"+ ]+ },+ "public.enum_posts_status": {+ "name": "enum_posts_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__posts_v_version_launchweek": {+ "name": "enum__posts_v_version_launchweek",+ "schema": "public",+ "values": [+ "6",+ "7",+ "8",+ "x",+ "ga",+ "12",+ "13",+ "14",+ "15"+ ]+ },+ "public.enum__posts_v_version_status": {+ "name": "enum__posts_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_users_roles": {+ "name": "enum_users_roles",+ "schema": "public",+ "values": [+ "admin",+ "editor"+ ]+ },+ "public.enum_payload_jobs_log_task_slug": {+ "name": "enum_payload_jobs_log_task_slug",+ "schema": "public",+ "values": [+ "inline",+ "schedulePublish"+ ]+ },+ "public.enum_payload_jobs_log_state": {+ "name": "enum_payload_jobs_log_state",+ "schema": "public",+ "values": [+ "failed",+ "succeeded"+ ]+ },+ "public.enum_payload_jobs_task_slug": {+ "name": "enum_payload_jobs_task_slug",+ "schema": "public",+ "values": [+ "inline",+ "schedulePublish"+ ]+ }+ },+ "schemas": {},+ "sequences": {},+ "roles": {},+ "policies": {},+ "views": {},+ "_meta": {+ "schemas": {},+ "tables": {},+ "columns": {}+ }+}\ No newline at end of filediff --git a/apps/cms/src/migrations/20250821_151248.ts b/apps/cms/src/migrations/20250821_151248.tsnew file mode 100644index 00000000000..bcafe38ab1f--- /dev/null+++ b/apps/cms/src/migrations/20250821_151248.ts@@ -0,0 +1,23 @@+import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'++export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {+ await db.execute(sql`+ ALTER TABLE "posts" ALTER COLUMN "toc_depth" SET DEFAULT 3;+ ALTER TABLE "_posts_v" ALTER COLUMN "version_toc_depth" SET DEFAULT 3;+ CREATE INDEX "authors_author_idx" ON "authors" USING btree ("author");+ CREATE INDEX "categories_name_idx" ON "categories" USING btree ("name");+ CREATE INDEX "posts_title_idx" ON "posts" USING btree ("title");+ CREATE INDEX "_posts_v_version_version_title_idx" ON "_posts_v" USING btree ("version_title");+ CREATE INDEX "tags_name_idx" ON "tags" USING btree ("name");`)+}++export async function down({ db, payload, req }: MigrateDownArgs): Promise<void> {+ await db.execute(sql`+ DROP INDEX "authors_author_idx";+ DROP INDEX "categories_name_idx";+ DROP INDEX "posts_title_idx";+ DROP INDEX "_posts_v_version_version_title_idx";+ DROP INDEX "tags_name_idx";+ ALTER TABLE "posts" ALTER COLUMN "toc_depth" SET DEFAULT 2;+ ALTER TABLE "_posts_v" ALTER COLUMN "version_toc_depth" SET DEFAULT 2;`)+}diff --git a/apps/cms/src/migrations/20250821_165446.json b/apps/cms/src/migrations/20250821_165446.jsonnew file mode 100644index 00000000000..47053f2ebee--- /dev/null+++ b/apps/cms/src/migrations/20250821_165446.json@@ -0,0 +1,7451 @@+{+ "id": "e08c69c7-89c4-42d2-a378-9f5a0e424b70",+ "prevId": "00000000-0000-0000-0000-000000000000",+ "version": "7",+ "dialect": "postgresql",+ "tables": {+ "public.authors": {+ "name": "authors",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "author": {+ "name": "author",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "author_id": {+ "name": "author_id",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "username": {+ "name": "username",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "position": {+ "name": "position",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company": {+ "name": "company",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "author_url": {+ "name": "author_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "author_image_url_id": {+ "name": "author_image_url_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "authors_author_idx": {+ "name": "authors_author_idx",+ "columns": [+ {+ "expression": "author",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_author_id_idx": {+ "name": "authors_author_id_idx",+ "columns": [+ {+ "expression": "author_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_author_image_url_idx": {+ "name": "authors_author_image_url_idx",+ "columns": [+ {+ "expression": "author_image_url_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_updated_at_idx": {+ "name": "authors_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_created_at_idx": {+ "name": "authors_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "authors_author_image_url_id_media_id_fk": {+ "name": "authors_author_image_url_id_media_id_fk",+ "tableFrom": "authors",+ "tableTo": "media",+ "columnsFrom": [+ "author_image_url_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.categories_breadcrumbs": {+ "name": "categories_breadcrumbs",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "doc_id": {+ "name": "doc_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "url": {+ "name": "url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "categories_breadcrumbs_order_idx": {+ "name": "categories_breadcrumbs_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_breadcrumbs_parent_id_idx": {+ "name": "categories_breadcrumbs_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_breadcrumbs_doc_idx": {+ "name": "categories_breadcrumbs_doc_idx",+ "columns": [+ {+ "expression": "doc_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "categories_breadcrumbs_doc_id_categories_id_fk": {+ "name": "categories_breadcrumbs_doc_id_categories_id_fk",+ "tableFrom": "categories_breadcrumbs",+ "tableTo": "categories",+ "columnsFrom": [+ "doc_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "categories_breadcrumbs_parent_id_fk": {+ "name": "categories_breadcrumbs_parent_id_fk",+ "tableFrom": "categories_breadcrumbs",+ "tableTo": "categories",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.categories": {+ "name": "categories",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "categories_name_idx": {+ "name": "categories_name_idx",+ "columns": [+ {+ "expression": "name",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_parent_idx": {+ "name": "categories_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_updated_at_idx": {+ "name": "categories_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_created_at_idx": {+ "name": "categories_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "categories_parent_id_categories_id_fk": {+ "name": "categories_parent_id_categories_id_fk",+ "tableFrom": "categories",+ "tableTo": "categories",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_stats": {+ "name": "customers_stats",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "stat": {+ "name": "stat",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "customers_stats_order_idx": {+ "name": "customers_stats_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_stats_parent_id_idx": {+ "name": "customers_stats_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_stats_parent_id_fk": {+ "name": "customers_stats_parent_id_fk",+ "tableFrom": "customers_stats",+ "tableTo": "customers",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_misc": {+ "name": "customers_misc",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "text": {+ "name": "text",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "customers_misc_order_idx": {+ "name": "customers_misc_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_misc_parent_id_idx": {+ "name": "customers_misc_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_misc_parent_id_fk": {+ "name": "customers_misc_parent_id_fk",+ "tableFrom": "customers_misc",+ "tableTo": "customers",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_industry": {+ "name": "customers_industry",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_customers_industry",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "customers_industry_order_idx": {+ "name": "customers_industry_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_industry_parent_idx": {+ "name": "customers_industry_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_industry_parent_fk": {+ "name": "customers_industry_parent_fk",+ "tableFrom": "customers_industry",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_supabase_products": {+ "name": "customers_supabase_products",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_customers_supabase_products",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "customers_supabase_products_order_idx": {+ "name": "customers_supabase_products_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_supabase_products_parent_idx": {+ "name": "customers_supabase_products_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_supabase_products_parent_fk": {+ "name": "customers_supabase_products_parent_fk",+ "tableFrom": "customers_supabase_products",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers": {+ "name": "customers",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "description": {+ "name": "description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "about": {+ "name": "about",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_url": {+ "name": "company_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_size": {+ "name": "company_size",+ "type": "enum_customers_company_size",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "region": {+ "name": "region",+ "type": "enum_customers_region",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "logo_id": {+ "name": "logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "logo_inverse_id": {+ "name": "logo_inverse_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_customers_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "customers_slug_idx": {+ "name": "customers_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_meta_meta_image_idx": {+ "name": "customers_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_logo_idx": {+ "name": "customers_logo_idx",+ "columns": [+ {+ "expression": "logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_logo_inverse_idx": {+ "name": "customers_logo_inverse_idx",+ "columns": [+ {+ "expression": "logo_inverse_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_updated_at_idx": {+ "name": "customers_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_created_at_idx": {+ "name": "customers_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers__status_idx": {+ "name": "customers__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_meta_image_id_media_id_fk": {+ "name": "customers_meta_image_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "customers_logo_id_media_id_fk": {+ "name": "customers_logo_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "customers_logo_inverse_id_media_id_fk": {+ "name": "customers_logo_inverse_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "logo_inverse_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_stats": {+ "name": "_customers_v_version_stats",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "stat": {+ "name": "stat",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "_uuid": {+ "name": "_uuid",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_version_stats_order_idx": {+ "name": "_customers_v_version_stats_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_stats_parent_id_idx": {+ "name": "_customers_v_version_stats_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_stats_parent_id_fk": {+ "name": "_customers_v_version_stats_parent_id_fk",+ "tableFrom": "_customers_v_version_stats",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_misc": {+ "name": "_customers_v_version_misc",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "text": {+ "name": "text",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "_uuid": {+ "name": "_uuid",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_version_misc_order_idx": {+ "name": "_customers_v_version_misc_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_misc_parent_id_idx": {+ "name": "_customers_v_version_misc_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_misc_parent_id_fk": {+ "name": "_customers_v_version_misc_parent_id_fk",+ "tableFrom": "_customers_v_version_misc",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_industry": {+ "name": "_customers_v_version_industry",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__customers_v_version_industry",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_customers_v_version_industry_order_idx": {+ "name": "_customers_v_version_industry_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_industry_parent_idx": {+ "name": "_customers_v_version_industry_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_industry_parent_fk": {+ "name": "_customers_v_version_industry_parent_fk",+ "tableFrom": "_customers_v_version_industry",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_supabase_products": {+ "name": "_customers_v_version_supabase_products",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__customers_v_version_supabase_products",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_customers_v_version_supabase_products_order_idx": {+ "name": "_customers_v_version_supabase_products_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_supabase_products_parent_idx": {+ "name": "_customers_v_version_supabase_products_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_supabase_products_parent_fk": {+ "name": "_customers_v_version_supabase_products_parent_fk",+ "tableFrom": "_customers_v_version_supabase_products",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v": {+ "name": "_customers_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_name": {+ "name": "version_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_description": {+ "name": "version_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_about": {+ "name": "version_about",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_url": {+ "name": "version_company_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_size": {+ "name": "version_company_size",+ "type": "enum__customers_v_version_company_size",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_region": {+ "name": "version_region",+ "type": "enum__customers_v_version_region",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_logo_id": {+ "name": "version_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_logo_inverse_id": {+ "name": "version_logo_inverse_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__customers_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_parent_idx": {+ "name": "_customers_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_slug_idx": {+ "name": "_customers_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_meta_version_meta_image_idx": {+ "name": "_customers_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_logo_idx": {+ "name": "_customers_v_version_version_logo_idx",+ "columns": [+ {+ "expression": "version_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_logo_inverse_idx": {+ "name": "_customers_v_version_version_logo_inverse_idx",+ "columns": [+ {+ "expression": "version_logo_inverse_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_updated_at_idx": {+ "name": "_customers_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_created_at_idx": {+ "name": "_customers_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version__status_idx": {+ "name": "_customers_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_created_at_idx": {+ "name": "_customers_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_updated_at_idx": {+ "name": "_customers_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_latest_idx": {+ "name": "_customers_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_parent_id_customers_id_fk": {+ "name": "_customers_v_parent_id_customers_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_meta_image_id_media_id_fk": {+ "name": "_customers_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_logo_id_media_id_fk": {+ "name": "_customers_v_version_logo_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_logo_inverse_id_media_id_fk": {+ "name": "_customers_v_version_logo_inverse_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_logo_inverse_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events_type": {+ "name": "events_type",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_events_type",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "events_type_order_idx": {+ "name": "events_type_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_type_parent_idx": {+ "name": "events_type_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_type_parent_fk": {+ "name": "events_type_parent_fk",+ "tableFrom": "events_type",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events": {+ "name": "events",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "subtitle": {+ "name": "subtitle",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "thumb_id": {+ "name": "thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "image_id": {+ "name": "image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "date": {+ "name": "date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "timezone": {+ "name": "timezone",+ "type": "enum_events_timezone",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "show_end_date": {+ "name": "show_end_date",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "end_date": {+ "name": "end_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "duration": {+ "name": "duration",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "on_demand": {+ "name": "on_demand",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "disable_page_build": {+ "name": "disable_page_build",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "link_href": {+ "name": "link_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "link_target": {+ "name": "link_target",+ "type": "enum_events_link_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "main_cta_href": {+ "name": "main_cta_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "main_cta_target": {+ "name": "main_cta_target",+ "type": "enum_events_main_cta_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "main_cta_label": {+ "name": "main_cta_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "main_cta_disabled": {+ "name": "main_cta_disabled",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "main_cta_disabled_label": {+ "name": "main_cta_disabled_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_show_company": {+ "name": "company_show_company",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "company_name": {+ "name": "company_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_website_url": {+ "name": "company_website_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_logo_id": {+ "name": "company_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "company_logo_light_id": {+ "name": "company_logo_light_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "participants_show_participants": {+ "name": "participants_show_participants",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_events_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "events_slug_idx": {+ "name": "events_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_thumb_idx": {+ "name": "events_thumb_idx",+ "columns": [+ {+ "expression": "thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_image_idx": {+ "name": "events_image_idx",+ "columns": [+ {+ "expression": "image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_company_company_logo_idx": {+ "name": "events_company_company_logo_idx",+ "columns": [+ {+ "expression": "company_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_company_company_logo_light_idx": {+ "name": "events_company_company_logo_light_idx",+ "columns": [+ {+ "expression": "company_logo_light_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_meta_meta_image_idx": {+ "name": "events_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_updated_at_idx": {+ "name": "events_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_created_at_idx": {+ "name": "events_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events__status_idx": {+ "name": "events__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_thumb_id_media_id_fk": {+ "name": "events_thumb_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_image_id_media_id_fk": {+ "name": "events_image_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_company_logo_id_media_id_fk": {+ "name": "events_company_logo_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "company_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_company_logo_light_id_media_id_fk": {+ "name": "events_company_logo_light_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "company_logo_light_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_meta_image_id_media_id_fk": {+ "name": "events_meta_image_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events_rels": {+ "name": "events_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "events_rels_order_idx": {+ "name": "events_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_parent_idx": {+ "name": "events_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_path_idx": {+ "name": "events_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_authors_id_idx": {+ "name": "events_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_rels_parent_fk": {+ "name": "events_rels_parent_fk",+ "tableFrom": "events_rels",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "events_rels_authors_fk": {+ "name": "events_rels_authors_fk",+ "tableFrom": "events_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v_version_type": {+ "name": "_events_v_version_type",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__events_v_version_type",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_events_v_version_type_order_idx": {+ "name": "_events_v_version_type_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_type_parent_idx": {+ "name": "_events_v_version_type_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_version_type_parent_fk": {+ "name": "_events_v_version_type_parent_fk",+ "tableFrom": "_events_v_version_type",+ "tableTo": "_events_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v": {+ "name": "_events_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_subtitle": {+ "name": "version_subtitle",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_thumb_id": {+ "name": "version_thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_image_id": {+ "name": "version_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_date": {+ "name": "version_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_timezone": {+ "name": "version_timezone",+ "type": "enum__events_v_version_timezone",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_show_end_date": {+ "name": "version_show_end_date",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_end_date": {+ "name": "version_end_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_duration": {+ "name": "version_duration",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_on_demand": {+ "name": "version_on_demand",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_disable_page_build": {+ "name": "version_disable_page_build",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_link_href": {+ "name": "version_link_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_link_target": {+ "name": "version_link_target",+ "type": "enum__events_v_version_link_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "version_main_cta_href": {+ "name": "version_main_cta_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_main_cta_target": {+ "name": "version_main_cta_target",+ "type": "enum__events_v_version_main_cta_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "version_main_cta_label": {+ "name": "version_main_cta_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_main_cta_disabled": {+ "name": "version_main_cta_disabled",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_main_cta_disabled_label": {+ "name": "version_main_cta_disabled_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_show_company": {+ "name": "version_company_show_company",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_company_name": {+ "name": "version_company_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_website_url": {+ "name": "version_company_website_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_logo_id": {+ "name": "version_company_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_logo_light_id": {+ "name": "version_company_logo_light_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_participants_show_participants": {+ "name": "version_participants_show_participants",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__events_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_events_v_parent_idx": {+ "name": "_events_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_slug_idx": {+ "name": "_events_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_thumb_idx": {+ "name": "_events_v_version_version_thumb_idx",+ "columns": [+ {+ "expression": "version_thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_image_idx": {+ "name": "_events_v_version_version_image_idx",+ "columns": [+ {+ "expression": "version_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_company_version_company_logo_idx": {+ "name": "_events_v_version_company_version_company_logo_idx",+ "columns": [+ {+ "expression": "version_company_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_company_version_company_logo_light_idx": {+ "name": "_events_v_version_company_version_company_logo_light_idx",+ "columns": [+ {+ "expression": "version_company_logo_light_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_meta_version_meta_image_idx": {+ "name": "_events_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_updated_at_idx": {+ "name": "_events_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_created_at_idx": {+ "name": "_events_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version__status_idx": {+ "name": "_events_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_created_at_idx": {+ "name": "_events_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_updated_at_idx": {+ "name": "_events_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_latest_idx": {+ "name": "_events_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_parent_id_events_id_fk": {+ "name": "_events_v_parent_id_events_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_thumb_id_media_id_fk": {+ "name": "_events_v_version_thumb_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_image_id_media_id_fk": {+ "name": "_events_v_version_image_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_company_logo_id_media_id_fk": {+ "name": "_events_v_version_company_logo_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_company_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_company_logo_light_id_media_id_fk": {+ "name": "_events_v_version_company_logo_light_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_company_logo_light_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_meta_image_id_media_id_fk": {+ "name": "_events_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v_rels": {+ "name": "_events_v_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_events_v_rels_order_idx": {+ "name": "_events_v_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_parent_idx": {+ "name": "_events_v_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_path_idx": {+ "name": "_events_v_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_authors_id_idx": {+ "name": "_events_v_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_rels_parent_fk": {+ "name": "_events_v_rels_parent_fk",+ "tableFrom": "_events_v_rels",+ "tableTo": "_events_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_events_v_rels_authors_fk": {+ "name": "_events_v_rels_authors_fk",+ "tableFrom": "_events_v_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.media": {+ "name": "media",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "alt": {+ "name": "alt",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "caption": {+ "name": "caption",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "prefix": {+ "name": "prefix",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false,+ "default": "'media'"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "url": {+ "name": "url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "thumbnail_u_r_l": {+ "name": "thumbnail_u_r_l",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "filename": {+ "name": "filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "mime_type": {+ "name": "mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "filesize": {+ "name": "filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "width": {+ "name": "width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "height": {+ "name": "height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "focal_x": {+ "name": "focal_x",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "focal_y": {+ "name": "focal_y",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_url": {+ "name": "sizes_thumbnail_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_width": {+ "name": "sizes_thumbnail_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_height": {+ "name": "sizes_thumbnail_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_mime_type": {+ "name": "sizes_thumbnail_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_filesize": {+ "name": "sizes_thumbnail_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_filename": {+ "name": "sizes_thumbnail_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_url": {+ "name": "sizes_square_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_width": {+ "name": "sizes_square_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_height": {+ "name": "sizes_square_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_mime_type": {+ "name": "sizes_square_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_filesize": {+ "name": "sizes_square_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_filename": {+ "name": "sizes_square_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_url": {+ "name": "sizes_small_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_width": {+ "name": "sizes_small_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_height": {+ "name": "sizes_small_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_mime_type": {+ "name": "sizes_small_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_filesize": {+ "name": "sizes_small_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_filename": {+ "name": "sizes_small_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_url": {+ "name": "sizes_medium_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_width": {+ "name": "sizes_medium_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_height": {+ "name": "sizes_medium_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_mime_type": {+ "name": "sizes_medium_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_filesize": {+ "name": "sizes_medium_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_filename": {+ "name": "sizes_medium_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_url": {+ "name": "sizes_large_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_width": {+ "name": "sizes_large_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_height": {+ "name": "sizes_large_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_mime_type": {+ "name": "sizes_large_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_filesize": {+ "name": "sizes_large_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_filename": {+ "name": "sizes_large_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_url": {+ "name": "sizes_xlarge_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_width": {+ "name": "sizes_xlarge_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_height": {+ "name": "sizes_xlarge_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_mime_type": {+ "name": "sizes_xlarge_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_filesize": {+ "name": "sizes_xlarge_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_filename": {+ "name": "sizes_xlarge_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_url": {+ "name": "sizes_og_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_width": {+ "name": "sizes_og_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_height": {+ "name": "sizes_og_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_mime_type": {+ "name": "sizes_og_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_filesize": {+ "name": "sizes_og_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_filename": {+ "name": "sizes_og_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "media_updated_at_idx": {+ "name": "media_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_created_at_idx": {+ "name": "media_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_filename_idx": {+ "name": "media_filename_idx",+ "columns": [+ {+ "expression": "filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {+ "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",+ "columns": [+ {+ "expression": "sizes_thumbnail_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_square_sizes_square_filename_idx": {+ "name": "media_sizes_square_sizes_square_filename_idx",+ "columns": [+ {+ "expression": "sizes_square_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_small_sizes_small_filename_idx": {+ "name": "media_sizes_small_sizes_small_filename_idx",+ "columns": [+ {+ "expression": "sizes_small_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_medium_sizes_medium_filename_idx": {+ "name": "media_sizes_medium_sizes_medium_filename_idx",+ "columns": [+ {+ "expression": "sizes_medium_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_large_sizes_large_filename_idx": {+ "name": "media_sizes_large_sizes_large_filename_idx",+ "columns": [+ {+ "expression": "sizes_large_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_xlarge_sizes_xlarge_filename_idx": {+ "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",+ "columns": [+ {+ "expression": "sizes_xlarge_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_og_sizes_og_filename_idx": {+ "name": "media_sizes_og_sizes_og_filename_idx",+ "columns": [+ {+ "expression": "sizes_og_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.posts": {+ "name": "posts",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "description": {+ "name": "description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "thumb_id": {+ "name": "thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "image_id": {+ "name": "image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "launchweek": {+ "name": "launchweek",+ "type": "enum_posts_launchweek",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "reading_time": {+ "name": "reading_time",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "date": {+ "name": "date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "toc_depth": {+ "name": "toc_depth",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 3+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_posts_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "posts_title_idx": {+ "name": "posts_title_idx",+ "columns": [+ {+ "expression": "title",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_slug_idx": {+ "name": "posts_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_thumb_idx": {+ "name": "posts_thumb_idx",+ "columns": [+ {+ "expression": "thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_image_idx": {+ "name": "posts_image_idx",+ "columns": [+ {+ "expression": "image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_meta_meta_image_idx": {+ "name": "posts_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_updated_at_idx": {+ "name": "posts_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_created_at_idx": {+ "name": "posts_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts__status_idx": {+ "name": "posts__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "posts_thumb_id_media_id_fk": {+ "name": "posts_thumb_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "posts_image_id_media_id_fk": {+ "name": "posts_image_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "posts_meta_image_id_media_id_fk": {+ "name": "posts_meta_image_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.posts_rels": {+ "name": "posts_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "posts_rels_order_idx": {+ "name": "posts_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_parent_idx": {+ "name": "posts_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_path_idx": {+ "name": "posts_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_categories_id_idx": {+ "name": "posts_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_authors_id_idx": {+ "name": "posts_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_tags_id_idx": {+ "name": "posts_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "posts_rels_parent_fk": {+ "name": "posts_rels_parent_fk",+ "tableFrom": "posts_rels",+ "tableTo": "posts",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_categories_fk": {+ "name": "posts_rels_categories_fk",+ "tableFrom": "posts_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_authors_fk": {+ "name": "posts_rels_authors_fk",+ "tableFrom": "posts_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_tags_fk": {+ "name": "posts_rels_tags_fk",+ "tableFrom": "posts_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._posts_v": {+ "name": "_posts_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_description": {+ "name": "version_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_thumb_id": {+ "name": "version_thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_image_id": {+ "name": "version_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_launchweek": {+ "name": "version_launchweek",+ "type": "enum__posts_v_version_launchweek",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_reading_time": {+ "name": "version_reading_time",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "version_date": {+ "name": "version_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_toc_depth": {+ "name": "version_toc_depth",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 3+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__posts_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_posts_v_parent_idx": {+ "name": "_posts_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_title_idx": {+ "name": "_posts_v_version_version_title_idx",+ "columns": [+ {+ "expression": "version_title",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_slug_idx": {+ "name": "_posts_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_thumb_idx": {+ "name": "_posts_v_version_version_thumb_idx",+ "columns": [+ {+ "expression": "version_thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_image_idx": {+ "name": "_posts_v_version_version_image_idx",+ "columns": [+ {+ "expression": "version_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_meta_version_meta_image_idx": {+ "name": "_posts_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_updated_at_idx": {+ "name": "_posts_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_created_at_idx": {+ "name": "_posts_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version__status_idx": {+ "name": "_posts_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_created_at_idx": {+ "name": "_posts_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_updated_at_idx": {+ "name": "_posts_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_latest_idx": {+ "name": "_posts_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_posts_v_parent_id_posts_id_fk": {+ "name": "_posts_v_parent_id_posts_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "posts",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_thumb_id_media_id_fk": {+ "name": "_posts_v_version_thumb_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_image_id_media_id_fk": {+ "name": "_posts_v_version_image_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_meta_image_id_media_id_fk": {+ "name": "_posts_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._posts_v_rels": {+ "name": "_posts_v_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_posts_v_rels_order_idx": {+ "name": "_posts_v_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_parent_idx": {+ "name": "_posts_v_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_path_idx": {+ "name": "_posts_v_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_categories_id_idx": {+ "name": "_posts_v_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_authors_id_idx": {+ "name": "_posts_v_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_tags_id_idx": {+ "name": "_posts_v_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_posts_v_rels_parent_fk": {+ "name": "_posts_v_rels_parent_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "_posts_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_categories_fk": {+ "name": "_posts_v_rels_categories_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_authors_fk": {+ "name": "_posts_v_rels_authors_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_tags_fk": {+ "name": "_posts_v_rels_tags_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.tags": {+ "name": "tags",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "tags_name_idx": {+ "name": "tags_name_idx",+ "columns": [+ {+ "expression": "name",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "tags_updated_at_idx": {+ "name": "tags_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "tags_created_at_idx": {+ "name": "tags_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users_roles": {+ "name": "users_roles",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_users_roles",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "users_roles_order_idx": {+ "name": "users_roles_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_roles_parent_idx": {+ "name": "users_roles_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "users_roles_parent_fk": {+ "name": "users_roles_parent_fk",+ "tableFrom": "users_roles",+ "tableTo": "users",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users_sessions": {+ "name": "users_sessions",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ }+ },+ "indexes": {+ "users_sessions_order_idx": {+ "name": "users_sessions_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_sessions_parent_id_idx": {+ "name": "users_sessions_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "users_sessions_parent_id_fk": {+ "name": "users_sessions_parent_id_fk",+ "tableFrom": "users_sessions",+ "tableTo": "users",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users": {+ "name": "users",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "email": {+ "name": "email",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "reset_password_token": {+ "name": "reset_password_token",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "reset_password_expiration": {+ "name": "reset_password_expiration",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "salt": {+ "name": "salt",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "hash": {+ "name": "hash",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "login_attempts": {+ "name": "login_attempts",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "lock_until": {+ "name": "lock_until",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "users_updated_at_idx": {+ "name": "users_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_created_at_idx": {+ "name": "users_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_email_idx": {+ "name": "users_email_idx",+ "columns": [+ {+ "expression": "email",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_jobs_log": {+ "name": "payload_jobs_log",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "executed_at": {+ "name": "executed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ },+ "completed_at": {+ "name": "completed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ },+ "task_slug": {+ "name": "task_slug",+ "type": "enum_payload_jobs_log_task_slug",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": true+ },+ "task_i_d": {+ "name": "task_i_d",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "input": {+ "name": "input",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "output": {+ "name": "output",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "state": {+ "name": "state",+ "type": "enum_payload_jobs_log_state",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": true+ },+ "error": {+ "name": "error",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_jobs_log_order_idx": {+ "name": "payload_jobs_log_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_log_parent_id_idx": {+ "name": "payload_jobs_log_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_jobs_log_parent_id_fk": {+ "name": "payload_jobs_log_parent_id_fk",+ "tableFrom": "payload_jobs_log",+ "tableTo": "payload_jobs",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_jobs": {+ "name": "payload_jobs",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "input": {+ "name": "input",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "completed_at": {+ "name": "completed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "total_tried": {+ "name": "total_tried",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "has_error": {+ "name": "has_error",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "error": {+ "name": "error",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "task_slug": {+ "name": "task_slug",+ "type": "enum_payload_jobs_task_slug",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "queue": {+ "name": "queue",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false,+ "default": "'default'"+ },+ "wait_until": {+ "name": "wait_until",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "processing": {+ "name": "processing",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_jobs_completed_at_idx": {+ "name": "payload_jobs_completed_at_idx",+ "columns": [+ {+ "expression": "completed_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_total_tried_idx": {+ "name": "payload_jobs_total_tried_idx",+ "columns": [+ {+ "expression": "total_tried",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_has_error_idx": {+ "name": "payload_jobs_has_error_idx",+ "columns": [+ {+ "expression": "has_error",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_task_slug_idx": {+ "name": "payload_jobs_task_slug_idx",+ "columns": [+ {+ "expression": "task_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_queue_idx": {+ "name": "payload_jobs_queue_idx",+ "columns": [+ {+ "expression": "queue",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_wait_until_idx": {+ "name": "payload_jobs_wait_until_idx",+ "columns": [+ {+ "expression": "wait_until",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_processing_idx": {+ "name": "payload_jobs_processing_idx",+ "columns": [+ {+ "expression": "processing",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_updated_at_idx": {+ "name": "payload_jobs_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_created_at_idx": {+ "name": "payload_jobs_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_locked_documents": {+ "name": "payload_locked_documents",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "global_slug": {+ "name": "global_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_locked_documents_global_slug_idx": {+ "name": "payload_locked_documents_global_slug_idx",+ "columns": [+ {+ "expression": "global_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_updated_at_idx": {+ "name": "payload_locked_documents_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_created_at_idx": {+ "name": "payload_locked_documents_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_locked_documents_rels": {+ "name": "payload_locked_documents_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "customers_id": {+ "name": "customers_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "events_id": {+ "name": "events_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "media_id": {+ "name": "media_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "posts_id": {+ "name": "posts_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "users_id": {+ "name": "users_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "payload_jobs_id": {+ "name": "payload_jobs_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_locked_documents_rels_order_idx": {+ "name": "payload_locked_documents_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_parent_idx": {+ "name": "payload_locked_documents_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_path_idx": {+ "name": "payload_locked_documents_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_authors_id_idx": {+ "name": "payload_locked_documents_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_categories_id_idx": {+ "name": "payload_locked_documents_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_customers_id_idx": {+ "name": "payload_locked_documents_rels_customers_id_idx",+ "columns": [+ {+ "expression": "customers_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_events_id_idx": {+ "name": "payload_locked_documents_rels_events_id_idx",+ "columns": [+ {+ "expression": "events_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_media_id_idx": {+ "name": "payload_locked_documents_rels_media_id_idx",+ "columns": [+ {+ "expression": "media_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_posts_id_idx": {+ "name": "payload_locked_documents_rels_posts_id_idx",+ "columns": [+ {+ "expression": "posts_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_tags_id_idx": {+ "name": "payload_locked_documents_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_users_id_idx": {+ "name": "payload_locked_documents_rels_users_id_idx",+ "columns": [+ {+ "expression": "users_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_payload_jobs_id_idx": {+ "name": "payload_locked_documents_rels_payload_jobs_id_idx",+ "columns": [+ {+ "expression": "payload_jobs_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_locked_documents_rels_parent_fk": {+ "name": "payload_locked_documents_rels_parent_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "payload_locked_documents",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_authors_fk": {+ "name": "payload_locked_documents_rels_authors_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_categories_fk": {+ "name": "payload_locked_documents_rels_categories_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_customers_fk": {+ "name": "payload_locked_documents_rels_customers_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "customers",+ "columnsFrom": [+ "customers_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_events_fk": {+ "name": "payload_locked_documents_rels_events_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "events",+ "columnsFrom": [+ "events_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_media_fk": {+ "name": "payload_locked_documents_rels_media_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "media",+ "columnsFrom": [+ "media_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_posts_fk": {+ "name": "payload_locked_documents_rels_posts_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "posts",+ "columnsFrom": [+ "posts_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_tags_fk": {+ "name": "payload_locked_documents_rels_tags_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_users_fk": {+ "name": "payload_locked_documents_rels_users_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "users",+ "columnsFrom": [+ "users_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_payload_jobs_fk": {+ "name": "payload_locked_documents_rels_payload_jobs_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "payload_jobs",+ "columnsFrom": [+ "payload_jobs_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_preferences": {+ "name": "payload_preferences",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "key": {+ "name": "key",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "value": {+ "name": "value",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_preferences_key_idx": {+ "name": "payload_preferences_key_idx",+ "columns": [+ {+ "expression": "key",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_updated_at_idx": {+ "name": "payload_preferences_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_created_at_idx": {+ "name": "payload_preferences_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_preferences_rels": {+ "name": "payload_preferences_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "users_id": {+ "name": "users_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_preferences_rels_order_idx": {+ "name": "payload_preferences_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_parent_idx": {+ "name": "payload_preferences_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_path_idx": {+ "name": "payload_preferences_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_users_id_idx": {+ "name": "payload_preferences_rels_users_id_idx",+ "columns": [+ {+ "expression": "users_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_preferences_rels_parent_fk": {+ "name": "payload_preferences_rels_parent_fk",+ "tableFrom": "payload_preferences_rels",+ "tableTo": "payload_preferences",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_preferences_rels_users_fk": {+ "name": "payload_preferences_rels_users_fk",+ "tableFrom": "payload_preferences_rels",+ "tableTo": "users",+ "columnsFrom": [+ "users_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_migrations": {+ "name": "payload_migrations",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "batch": {+ "name": "batch",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_migrations_updated_at_idx": {+ "name": "payload_migrations_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_migrations_created_at_idx": {+ "name": "payload_migrations_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ }+ },+ "enums": {+ "public.enum_customers_industry": {+ "name": "enum_customers_industry",+ "schema": "public",+ "values": [+ "healthcare",+ "fintech",+ "ecommerce",+ "education",+ "gaming",+ "media",+ "real-estate",+ "saas",+ "social",+ "analytics",+ "ai",+ "developer-tools"+ ]+ },+ "public.enum_customers_supabase_products": {+ "name": "enum_customers_supabase_products",+ "schema": "public",+ "values": [+ "database",+ "auth",+ "storage",+ "realtime",+ "functions",+ "vector"+ ]+ },+ "public.enum_customers_company_size": {+ "name": "enum_customers_company_size",+ "schema": "public",+ "values": [+ "startup",+ "enterprise",+ "indie_dev"+ ]+ },+ "public.enum_customers_region": {+ "name": "enum_customers_region",+ "schema": "public",+ "values": [+ "Asia",+ "Europe",+ "North America",+ "South America",+ "Africa",+ "Oceania"+ ]+ },+ "public.enum_customers_status": {+ "name": "enum_customers_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__customers_v_version_industry": {+ "name": "enum__customers_v_version_industry",+ "schema": "public",+ "values": [+ "healthcare",+ "fintech",+ "ecommerce",+ "education",+ "gaming",+ "media",+ "real-estate",+ "saas",+ "social",+ "analytics",+ "ai",+ "developer-tools"+ ]+ },+ "public.enum__customers_v_version_supabase_products": {+ "name": "enum__customers_v_version_supabase_products",+ "schema": "public",+ "values": [+ "database",+ "auth",+ "storage",+ "realtime",+ "functions",+ "vector"+ ]+ },+ "public.enum__customers_v_version_company_size": {+ "name": "enum__customers_v_version_company_size",+ "schema": "public",+ "values": [+ "startup",+ "enterprise",+ "indie_dev"+ ]+ },+ "public.enum__customers_v_version_region": {+ "name": "enum__customers_v_version_region",+ "schema": "public",+ "values": [+ "Asia",+ "Europe",+ "North America",+ "South America",+ "Africa",+ "Oceania"+ ]+ },+ "public.enum__customers_v_version_status": {+ "name": "enum__customers_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_events_type": {+ "name": "enum_events_type",+ "schema": "public",+ "values": [+ "conference",+ "hackathon",+ "launch-week",+ "meetup",+ "office-hours",+ "talk",+ "webinar",+ "workshop",+ "other"+ ]+ },+ "public.enum_events_timezone": {+ "name": "enum_events_timezone",+ "schema": "public",+ "values": [+ "Africa/Abidjan",+ "Africa/Accra",+ "Africa/Addis_Ababa",+ "Africa/Algiers",+ "Africa/Asmara",+ "Africa/Bamako",+ "Africa/Bangui",+ "Africa/Banjul",+ "Africa/Bissau",+ "Africa/Blantyre",+ "Africa/Brazzaville",+ "Africa/Bujumbura",+ "Africa/Cairo",+ "Africa/Casablanca",+ "Africa/Ceuta",+ "Africa/Conakry",+ "Africa/Dakar",+ "Africa/Dar_es_Salaam",+ "Africa/Djibouti",+ "Africa/Douala",+ "Africa/El_Aaiun",+ "Africa/Freetown",+ "Africa/Gaborone",+ "Africa/Harare",+ "Africa/Johannesburg",+ "Africa/Juba",+ "Africa/Kampala",+ "Africa/Khartoum",+ "Africa/Kigali",+ "Africa/Kinshasa",+ "Africa/Lagos",+ "Africa/Libreville",+ "Africa/Lome",+ "Africa/Luanda",+ "Africa/Lubumbashi",+ "Africa/Lusaka",+ "Africa/Malabo",+ "Africa/Maputo",+ "Africa/Maseru",+ "Africa/Mbabane",+ "Africa/Mogadishu",+ "Africa/Monrovia",+ "Africa/Nairobi",+ "Africa/Ndjamena",+ "Africa/Niamey",+ "Africa/Nouakchott",+ "Africa/Ouagadougou",+ "Africa/Porto-Novo",+ "Africa/Sao_Tome",+ "Africa/Tripoli",+ "Africa/Tunis",+ "Africa/Windhoek",+ "America/Adak",+ "America/Anchorage",+ "America/Anguilla",+ "America/Antigua",+ "America/Araguaina",+ "America/Argentina/Buenos_Aires",+ "America/Argentina/Catamarca",+ "America/Argentina/Cordoba",+ "America/Argentina/Jujuy",+ "America/Argentina/La_Rioja",+ "America/Argentina/Mendoza",+ "America/Argentina/Rio_Gallegos",+ "America/Argentina/Salta",+ "America/Argentina/San_Juan",+ "America/Argentina/San_Luis",+ "America/Argentina/Tucuman",+ "America/Argentina/Ushuaia",+ "America/Aruba",+ "America/Asuncion",+ "America/Atikokan",+ "America/Bahia",+ "America/Bahia_Banderas",+ "America/Barbados",+ "America/Belem",+ "America/Belize",+ "America/Blanc-Sablon",+ "America/Boa_Vista",+ "America/Bogota",+ "America/Boise",+ "America/Cambridge_Bay",+ "America/Campo_Grande",+ "America/Cancun",+ "America/Caracas",+ "America/Cayenne",+ "America/Cayman",+ "America/Chicago",+ "America/Chihuahua",+ "America/Costa_Rica",+ "America/Creston",+ "America/Cuiaba",+ "America/Curacao",+ "America/Danmarkshavn",+ "America/Dawson",+ "America/Dawson_Creek",+ "America/Denver",+ "America/Detroit",+ "America/Dominica",+ "America/Edmonton",+ "America/Eirunepe",+ "America/El_Salvador",+ "America/Fort_Nelson",+ "America/Fortaleza",+ "America/Glace_Bay",+ "America/Godthab",+ "America/Goose_Bay",+ "America/Grand_Turk",+ "America/Grenada",+ "America/Guadeloupe",+ "America/Guatemala",+ "America/Guayaquil",+ "America/Guyana",+ "America/Halifax",+ "America/Havana",+ "America/Hermosillo",+ "America/Indiana/Indianapolis",+ "America/Indiana/Knox",+ "America/Indiana/Marengo",+ "America/Indiana/Petersburg",+ "America/Indiana/Tell_City",+ "America/Indiana/Vevay",+ "America/Indiana/Vincennes",+ "America/Indiana/Winamac",+ "America/Inuvik",+ "America/Iqaluit",+ "America/Jamaica",+ "America/Juneau",+ "America/Kentucky/Louisville",+ "America/Kentucky/Monticello",+ "America/Kralendijk",+ "America/La_Paz",+ "America/Lima",+ "America/Los_Angeles",+ "America/Lower_Princes",+ "America/Maceio",+ "America/Managua",+ "America/Manaus",+ "America/Marigot",+ "America/Martinique",+ "America/Matamoros",+ "America/Mazatlan",+ "America/Menominee",+ "America/Merida",+ "America/Metlakatla",+ "America/Mexico_City",+ "America/Miquelon",+ "America/Moncton",+ "America/Monterrey",+ "America/Montevideo",+ "America/Montserrat",+ "America/Nassau",+ "America/New_York",+ "America/Nipigon",+ "America/Nome",+ "America/Noronha",+ "America/North_Dakota/Beulah",+ "America/North_Dakota/Center",+ "America/North_Dakota/New_Salem",+ "America/Ojinaga",+ "America/Panama",+ "America/Pangnirtung",+ "America/Paramaribo",+ "America/Phoenix",+ "America/Port-au-Prince",+ "America/Port_of_Spain",+ "America/Porto_Velho",+ "America/Puerto_Rico",+ "America/Punta_Arenas",+ "America/Rainy_River",+ "America/Rankin_Inlet",+ "America/Recife",+ "America/Regina",+ "America/Resolute",+ "America/Rio_Branco",+ "America/Santarem",+ "America/Santiago",+ "America/Santo_Domingo",+ "America/Sao_Paulo",+ "America/Scoresbysund",+ "America/Sitka",+ "America/St_Barthelemy",+ "America/St_Johns",+ "America/St_Kitts",+ "America/St_Lucia",+ "America/St_Thomas",+ "America/St_Vincent",+ "America/Swift_Current",+ "America/Tegucigalpa",+ "America/Thule",+ "America/Thunder_Bay",+ "America/Tijuana",+ "America/Toronto",+ "America/Tortola",+ "America/Vancouver",+ "America/Whitehorse",+ "America/Winnipeg",+ "America/Yakutat",+ "America/Yellowknife",+ "Antarctica/Casey",+ "Antarctica/Davis",+ "Antarctica/DumontDUrville",+ "Antarctica/Macquarie",+ "Antarctica/Mawson",+ "Antarctica/McMurdo",+ "Antarctica/Palmer",+ "Antarctica/Rothera",+ "Antarctica/Syowa",+ "Antarctica/Troll",+ "Antarctica/Vostok",+ "Arctic/Longyearbyen",+ "Asia/Aden",+ "Asia/Almaty",+ "Asia/Amman",+ "Asia/Anadyr",+ "Asia/Aqtau",+ "Asia/Aqtobe",+ "Asia/Ashgabat",+ "Asia/Atyrau",+ "Asia/Baghdad",+ "Asia/Bahrain",+ "Asia/Baku",+ "Asia/Bangkok",+ "Asia/Barnaul",+ "Asia/Beirut",+ "Asia/Bishkek",+ "Asia/Brunei",+ "Asia/Chita",+ "Asia/Choibalsan",+ "Asia/Colombo",+ "Asia/Damascus",+ "Asia/Dhaka",+ "Asia/Dili",+ "Asia/Dubai",+ "Asia/Dushanbe",+ "Asia/Famagusta",+ "Asia/Gaza",+ "Asia/Hebron",+ "Asia/Ho_Chi_Minh",+ "Asia/Hong_Kong",+ "Asia/Hovd",+ "Asia/Irkutsk",+ "Asia/Istanbul",+ "Asia/Jakarta",+ "Asia/Jayapura",+ "Asia/Jerusalem",+ "Asia/Kabul",+ "Asia/Kamchatka",+ "Asia/Karachi",+ "Asia/Kathmandu",+ "Asia/Khandyga",+ "Asia/Kolkata",+ "Asia/Krasnoyarsk",+ "Asia/Kuala_Lumpur",+ "Asia/Kuching",+ "Asia/Kuwait",+ "Asia/Macau",+ "Asia/Magadan",+ "Asia/Makassar",+ "Asia/Manila",+ "Asia/Muscat",+ "Asia/Nicosia",+ "Asia/Novokuznetsk",+ "Asia/Novosibirsk",+ "Asia/Omsk",+ "Asia/Oral",+ "Asia/Phnom_Penh",+ "Asia/Pontianak",+ "Asia/Pyongyang",+ "Asia/Qatar",+ "Asia/Qostanay",+ "Asia/Qyzylorda",+ "Asia/Riyadh",+ "Asia/Sakhalin",+ "Asia/Samarkand",+ "Asia/Seoul",+ "Asia/Shanghai",+ "Asia/Singapore",+ "Asia/Srednekolymsk",+ "Asia/Taipei",+ "Asia/Tashkent",+ "Asia/Tbilisi",+ "Asia/Tehran",+ "Asia/Thimphu",+ "Asia/Tokyo",+ "Asia/Tomsk",+ "Asia/Ulaanbaatar",+ "Asia/Urumqi",+ "Asia/Ust-Nera",+ "Asia/Vientiane",+ "Asia/Vladivostok",+ "Asia/Yakutsk",+ "Asia/Yangon",+ "Asia/Yekaterinburg",+ "Asia/Yerevan",+ "Atlantic/Azores",+ "Atlantic/Bermuda",+ "Atlantic/Canary",+ "Atlantic/Cape_Verde",+ "Atlantic/Faroe",+ "Atlantic/Madeira",+ "Atlantic/Reykjavik",+ "Atlantic/South_Georgia",+ "Atlantic/St_Helena",+ "Atlantic/Stanley",+ "Australia/Adelaide",+ "Australia/Brisbane",+ "Australia/Broken_Hill",+ "Australia/Currie",+ "Australia/Darwin",+ "Australia/Eucla",+ "Australia/Hobart",+ "Australia/Lindeman",+ "Australia/Lord_Howe",+ "Australia/Melbourne",+ "Australia/Perth",+ "Australia/Sydney",+ "Europe/Amsterdam",+ "Europe/Andorra",+ "Europe/Astrakhan",+ "Europe/Athens",+ "Europe/Belgrade",+ "Europe/Berlin",+ "Europe/Bratislava",+ "Europe/Brussels",+ "Europe/Bucharest",+ "Europe/Budapest",+ "Europe/Busingen",+ "Europe/Chisinau",+ "Europe/Copenhagen",+ "Europe/Dublin",+ "Europe/Gibraltar",+ "Europe/Guernsey",+ "Europe/Helsinki",+ "Europe/Isle_of_Man",+ "Europe/Istanbul",+ "Europe/Jersey",+ "Europe/Kaliningrad",+ "Europe/Kiev",+ "Europe/Kirov",+ "Europe/Lisbon",+ "Europe/Ljubljana",+ "Europe/London",+ "Europe/Luxembourg",+ "Europe/Madrid",+ "Europe/Malta",+ "Europe/Mariehamn",+ "Europe/Minsk",+ "Europe/Monaco",+ "Europe/Moscow",+ "Europe/Oslo",+ "Europe/Paris",+ "Europe/Podgorica",+ "Europe/Prague",+ "Europe/Riga",+ "Europe/Rome",+ "Europe/Samara",+ "Europe/San_Marino",+ "Europe/Sarajevo",+ "Europe/Saratov",+ "Europe/Simferopol",+ "Europe/Skopje",+ "Europe/Sofia",+ "Europe/Stockholm",+ "Europe/Tallinn",+ "Europe/Tirane",+ "Europe/Ulyanovsk",+ "Europe/Uzhgorod",+ "Europe/Vaduz",+ "Europe/Vatican",+ "Europe/Vienna",+ "Europe/Vilnius",+ "Europe/Volgograd",+ "Europe/Warsaw",+ "Europe/Zagreb",+ "Europe/Zaporozhye",+ "Europe/Zurich",+ "Indian/Antananarivo",+ "Indian/Chagos",+ "Indian/Christmas",+ "Indian/Cocos",+ "Indian/Comoro",+ "Indian/Kerguelen",+ "Indian/Mahe",+ "Indian/Maldives",+ "Indian/Mauritius",+ "Indian/Mayotte",+ "Indian/Reunion",+ "Pacific/Apia",+ "Pacific/Auckland",+ "Pacific/Bougainville",+ "Pacific/Chatham",+ "Pacific/Chuuk",+ "Pacific/Easter",+ "Pacific/Efate",+ "Pacific/Enderbury",+ "Pacific/Fakaofo",+ "Pacific/Fiji",+ "Pacific/Funafuti",+ "Pacific/Galapagos",+ "Pacific/Gambier",+ "Pacific/Guadalcanal",+ "Pacific/Guam",+ "Pacific/Honolulu",+ "Pacific/Kiritimati",+ "Pacific/Kosrae",+ "Pacific/Kwajalein",+ "Pacific/Majuro",+ "Pacific/Marquesas",+ "Pacific/Midway",+ "Pacific/Nauru",+ "Pacific/Niue",+ "Pacific/Norfolk",+ "Pacific/Noumea",+ "Pacific/Pago_Pago",+ "Pacific/Palau",+ "Pacific/Pitcairn",+ "Pacific/Pohnpei",+ "Pacific/Port_Moresby",+ "Pacific/Rarotonga",+ "Pacific/Saipan",+ "Pacific/Tahiti",+ "Pacific/Tarawa",+ "Pacific/Tongatapu",+ "Pacific/Wake",+ "Pacific/Wallis",+ "UTC"+ ]+ },+ "public.enum_events_link_target": {+ "name": "enum_events_link_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum_events_main_cta_target": {+ "name": "enum_events_main_cta_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum_events_status": {+ "name": "enum_events_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__events_v_version_type": {+ "name": "enum__events_v_version_type",+ "schema": "public",+ "values": [+ "conference",+ "hackathon",+ "launch-week",+ "meetup",+ "office-hours",+ "talk",+ "webinar",+ "workshop",+ "other"+ ]+ },+ "public.enum__events_v_version_timezone": {+ "name": "enum__events_v_version_timezone",+ "schema": "public",+ "values": [+ "Africa/Abidjan",+ "Africa/Accra",+ "Africa/Addis_Ababa",+ "Africa/Algiers",+ "Africa/Asmara",+ "Africa/Bamako",+ "Africa/Bangui",+ "Africa/Banjul",+ "Africa/Bissau",+ "Africa/Blantyre",+ "Africa/Brazzaville",+ "Africa/Bujumbura",+ "Africa/Cairo",+ "Africa/Casablanca",+ "Africa/Ceuta",+ "Africa/Conakry",+ "Africa/Dakar",+ "Africa/Dar_es_Salaam",+ "Africa/Djibouti",+ "Africa/Douala",+ "Africa/El_Aaiun",+ "Africa/Freetown",+ "Africa/Gaborone",+ "Africa/Harare",+ "Africa/Johannesburg",+ "Africa/Juba",+ "Africa/Kampala",+ "Africa/Khartoum",+ "Africa/Kigali",+ "Africa/Kinshasa",+ "Africa/Lagos",+ "Africa/Libreville",+ "Africa/Lome",+ "Africa/Luanda",+ "Africa/Lubumbashi",+ "Africa/Lusaka",+ "Africa/Malabo",+ "Africa/Maputo",+ "Africa/Maseru",+ "Africa/Mbabane",+ "Africa/Mogadishu",+ "Africa/Monrovia",+ "Africa/Nairobi",+ "Africa/Ndjamena",+ "Africa/Niamey",+ "Africa/Nouakchott",+ "Africa/Ouagadougou",+ "Africa/Porto-Novo",+ "Africa/Sao_Tome",+ "Africa/Tripoli",+ "Africa/Tunis",+ "Africa/Windhoek",+ "America/Adak",+ "America/Anchorage",+ "America/Anguilla",+ "America/Antigua",+ "America/Araguaina",+ "America/Argentina/Buenos_Aires",+ "America/Argentina/Catamarca",+ "America/Argentina/Cordoba",+ "America/Argentina/Jujuy",+ "America/Argentina/La_Rioja",+ "America/Argentina/Mendoza",+ "America/Argentina/Rio_Gallegos",+ "America/Argentina/Salta",+ "America/Argentina/San_Juan",+ "America/Argentina/San_Luis",+ "America/Argentina/Tucuman",+ "America/Argentina/Ushuaia",+ "America/Aruba",+ "America/Asuncion",+ "America/Atikokan",+ "America/Bahia",+ "America/Bahia_Banderas",+ "America/Barbados",+ "America/Belem",+ "America/Belize",+ "America/Blanc-Sablon",+ "America/Boa_Vista",+ "America/Bogota",+ "America/Boise",+ "America/Cambridge_Bay",+ "America/Campo_Grande",+ "America/Cancun",+ "America/Caracas",+ "America/Cayenne",+ "America/Cayman",+ "America/Chicago",+ "America/Chihuahua",+ "America/Costa_Rica",+ "America/Creston",+ "America/Cuiaba",+ "America/Curacao",+ "America/Danmarkshavn",+ "America/Dawson",+ "America/Dawson_Creek",+ "America/Denver",+ "America/Detroit",+ "America/Dominica",+ "America/Edmonton",+ "America/Eirunepe",+ "America/El_Salvador",+ "America/Fort_Nelson",+ "America/Fortaleza",+ "America/Glace_Bay",+ "America/Godthab",+ "America/Goose_Bay",+ "America/Grand_Turk",+ "America/Grenada",+ "America/Guadeloupe",+ "America/Guatemala",+ "America/Guayaquil",+ "America/Guyana",+ "America/Halifax",+ "America/Havana",+ "America/Hermosillo",+ "America/Indiana/Indianapolis",+ "America/Indiana/Knox",+ "America/Indiana/Marengo",+ "America/Indiana/Petersburg",+ "America/Indiana/Tell_City",+ "America/Indiana/Vevay",+ "America/Indiana/Vincennes",+ "America/Indiana/Winamac",+ "America/Inuvik",+ "America/Iqaluit",+ "America/Jamaica",+ "America/Juneau",+ "America/Kentucky/Louisville",+ "America/Kentucky/Monticello",+ "America/Kralendijk",+ "America/La_Paz",+ "America/Lima",+ "America/Los_Angeles",+ "America/Lower_Princes",+ "America/Maceio",+ "America/Managua",+ "America/Manaus",+ "America/Marigot",+ "America/Martinique",+ "America/Matamoros",+ "America/Mazatlan",+ "America/Menominee",+ "America/Merida",+ "America/Metlakatla",+ "America/Mexico_City",+ "America/Miquelon",+ "America/Moncton",+ "America/Monterrey",+ "America/Montevideo",+ "America/Montserrat",+ "America/Nassau",+ "America/New_York",+ "America/Nipigon",+ "America/Nome",+ "America/Noronha",+ "America/North_Dakota/Beulah",+ "America/North_Dakota/Center",+ "America/North_Dakota/New_Salem",+ "America/Ojinaga",+ "America/Panama",+ "America/Pangnirtung",+ "America/Paramaribo",+ "America/Phoenix",+ "America/Port-au-Prince",+ "America/Port_of_Spain",+ "America/Porto_Velho",+ "America/Puerto_Rico",+ "America/Punta_Arenas",+ "America/Rainy_River",+ "America/Rankin_Inlet",+ "America/Recife",+ "America/Regina",+ "America/Resolute",+ "America/Rio_Branco",+ "America/Santarem",+ "America/Santiago",+ "America/Santo_Domingo",+ "America/Sao_Paulo",+ "America/Scoresbysund",+ "America/Sitka",+ "America/St_Barthelemy",+ "America/St_Johns",+ "America/St_Kitts",+ "America/St_Lucia",+ "America/St_Thomas",+ "America/St_Vincent",+ "America/Swift_Current",+ "America/Tegucigalpa",+ "America/Thule",+ "America/Thunder_Bay",+ "America/Tijuana",+ "America/Toronto",+ "America/Tortola",+ "America/Vancouver",+ "America/Whitehorse",+ "America/Winnipeg",+ "America/Yakutat",+ "America/Yellowknife",+ "Antarctica/Casey",+ "Antarctica/Davis",+ "Antarctica/DumontDUrville",+ "Antarctica/Macquarie",+ "Antarctica/Mawson",+ "Antarctica/McMurdo",+ "Antarctica/Palmer",+ "Antarctica/Rothera",+ "Antarctica/Syowa",+ "Antarctica/Troll",+ "Antarctica/Vostok",+ "Arctic/Longyearbyen",+ "Asia/Aden",+ "Asia/Almaty",+ "Asia/Amman",+ "Asia/Anadyr",+ "Asia/Aqtau",+ "Asia/Aqtobe",+ "Asia/Ashgabat",+ "Asia/Atyrau",+ "Asia/Baghdad",+ "Asia/Bahrain",+ "Asia/Baku",+ "Asia/Bangkok",+ "Asia/Barnaul",+ "Asia/Beirut",+ "Asia/Bishkek",+ "Asia/Brunei",+ "Asia/Chita",+ "Asia/Choibalsan",+ "Asia/Colombo",+ "Asia/Damascus",+ "Asia/Dhaka",+ "Asia/Dili",+ "Asia/Dubai",+ "Asia/Dushanbe",+ "Asia/Famagusta",+ "Asia/Gaza",+ "Asia/Hebron",+ "Asia/Ho_Chi_Minh",+ "Asia/Hong_Kong",+ "Asia/Hovd",+ "Asia/Irkutsk",+ "Asia/Istanbul",+ "Asia/Jakarta",+ "Asia/Jayapura",+ "Asia/Jerusalem",+ "Asia/Kabul",+ "Asia/Kamchatka",+ "Asia/Karachi",+ "Asia/Kathmandu",+ "Asia/Khandyga",+ "Asia/Kolkata",+ "Asia/Krasnoyarsk",+ "Asia/Kuala_Lumpur",+ "Asia/Kuching",+ "Asia/Kuwait",+ "Asia/Macau",+ "Asia/Magadan",+ "Asia/Makassar",+ "Asia/Manila",+ "Asia/Muscat",+ "Asia/Nicosia",+ "Asia/Novokuznetsk",+ "Asia/Novosibirsk",+ "Asia/Omsk",+ "Asia/Oral",+ "Asia/Phnom_Penh",+ "Asia/Pontianak",+ "Asia/Pyongyang",+ "Asia/Qatar",+ "Asia/Qostanay",+ "Asia/Qyzylorda",+ "Asia/Riyadh",+ "Asia/Sakhalin",+ "Asia/Samarkand",+ "Asia/Seoul",+ "Asia/Shanghai",+ "Asia/Singapore",+ "Asia/Srednekolymsk",+ "Asia/Taipei",+ "Asia/Tashkent",+ "Asia/Tbilisi",+ "Asia/Tehran",+ "Asia/Thimphu",+ "Asia/Tokyo",+ "Asia/Tomsk",+ "Asia/Ulaanbaatar",+ "Asia/Urumqi",+ "Asia/Ust-Nera",+ "Asia/Vientiane",+ "Asia/Vladivostok",+ "Asia/Yakutsk",+ "Asia/Yangon",+ "Asia/Yekaterinburg",+ "Asia/Yerevan",+ "Atlantic/Azores",+ "Atlantic/Bermuda",+ "Atlantic/Canary",+ "Atlantic/Cape_Verde",+ "Atlantic/Faroe",+ "Atlantic/Madeira",+ "Atlantic/Reykjavik",+ "Atlantic/South_Georgia",+ "Atlantic/St_Helena",+ "Atlantic/Stanley",+ "Australia/Adelaide",+ "Australia/Brisbane",+ "Australia/Broken_Hill",+ "Australia/Currie",+ "Australia/Darwin",+ "Australia/Eucla",+ "Australia/Hobart",+ "Australia/Lindeman",+ "Australia/Lord_Howe",+ "Australia/Melbourne",+ "Australia/Perth",+ "Australia/Sydney",+ "Europe/Amsterdam",+ "Europe/Andorra",+ "Europe/Astrakhan",+ "Europe/Athens",+ "Europe/Belgrade",+ "Europe/Berlin",+ "Europe/Bratislava",+ "Europe/Brussels",+ "Europe/Bucharest",+ "Europe/Budapest",+ "Europe/Busingen",+ "Europe/Chisinau",+ "Europe/Copenhagen",+ "Europe/Dublin",+ "Europe/Gibraltar",+ "Europe/Guernsey",+ "Europe/Helsinki",+ "Europe/Isle_of_Man",+ "Europe/Istanbul",+ "Europe/Jersey",+ "Europe/Kaliningrad",+ "Europe/Kiev",+ "Europe/Kirov",+ "Europe/Lisbon",+ "Europe/Ljubljana",+ "Europe/London",+ "Europe/Luxembourg",+ "Europe/Madrid",+ "Europe/Malta",+ "Europe/Mariehamn",+ "Europe/Minsk",+ "Europe/Monaco",+ "Europe/Moscow",+ "Europe/Oslo",+ "Europe/Paris",+ "Europe/Podgorica",+ "Europe/Prague",+ "Europe/Riga",+ "Europe/Rome",+ "Europe/Samara",+ "Europe/San_Marino",+ "Europe/Sarajevo",+ "Europe/Saratov",+ "Europe/Simferopol",+ "Europe/Skopje",+ "Europe/Sofia",+ "Europe/Stockholm",+ "Europe/Tallinn",+ "Europe/Tirane",+ "Europe/Ulyanovsk",+ "Europe/Uzhgorod",+ "Europe/Vaduz",+ "Europe/Vatican",+ "Europe/Vienna",+ "Europe/Vilnius",+ "Europe/Volgograd",+ "Europe/Warsaw",+ "Europe/Zagreb",+ "Europe/Zaporozhye",+ "Europe/Zurich",+ "Indian/Antananarivo",+ "Indian/Chagos",+ "Indian/Christmas",+ "Indian/Cocos",+ "Indian/Comoro",+ "Indian/Kerguelen",+ "Indian/Mahe",+ "Indian/Maldives",+ "Indian/Mauritius",+ "Indian/Mayotte",+ "Indian/Reunion",+ "Pacific/Apia",+ "Pacific/Auckland",+ "Pacific/Bougainville",+ "Pacific/Chatham",+ "Pacific/Chuuk",+ "Pacific/Easter",+ "Pacific/Efate",+ "Pacific/Enderbury",+ "Pacific/Fakaofo",+ "Pacific/Fiji",+ "Pacific/Funafuti",+ "Pacific/Galapagos",+ "Pacific/Gambier",+ "Pacific/Guadalcanal",+ "Pacific/Guam",+ "Pacific/Honolulu",+ "Pacific/Kiritimati",+ "Pacific/Kosrae",+ "Pacific/Kwajalein",+ "Pacific/Majuro",+ "Pacific/Marquesas",+ "Pacific/Midway",+ "Pacific/Nauru",+ "Pacific/Niue",+ "Pacific/Norfolk",+ "Pacific/Noumea",+ "Pacific/Pago_Pago",+ "Pacific/Palau",+ "Pacific/Pitcairn",+ "Pacific/Pohnpei",+ "Pacific/Port_Moresby",+ "Pacific/Rarotonga",+ "Pacific/Saipan",+ "Pacific/Tahiti",+ "Pacific/Tarawa",+ "Pacific/Tongatapu",+ "Pacific/Wake",+ "Pacific/Wallis",+ "UTC"+ ]+ },+ "public.enum__events_v_version_link_target": {+ "name": "enum__events_v_version_link_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum__events_v_version_main_cta_target": {+ "name": "enum__events_v_version_main_cta_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum__events_v_version_status": {+ "name": "enum__events_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_posts_launchweek": {+ "name": "enum_posts_launchweek",+ "schema": "public",+ "values": [+ "6",+ "7",+ "8",+ "x",+ "ga",+ "12",+ "13",+ "14",+ "15"+ ]+ },+ "public.enum_posts_status": {+ "name": "enum_posts_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__posts_v_version_launchweek": {+ "name": "enum__posts_v_version_launchweek",+ "schema": "public",+ "values": [+ "6",+ "7",+ "8",+ "x",+ "ga",+ "12",+ "13",+ "14",+ "15"+ ]+ },+ "public.enum__posts_v_version_status": {+ "name": "enum__posts_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_users_roles": {+ "name": "enum_users_roles",+ "schema": "public",+ "values": [+ "admin",+ "editor"+ ]+ },+ "public.enum_payload_jobs_log_task_slug": {+ "name": "enum_payload_jobs_log_task_slug",+ "schema": "public",+ "values": [+ "inline",+ "schedulePublish"+ ]+ },+ "public.enum_payload_jobs_log_state": {+ "name": "enum_payload_jobs_log_state",+ "schema": "public",+ "values": [+ "failed",+ "succeeded"+ ]+ },+ "public.enum_payload_jobs_task_slug": {+ "name": "enum_payload_jobs_task_slug",+ "schema": "public",+ "values": [+ "inline",+ "schedulePublish"+ ]+ }+ },+ "schemas": {},+ "sequences": {},+ "roles": {},+ "policies": {},+ "views": {},+ "_meta": {+ "schemas": {},+ "tables": {},+ "columns": {}+ }+}\ No newline at end of filediff --git a/apps/cms/src/migrations/20250821_165446.ts b/apps/cms/src/migrations/20250821_165446.tsnew file mode 100644index 00000000000..6d6513f427b--- /dev/null+++ b/apps/cms/src/migrations/20250821_165446.ts@@ -0,0 +1,21 @@+import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'++export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {+ await db.execute(sql`+ DROP INDEX "_customers_v_autosave_idx";+ DROP INDEX "_events_v_autosave_idx";+ DROP INDEX "_posts_v_autosave_idx";+ ALTER TABLE "_customers_v" DROP COLUMN "autosave";+ ALTER TABLE "_events_v" DROP COLUMN "autosave";+ ALTER TABLE "_posts_v" DROP COLUMN "autosave";`)+}++export async function down({ db, payload, req }: MigrateDownArgs): Promise<void> {+ await db.execute(sql`+ ALTER TABLE "_customers_v" ADD COLUMN "autosave" boolean;+ ALTER TABLE "_events_v" ADD COLUMN "autosave" boolean;+ ALTER TABLE "_posts_v" ADD COLUMN "autosave" boolean;+ CREATE INDEX "_customers_v_autosave_idx" ON "_customers_v" USING btree ("autosave");+ CREATE INDEX "_events_v_autosave_idx" ON "_events_v" USING btree ("autosave");+ CREATE INDEX "_posts_v_autosave_idx" ON "_posts_v" USING btree ("autosave");`)+}diff --git a/apps/cms/src/migrations/20250902_112449.json b/apps/cms/src/migrations/20250902_112449.jsonnew file mode 100644index 00000000000..4282295ce9e--- /dev/null+++ b/apps/cms/src/migrations/20250902_112449.json@@ -0,0 +1,7383 @@+{+ "id": "cbe0580b-2b92-4814-85d5-d55622a28863",+ "prevId": "00000000-0000-0000-0000-000000000000",+ "version": "7",+ "dialect": "postgresql",+ "tables": {+ "public.authors": {+ "name": "authors",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "author": {+ "name": "author",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "author_id": {+ "name": "author_id",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "username": {+ "name": "username",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "position": {+ "name": "position",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company": {+ "name": "company",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "author_url": {+ "name": "author_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "author_image_url_id": {+ "name": "author_image_url_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "authors_author_idx": {+ "name": "authors_author_idx",+ "columns": [+ {+ "expression": "author",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_author_id_idx": {+ "name": "authors_author_id_idx",+ "columns": [+ {+ "expression": "author_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_author_image_url_idx": {+ "name": "authors_author_image_url_idx",+ "columns": [+ {+ "expression": "author_image_url_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_updated_at_idx": {+ "name": "authors_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "authors_created_at_idx": {+ "name": "authors_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "authors_author_image_url_id_media_id_fk": {+ "name": "authors_author_image_url_id_media_id_fk",+ "tableFrom": "authors",+ "tableTo": "media",+ "columnsFrom": [+ "author_image_url_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.categories_breadcrumbs": {+ "name": "categories_breadcrumbs",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "doc_id": {+ "name": "doc_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "url": {+ "name": "url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "categories_breadcrumbs_order_idx": {+ "name": "categories_breadcrumbs_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_breadcrumbs_parent_id_idx": {+ "name": "categories_breadcrumbs_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_breadcrumbs_doc_idx": {+ "name": "categories_breadcrumbs_doc_idx",+ "columns": [+ {+ "expression": "doc_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "categories_breadcrumbs_doc_id_categories_id_fk": {+ "name": "categories_breadcrumbs_doc_id_categories_id_fk",+ "tableFrom": "categories_breadcrumbs",+ "tableTo": "categories",+ "columnsFrom": [+ "doc_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "categories_breadcrumbs_parent_id_fk": {+ "name": "categories_breadcrumbs_parent_id_fk",+ "tableFrom": "categories_breadcrumbs",+ "tableTo": "categories",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.categories": {+ "name": "categories",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "categories_name_idx": {+ "name": "categories_name_idx",+ "columns": [+ {+ "expression": "name",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_parent_idx": {+ "name": "categories_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_updated_at_idx": {+ "name": "categories_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "categories_created_at_idx": {+ "name": "categories_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "categories_parent_id_categories_id_fk": {+ "name": "categories_parent_id_categories_id_fk",+ "tableFrom": "categories",+ "tableTo": "categories",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_stats": {+ "name": "customers_stats",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "stat": {+ "name": "stat",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "customers_stats_order_idx": {+ "name": "customers_stats_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_stats_parent_id_idx": {+ "name": "customers_stats_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_stats_parent_id_fk": {+ "name": "customers_stats_parent_id_fk",+ "tableFrom": "customers_stats",+ "tableTo": "customers",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_misc": {+ "name": "customers_misc",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "text": {+ "name": "text",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "customers_misc_order_idx": {+ "name": "customers_misc_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_misc_parent_id_idx": {+ "name": "customers_misc_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_misc_parent_id_fk": {+ "name": "customers_misc_parent_id_fk",+ "tableFrom": "customers_misc",+ "tableTo": "customers",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_industry": {+ "name": "customers_industry",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_customers_industry",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "customers_industry_order_idx": {+ "name": "customers_industry_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_industry_parent_idx": {+ "name": "customers_industry_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_industry_parent_fk": {+ "name": "customers_industry_parent_fk",+ "tableFrom": "customers_industry",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers_supabase_products": {+ "name": "customers_supabase_products",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_customers_supabase_products",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "customers_supabase_products_order_idx": {+ "name": "customers_supabase_products_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_supabase_products_parent_idx": {+ "name": "customers_supabase_products_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_supabase_products_parent_fk": {+ "name": "customers_supabase_products_parent_fk",+ "tableFrom": "customers_supabase_products",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.customers": {+ "name": "customers",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "description": {+ "name": "description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "about": {+ "name": "about",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_url": {+ "name": "company_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_size": {+ "name": "company_size",+ "type": "enum_customers_company_size",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "region": {+ "name": "region",+ "type": "enum_customers_region",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "logo_id": {+ "name": "logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "logo_inverse_id": {+ "name": "logo_inverse_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_customers_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "customers_slug_idx": {+ "name": "customers_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_meta_meta_image_idx": {+ "name": "customers_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_logo_idx": {+ "name": "customers_logo_idx",+ "columns": [+ {+ "expression": "logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_logo_inverse_idx": {+ "name": "customers_logo_inverse_idx",+ "columns": [+ {+ "expression": "logo_inverse_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_updated_at_idx": {+ "name": "customers_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers_created_at_idx": {+ "name": "customers_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "customers__status_idx": {+ "name": "customers__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "customers_meta_image_id_media_id_fk": {+ "name": "customers_meta_image_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "customers_logo_id_media_id_fk": {+ "name": "customers_logo_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "customers_logo_inverse_id_media_id_fk": {+ "name": "customers_logo_inverse_id_media_id_fk",+ "tableFrom": "customers",+ "tableTo": "media",+ "columnsFrom": [+ "logo_inverse_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_stats": {+ "name": "_customers_v_version_stats",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "stat": {+ "name": "stat",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "_uuid": {+ "name": "_uuid",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_version_stats_order_idx": {+ "name": "_customers_v_version_stats_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_stats_parent_id_idx": {+ "name": "_customers_v_version_stats_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_stats_parent_id_fk": {+ "name": "_customers_v_version_stats_parent_id_fk",+ "tableFrom": "_customers_v_version_stats",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_misc": {+ "name": "_customers_v_version_misc",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "label": {+ "name": "label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "text": {+ "name": "text",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "_uuid": {+ "name": "_uuid",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_version_misc_order_idx": {+ "name": "_customers_v_version_misc_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_misc_parent_id_idx": {+ "name": "_customers_v_version_misc_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_misc_parent_id_fk": {+ "name": "_customers_v_version_misc_parent_id_fk",+ "tableFrom": "_customers_v_version_misc",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_industry": {+ "name": "_customers_v_version_industry",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__customers_v_version_industry",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_customers_v_version_industry_order_idx": {+ "name": "_customers_v_version_industry_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_industry_parent_idx": {+ "name": "_customers_v_version_industry_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_industry_parent_fk": {+ "name": "_customers_v_version_industry_parent_fk",+ "tableFrom": "_customers_v_version_industry",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v_version_supabase_products": {+ "name": "_customers_v_version_supabase_products",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__customers_v_version_supabase_products",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_customers_v_version_supabase_products_order_idx": {+ "name": "_customers_v_version_supabase_products_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_supabase_products_parent_idx": {+ "name": "_customers_v_version_supabase_products_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_version_supabase_products_parent_fk": {+ "name": "_customers_v_version_supabase_products_parent_fk",+ "tableFrom": "_customers_v_version_supabase_products",+ "tableTo": "_customers_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._customers_v": {+ "name": "_customers_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_name": {+ "name": "version_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_description": {+ "name": "version_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_about": {+ "name": "version_about",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_url": {+ "name": "version_company_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_size": {+ "name": "version_company_size",+ "type": "enum__customers_v_version_company_size",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_region": {+ "name": "version_region",+ "type": "enum__customers_v_version_region",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_logo_id": {+ "name": "version_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_logo_inverse_id": {+ "name": "version_logo_inverse_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__customers_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_customers_v_parent_idx": {+ "name": "_customers_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_slug_idx": {+ "name": "_customers_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_meta_version_meta_image_idx": {+ "name": "_customers_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_logo_idx": {+ "name": "_customers_v_version_version_logo_idx",+ "columns": [+ {+ "expression": "version_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_logo_inverse_idx": {+ "name": "_customers_v_version_version_logo_inverse_idx",+ "columns": [+ {+ "expression": "version_logo_inverse_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_updated_at_idx": {+ "name": "_customers_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version_created_at_idx": {+ "name": "_customers_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_version_version__status_idx": {+ "name": "_customers_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_created_at_idx": {+ "name": "_customers_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_updated_at_idx": {+ "name": "_customers_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_customers_v_latest_idx": {+ "name": "_customers_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_customers_v_parent_id_customers_id_fk": {+ "name": "_customers_v_parent_id_customers_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "customers",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_meta_image_id_media_id_fk": {+ "name": "_customers_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_logo_id_media_id_fk": {+ "name": "_customers_v_version_logo_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_customers_v_version_logo_inverse_id_media_id_fk": {+ "name": "_customers_v_version_logo_inverse_id_media_id_fk",+ "tableFrom": "_customers_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_logo_inverse_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events_type": {+ "name": "events_type",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_events_type",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "events_type_order_idx": {+ "name": "events_type_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_type_parent_idx": {+ "name": "events_type_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_type_parent_fk": {+ "name": "events_type_parent_fk",+ "tableFrom": "events_type",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events": {+ "name": "events",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "subtitle": {+ "name": "subtitle",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "thumb_id": {+ "name": "thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "image_id": {+ "name": "image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "date": {+ "name": "date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "timezone": {+ "name": "timezone",+ "type": "enum_events_timezone",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "show_end_date": {+ "name": "show_end_date",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "end_date": {+ "name": "end_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "duration": {+ "name": "duration",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "on_demand": {+ "name": "on_demand",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "disable_page_build": {+ "name": "disable_page_build",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "link_href": {+ "name": "link_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "link_target": {+ "name": "link_target",+ "type": "enum_events_link_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "main_cta_href": {+ "name": "main_cta_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "main_cta_target": {+ "name": "main_cta_target",+ "type": "enum_events_main_cta_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "main_cta_label": {+ "name": "main_cta_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "main_cta_disabled": {+ "name": "main_cta_disabled",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "main_cta_disabled_label": {+ "name": "main_cta_disabled_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_show_company": {+ "name": "company_show_company",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "company_name": {+ "name": "company_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_website_url": {+ "name": "company_website_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "company_logo_id": {+ "name": "company_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "company_logo_light_id": {+ "name": "company_logo_light_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "participants_show_participants": {+ "name": "participants_show_participants",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_events_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "events_slug_idx": {+ "name": "events_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_thumb_idx": {+ "name": "events_thumb_idx",+ "columns": [+ {+ "expression": "thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_image_idx": {+ "name": "events_image_idx",+ "columns": [+ {+ "expression": "image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_company_company_logo_idx": {+ "name": "events_company_company_logo_idx",+ "columns": [+ {+ "expression": "company_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_company_company_logo_light_idx": {+ "name": "events_company_company_logo_light_idx",+ "columns": [+ {+ "expression": "company_logo_light_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_meta_meta_image_idx": {+ "name": "events_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_updated_at_idx": {+ "name": "events_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_created_at_idx": {+ "name": "events_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events__status_idx": {+ "name": "events__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_thumb_id_media_id_fk": {+ "name": "events_thumb_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_image_id_media_id_fk": {+ "name": "events_image_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_company_logo_id_media_id_fk": {+ "name": "events_company_logo_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "company_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_company_logo_light_id_media_id_fk": {+ "name": "events_company_logo_light_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "company_logo_light_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "events_meta_image_id_media_id_fk": {+ "name": "events_meta_image_id_media_id_fk",+ "tableFrom": "events",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.events_rels": {+ "name": "events_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "events_rels_order_idx": {+ "name": "events_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_parent_idx": {+ "name": "events_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_path_idx": {+ "name": "events_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "events_rels_authors_id_idx": {+ "name": "events_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "events_rels_parent_fk": {+ "name": "events_rels_parent_fk",+ "tableFrom": "events_rels",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "events_rels_authors_fk": {+ "name": "events_rels_authors_fk",+ "tableFrom": "events_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v_version_type": {+ "name": "_events_v_version_type",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum__events_v_version_type",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "_events_v_version_type_order_idx": {+ "name": "_events_v_version_type_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_type_parent_idx": {+ "name": "_events_v_version_type_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_version_type_parent_fk": {+ "name": "_events_v_version_type_parent_fk",+ "tableFrom": "_events_v_version_type",+ "tableTo": "_events_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v": {+ "name": "_events_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_subtitle": {+ "name": "version_subtitle",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_thumb_id": {+ "name": "version_thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_image_id": {+ "name": "version_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_date": {+ "name": "version_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_timezone": {+ "name": "version_timezone",+ "type": "enum__events_v_version_timezone",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_show_end_date": {+ "name": "version_show_end_date",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_end_date": {+ "name": "version_end_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_duration": {+ "name": "version_duration",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_on_demand": {+ "name": "version_on_demand",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_disable_page_build": {+ "name": "version_disable_page_build",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_link_href": {+ "name": "version_link_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_link_target": {+ "name": "version_link_target",+ "type": "enum__events_v_version_link_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "version_main_cta_href": {+ "name": "version_main_cta_href",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_main_cta_target": {+ "name": "version_main_cta_target",+ "type": "enum__events_v_version_main_cta_target",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'_blank'"+ },+ "version_main_cta_label": {+ "name": "version_main_cta_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_main_cta_disabled": {+ "name": "version_main_cta_disabled",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_main_cta_disabled_label": {+ "name": "version_main_cta_disabled_label",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_show_company": {+ "name": "version_company_show_company",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_company_name": {+ "name": "version_company_name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_website_url": {+ "name": "version_company_website_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_logo_id": {+ "name": "version_company_logo_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_company_logo_light_id": {+ "name": "version_company_logo_light_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_participants_show_participants": {+ "name": "version_participants_show_participants",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__events_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_events_v_parent_idx": {+ "name": "_events_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_slug_idx": {+ "name": "_events_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_thumb_idx": {+ "name": "_events_v_version_version_thumb_idx",+ "columns": [+ {+ "expression": "version_thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_image_idx": {+ "name": "_events_v_version_version_image_idx",+ "columns": [+ {+ "expression": "version_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_company_version_company_logo_idx": {+ "name": "_events_v_version_company_version_company_logo_idx",+ "columns": [+ {+ "expression": "version_company_logo_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_company_version_company_logo_light_idx": {+ "name": "_events_v_version_company_version_company_logo_light_idx",+ "columns": [+ {+ "expression": "version_company_logo_light_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_meta_version_meta_image_idx": {+ "name": "_events_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_updated_at_idx": {+ "name": "_events_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version_created_at_idx": {+ "name": "_events_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_version_version__status_idx": {+ "name": "_events_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_created_at_idx": {+ "name": "_events_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_updated_at_idx": {+ "name": "_events_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_latest_idx": {+ "name": "_events_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_parent_id_events_id_fk": {+ "name": "_events_v_parent_id_events_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "events",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_thumb_id_media_id_fk": {+ "name": "_events_v_version_thumb_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_image_id_media_id_fk": {+ "name": "_events_v_version_image_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_company_logo_id_media_id_fk": {+ "name": "_events_v_version_company_logo_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_company_logo_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_company_logo_light_id_media_id_fk": {+ "name": "_events_v_version_company_logo_light_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_company_logo_light_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_events_v_version_meta_image_id_media_id_fk": {+ "name": "_events_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_events_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._events_v_rels": {+ "name": "_events_v_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_events_v_rels_order_idx": {+ "name": "_events_v_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_parent_idx": {+ "name": "_events_v_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_path_idx": {+ "name": "_events_v_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_events_v_rels_authors_id_idx": {+ "name": "_events_v_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_events_v_rels_parent_fk": {+ "name": "_events_v_rels_parent_fk",+ "tableFrom": "_events_v_rels",+ "tableTo": "_events_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_events_v_rels_authors_fk": {+ "name": "_events_v_rels_authors_fk",+ "tableFrom": "_events_v_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.media": {+ "name": "media",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "alt": {+ "name": "alt",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "caption": {+ "name": "caption",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "prefix": {+ "name": "prefix",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false,+ "default": "'media'"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "url": {+ "name": "url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "thumbnail_u_r_l": {+ "name": "thumbnail_u_r_l",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "filename": {+ "name": "filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "mime_type": {+ "name": "mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "filesize": {+ "name": "filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "width": {+ "name": "width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "height": {+ "name": "height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "focal_x": {+ "name": "focal_x",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "focal_y": {+ "name": "focal_y",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_url": {+ "name": "sizes_thumbnail_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_width": {+ "name": "sizes_thumbnail_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_height": {+ "name": "sizes_thumbnail_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_mime_type": {+ "name": "sizes_thumbnail_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_filesize": {+ "name": "sizes_thumbnail_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_thumbnail_filename": {+ "name": "sizes_thumbnail_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_url": {+ "name": "sizes_square_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_width": {+ "name": "sizes_square_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_height": {+ "name": "sizes_square_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_mime_type": {+ "name": "sizes_square_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_filesize": {+ "name": "sizes_square_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_square_filename": {+ "name": "sizes_square_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_url": {+ "name": "sizes_small_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_width": {+ "name": "sizes_small_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_height": {+ "name": "sizes_small_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_mime_type": {+ "name": "sizes_small_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_filesize": {+ "name": "sizes_small_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_small_filename": {+ "name": "sizes_small_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_url": {+ "name": "sizes_medium_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_width": {+ "name": "sizes_medium_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_height": {+ "name": "sizes_medium_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_mime_type": {+ "name": "sizes_medium_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_filesize": {+ "name": "sizes_medium_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_medium_filename": {+ "name": "sizes_medium_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_url": {+ "name": "sizes_large_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_width": {+ "name": "sizes_large_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_height": {+ "name": "sizes_large_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_mime_type": {+ "name": "sizes_large_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_filesize": {+ "name": "sizes_large_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_large_filename": {+ "name": "sizes_large_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_url": {+ "name": "sizes_xlarge_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_width": {+ "name": "sizes_xlarge_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_height": {+ "name": "sizes_xlarge_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_mime_type": {+ "name": "sizes_xlarge_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_filesize": {+ "name": "sizes_xlarge_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_xlarge_filename": {+ "name": "sizes_xlarge_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_url": {+ "name": "sizes_og_url",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_width": {+ "name": "sizes_og_width",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_height": {+ "name": "sizes_og_height",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_mime_type": {+ "name": "sizes_og_mime_type",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_filesize": {+ "name": "sizes_og_filesize",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "sizes_og_filename": {+ "name": "sizes_og_filename",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "media_updated_at_idx": {+ "name": "media_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_created_at_idx": {+ "name": "media_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_filename_idx": {+ "name": "media_filename_idx",+ "columns": [+ {+ "expression": "filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {+ "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",+ "columns": [+ {+ "expression": "sizes_thumbnail_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_square_sizes_square_filename_idx": {+ "name": "media_sizes_square_sizes_square_filename_idx",+ "columns": [+ {+ "expression": "sizes_square_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_small_sizes_small_filename_idx": {+ "name": "media_sizes_small_sizes_small_filename_idx",+ "columns": [+ {+ "expression": "sizes_small_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_medium_sizes_medium_filename_idx": {+ "name": "media_sizes_medium_sizes_medium_filename_idx",+ "columns": [+ {+ "expression": "sizes_medium_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_large_sizes_large_filename_idx": {+ "name": "media_sizes_large_sizes_large_filename_idx",+ "columns": [+ {+ "expression": "sizes_large_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_xlarge_sizes_xlarge_filename_idx": {+ "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",+ "columns": [+ {+ "expression": "sizes_xlarge_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "media_sizes_og_sizes_og_filename_idx": {+ "name": "media_sizes_og_sizes_og_filename_idx",+ "columns": [+ {+ "expression": "sizes_og_filename",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.posts": {+ "name": "posts",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug": {+ "name": "slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "slug_lock": {+ "name": "slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "description": {+ "name": "description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "content": {+ "name": "content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "thumb_id": {+ "name": "thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "reading_time": {+ "name": "reading_time",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "toc_depth": {+ "name": "toc_depth",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 3+ },+ "launchweek": {+ "name": "launchweek",+ "type": "enum_posts_launchweek",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "meta_title": {+ "name": "meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "meta_image_id": {+ "name": "meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "meta_description": {+ "name": "meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "published_at": {+ "name": "published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "date": {+ "name": "date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "_status": {+ "name": "_status",+ "type": "enum_posts_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ }+ },+ "indexes": {+ "posts_title_idx": {+ "name": "posts_title_idx",+ "columns": [+ {+ "expression": "title",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_slug_idx": {+ "name": "posts_slug_idx",+ "columns": [+ {+ "expression": "slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_thumb_idx": {+ "name": "posts_thumb_idx",+ "columns": [+ {+ "expression": "thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_meta_meta_image_idx": {+ "name": "posts_meta_meta_image_idx",+ "columns": [+ {+ "expression": "meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_updated_at_idx": {+ "name": "posts_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_created_at_idx": {+ "name": "posts_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts__status_idx": {+ "name": "posts__status_idx",+ "columns": [+ {+ "expression": "_status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "posts_thumb_id_media_id_fk": {+ "name": "posts_thumb_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "posts_meta_image_id_media_id_fk": {+ "name": "posts_meta_image_id_media_id_fk",+ "tableFrom": "posts",+ "tableTo": "media",+ "columnsFrom": [+ "meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.posts_rels": {+ "name": "posts_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "posts_rels_order_idx": {+ "name": "posts_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_parent_idx": {+ "name": "posts_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_path_idx": {+ "name": "posts_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_authors_id_idx": {+ "name": "posts_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_categories_id_idx": {+ "name": "posts_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "posts_rels_tags_id_idx": {+ "name": "posts_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "posts_rels_parent_fk": {+ "name": "posts_rels_parent_fk",+ "tableFrom": "posts_rels",+ "tableTo": "posts",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_authors_fk": {+ "name": "posts_rels_authors_fk",+ "tableFrom": "posts_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_categories_fk": {+ "name": "posts_rels_categories_fk",+ "tableFrom": "posts_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "posts_rels_tags_fk": {+ "name": "posts_rels_tags_fk",+ "tableFrom": "posts_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._posts_v": {+ "name": "_posts_v",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_title": {+ "name": "version_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug": {+ "name": "version_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_slug_lock": {+ "name": "version_slug_lock",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "version_description": {+ "name": "version_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_content": {+ "name": "version_content",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "version_thumb_id": {+ "name": "version_thumb_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_reading_time": {+ "name": "version_reading_time",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "version_toc_depth": {+ "name": "version_toc_depth",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 3+ },+ "version_launchweek": {+ "name": "version_launchweek",+ "type": "enum__posts_v_version_launchweek",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_title": {+ "name": "version_meta_title",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_image_id": {+ "name": "version_meta_image_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "version_meta_description": {+ "name": "version_meta_description",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "version_published_at": {+ "name": "version_published_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_date": {+ "name": "version_date",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_updated_at": {+ "name": "version_updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version_created_at": {+ "name": "version_created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "version__status": {+ "name": "version__status",+ "type": "enum__posts_v_version_status",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false,+ "default": "'draft'"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "latest": {+ "name": "latest",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_posts_v_parent_idx": {+ "name": "_posts_v_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_title_idx": {+ "name": "_posts_v_version_version_title_idx",+ "columns": [+ {+ "expression": "version_title",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_slug_idx": {+ "name": "_posts_v_version_version_slug_idx",+ "columns": [+ {+ "expression": "version_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_thumb_idx": {+ "name": "_posts_v_version_version_thumb_idx",+ "columns": [+ {+ "expression": "version_thumb_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_meta_version_meta_image_idx": {+ "name": "_posts_v_version_meta_version_meta_image_idx",+ "columns": [+ {+ "expression": "version_meta_image_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_updated_at_idx": {+ "name": "_posts_v_version_version_updated_at_idx",+ "columns": [+ {+ "expression": "version_updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version_created_at_idx": {+ "name": "_posts_v_version_version_created_at_idx",+ "columns": [+ {+ "expression": "version_created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_version_version__status_idx": {+ "name": "_posts_v_version_version__status_idx",+ "columns": [+ {+ "expression": "version__status",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_created_at_idx": {+ "name": "_posts_v_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_updated_at_idx": {+ "name": "_posts_v_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_latest_idx": {+ "name": "_posts_v_latest_idx",+ "columns": [+ {+ "expression": "latest",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_posts_v_parent_id_posts_id_fk": {+ "name": "_posts_v_parent_id_posts_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "posts",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_thumb_id_media_id_fk": {+ "name": "_posts_v_version_thumb_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_thumb_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ },+ "_posts_v_version_meta_image_id_media_id_fk": {+ "name": "_posts_v_version_meta_image_id_media_id_fk",+ "tableFrom": "_posts_v",+ "tableTo": "media",+ "columnsFrom": [+ "version_meta_image_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public._posts_v_rels": {+ "name": "_posts_v_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "_posts_v_rels_order_idx": {+ "name": "_posts_v_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_parent_idx": {+ "name": "_posts_v_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_path_idx": {+ "name": "_posts_v_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_authors_id_idx": {+ "name": "_posts_v_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_categories_id_idx": {+ "name": "_posts_v_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "_posts_v_rels_tags_id_idx": {+ "name": "_posts_v_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "_posts_v_rels_parent_fk": {+ "name": "_posts_v_rels_parent_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "_posts_v",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_authors_fk": {+ "name": "_posts_v_rels_authors_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_categories_fk": {+ "name": "_posts_v_rels_categories_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "_posts_v_rels_tags_fk": {+ "name": "_posts_v_rels_tags_fk",+ "tableFrom": "_posts_v_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.tags": {+ "name": "tags",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "tags_name_idx": {+ "name": "tags_name_idx",+ "columns": [+ {+ "expression": "name",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "tags_updated_at_idx": {+ "name": "tags_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "tags_created_at_idx": {+ "name": "tags_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users_roles": {+ "name": "users_roles",+ "schema": "",+ "columns": {+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "enum_users_roles",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ }+ },+ "indexes": {+ "users_roles_order_idx": {+ "name": "users_roles_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_roles_parent_idx": {+ "name": "users_roles_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "users_roles_parent_fk": {+ "name": "users_roles_parent_fk",+ "tableFrom": "users_roles",+ "tableTo": "users",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users_sessions": {+ "name": "users_sessions",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ }+ },+ "indexes": {+ "users_sessions_order_idx": {+ "name": "users_sessions_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_sessions_parent_id_idx": {+ "name": "users_sessions_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "users_sessions_parent_id_fk": {+ "name": "users_sessions_parent_id_fk",+ "tableFrom": "users_sessions",+ "tableTo": "users",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.users": {+ "name": "users",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "email": {+ "name": "email",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "reset_password_token": {+ "name": "reset_password_token",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "reset_password_expiration": {+ "name": "reset_password_expiration",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "salt": {+ "name": "salt",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "hash": {+ "name": "hash",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "login_attempts": {+ "name": "login_attempts",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "lock_until": {+ "name": "lock_until",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "users_updated_at_idx": {+ "name": "users_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_created_at_idx": {+ "name": "users_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "users_email_idx": {+ "name": "users_email_idx",+ "columns": [+ {+ "expression": "email",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": true,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_jobs_log": {+ "name": "payload_jobs_log",+ "schema": "",+ "columns": {+ "_order": {+ "name": "_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "_parent_id": {+ "name": "_parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "id": {+ "name": "id",+ "type": "varchar",+ "primaryKey": true,+ "notNull": true+ },+ "executed_at": {+ "name": "executed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ },+ "completed_at": {+ "name": "completed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true+ },+ "task_slug": {+ "name": "task_slug",+ "type": "enum_payload_jobs_log_task_slug",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": true+ },+ "task_i_d": {+ "name": "task_i_d",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "input": {+ "name": "input",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "output": {+ "name": "output",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "state": {+ "name": "state",+ "type": "enum_payload_jobs_log_state",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": true+ },+ "error": {+ "name": "error",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_jobs_log_order_idx": {+ "name": "payload_jobs_log_order_idx",+ "columns": [+ {+ "expression": "_order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_log_parent_id_idx": {+ "name": "payload_jobs_log_parent_id_idx",+ "columns": [+ {+ "expression": "_parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_jobs_log_parent_id_fk": {+ "name": "payload_jobs_log_parent_id_fk",+ "tableFrom": "payload_jobs_log",+ "tableTo": "payload_jobs",+ "columnsFrom": [+ "_parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_jobs": {+ "name": "payload_jobs",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "input": {+ "name": "input",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "completed_at": {+ "name": "completed_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "total_tried": {+ "name": "total_tried",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "has_error": {+ "name": "has_error",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "error": {+ "name": "error",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "task_slug": {+ "name": "task_slug",+ "type": "enum_payload_jobs_task_slug",+ "typeSchema": "public",+ "primaryKey": false,+ "notNull": false+ },+ "queue": {+ "name": "queue",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false,+ "default": "'default'"+ },+ "wait_until": {+ "name": "wait_until",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": false+ },+ "processing": {+ "name": "processing",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_jobs_completed_at_idx": {+ "name": "payload_jobs_completed_at_idx",+ "columns": [+ {+ "expression": "completed_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_total_tried_idx": {+ "name": "payload_jobs_total_tried_idx",+ "columns": [+ {+ "expression": "total_tried",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_has_error_idx": {+ "name": "payload_jobs_has_error_idx",+ "columns": [+ {+ "expression": "has_error",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_task_slug_idx": {+ "name": "payload_jobs_task_slug_idx",+ "columns": [+ {+ "expression": "task_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_queue_idx": {+ "name": "payload_jobs_queue_idx",+ "columns": [+ {+ "expression": "queue",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_wait_until_idx": {+ "name": "payload_jobs_wait_until_idx",+ "columns": [+ {+ "expression": "wait_until",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_processing_idx": {+ "name": "payload_jobs_processing_idx",+ "columns": [+ {+ "expression": "processing",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_updated_at_idx": {+ "name": "payload_jobs_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_jobs_created_at_idx": {+ "name": "payload_jobs_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_locked_documents": {+ "name": "payload_locked_documents",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "global_slug": {+ "name": "global_slug",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_locked_documents_global_slug_idx": {+ "name": "payload_locked_documents_global_slug_idx",+ "columns": [+ {+ "expression": "global_slug",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_updated_at_idx": {+ "name": "payload_locked_documents_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_created_at_idx": {+ "name": "payload_locked_documents_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_locked_documents_rels": {+ "name": "payload_locked_documents_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "authors_id": {+ "name": "authors_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "categories_id": {+ "name": "categories_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "customers_id": {+ "name": "customers_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "events_id": {+ "name": "events_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "media_id": {+ "name": "media_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "posts_id": {+ "name": "posts_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "tags_id": {+ "name": "tags_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "users_id": {+ "name": "users_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "payload_jobs_id": {+ "name": "payload_jobs_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_locked_documents_rels_order_idx": {+ "name": "payload_locked_documents_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_parent_idx": {+ "name": "payload_locked_documents_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_path_idx": {+ "name": "payload_locked_documents_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_authors_id_idx": {+ "name": "payload_locked_documents_rels_authors_id_idx",+ "columns": [+ {+ "expression": "authors_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_categories_id_idx": {+ "name": "payload_locked_documents_rels_categories_id_idx",+ "columns": [+ {+ "expression": "categories_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_customers_id_idx": {+ "name": "payload_locked_documents_rels_customers_id_idx",+ "columns": [+ {+ "expression": "customers_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_events_id_idx": {+ "name": "payload_locked_documents_rels_events_id_idx",+ "columns": [+ {+ "expression": "events_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_media_id_idx": {+ "name": "payload_locked_documents_rels_media_id_idx",+ "columns": [+ {+ "expression": "media_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_posts_id_idx": {+ "name": "payload_locked_documents_rels_posts_id_idx",+ "columns": [+ {+ "expression": "posts_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_tags_id_idx": {+ "name": "payload_locked_documents_rels_tags_id_idx",+ "columns": [+ {+ "expression": "tags_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_users_id_idx": {+ "name": "payload_locked_documents_rels_users_id_idx",+ "columns": [+ {+ "expression": "users_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_locked_documents_rels_payload_jobs_id_idx": {+ "name": "payload_locked_documents_rels_payload_jobs_id_idx",+ "columns": [+ {+ "expression": "payload_jobs_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_locked_documents_rels_parent_fk": {+ "name": "payload_locked_documents_rels_parent_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "payload_locked_documents",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_authors_fk": {+ "name": "payload_locked_documents_rels_authors_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "authors",+ "columnsFrom": [+ "authors_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_categories_fk": {+ "name": "payload_locked_documents_rels_categories_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "categories",+ "columnsFrom": [+ "categories_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_customers_fk": {+ "name": "payload_locked_documents_rels_customers_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "customers",+ "columnsFrom": [+ "customers_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_events_fk": {+ "name": "payload_locked_documents_rels_events_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "events",+ "columnsFrom": [+ "events_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_media_fk": {+ "name": "payload_locked_documents_rels_media_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "media",+ "columnsFrom": [+ "media_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_posts_fk": {+ "name": "payload_locked_documents_rels_posts_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "posts",+ "columnsFrom": [+ "posts_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_tags_fk": {+ "name": "payload_locked_documents_rels_tags_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "tags",+ "columnsFrom": [+ "tags_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_users_fk": {+ "name": "payload_locked_documents_rels_users_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "users",+ "columnsFrom": [+ "users_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_locked_documents_rels_payload_jobs_fk": {+ "name": "payload_locked_documents_rels_payload_jobs_fk",+ "tableFrom": "payload_locked_documents_rels",+ "tableTo": "payload_jobs",+ "columnsFrom": [+ "payload_jobs_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_preferences": {+ "name": "payload_preferences",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "key": {+ "name": "key",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "value": {+ "name": "value",+ "type": "jsonb",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_preferences_key_idx": {+ "name": "payload_preferences_key_idx",+ "columns": [+ {+ "expression": "key",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_updated_at_idx": {+ "name": "payload_preferences_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_created_at_idx": {+ "name": "payload_preferences_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_preferences_rels": {+ "name": "payload_preferences_rels",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "parent_id": {+ "name": "parent_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true+ },+ "path": {+ "name": "path",+ "type": "varchar",+ "primaryKey": false,+ "notNull": true+ },+ "users_id": {+ "name": "users_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {+ "payload_preferences_rels_order_idx": {+ "name": "payload_preferences_rels_order_idx",+ "columns": [+ {+ "expression": "order",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_parent_idx": {+ "name": "payload_preferences_rels_parent_idx",+ "columns": [+ {+ "expression": "parent_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_path_idx": {+ "name": "payload_preferences_rels_path_idx",+ "columns": [+ {+ "expression": "path",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_preferences_rels_users_id_idx": {+ "name": "payload_preferences_rels_users_id_idx",+ "columns": [+ {+ "expression": "users_id",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {+ "payload_preferences_rels_parent_fk": {+ "name": "payload_preferences_rels_parent_fk",+ "tableFrom": "payload_preferences_rels",+ "tableTo": "payload_preferences",+ "columnsFrom": [+ "parent_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "payload_preferences_rels_users_fk": {+ "name": "payload_preferences_rels_users_fk",+ "tableFrom": "payload_preferences_rels",+ "tableTo": "users",+ "columnsFrom": [+ "users_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.payload_migrations": {+ "name": "payload_migrations",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "serial",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "varchar",+ "primaryKey": false,+ "notNull": false+ },+ "batch": {+ "name": "batch",+ "type": "numeric",+ "primaryKey": false,+ "notNull": false+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp(3) with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {+ "payload_migrations_updated_at_idx": {+ "name": "payload_migrations_updated_at_idx",+ "columns": [+ {+ "expression": "updated_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ },+ "payload_migrations_created_at_idx": {+ "name": "payload_migrations_created_at_idx",+ "columns": [+ {+ "expression": "created_at",+ "isExpression": false,+ "asc": true,+ "nulls": "last"+ }+ ],+ "isUnique": false,+ "concurrently": false,+ "method": "btree",+ "with": {}+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ }+ },+ "enums": {+ "public.enum_customers_industry": {+ "name": "enum_customers_industry",+ "schema": "public",+ "values": [+ "healthcare",+ "fintech",+ "ecommerce",+ "education",+ "gaming",+ "media",+ "real-estate",+ "saas",+ "social",+ "analytics",+ "ai",+ "developer-tools"+ ]+ },+ "public.enum_customers_supabase_products": {+ "name": "enum_customers_supabase_products",+ "schema": "public",+ "values": [+ "database",+ "auth",+ "storage",+ "realtime",+ "functions",+ "vector"+ ]+ },+ "public.enum_customers_company_size": {+ "name": "enum_customers_company_size",+ "schema": "public",+ "values": [+ "startup",+ "enterprise",+ "indie_dev"+ ]+ },+ "public.enum_customers_region": {+ "name": "enum_customers_region",+ "schema": "public",+ "values": [+ "Asia",+ "Europe",+ "North America",+ "South America",+ "Africa",+ "Oceania"+ ]+ },+ "public.enum_customers_status": {+ "name": "enum_customers_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__customers_v_version_industry": {+ "name": "enum__customers_v_version_industry",+ "schema": "public",+ "values": [+ "healthcare",+ "fintech",+ "ecommerce",+ "education",+ "gaming",+ "media",+ "real-estate",+ "saas",+ "social",+ "analytics",+ "ai",+ "developer-tools"+ ]+ },+ "public.enum__customers_v_version_supabase_products": {+ "name": "enum__customers_v_version_supabase_products",+ "schema": "public",+ "values": [+ "database",+ "auth",+ "storage",+ "realtime",+ "functions",+ "vector"+ ]+ },+ "public.enum__customers_v_version_company_size": {+ "name": "enum__customers_v_version_company_size",+ "schema": "public",+ "values": [+ "startup",+ "enterprise",+ "indie_dev"+ ]+ },+ "public.enum__customers_v_version_region": {+ "name": "enum__customers_v_version_region",+ "schema": "public",+ "values": [+ "Asia",+ "Europe",+ "North America",+ "South America",+ "Africa",+ "Oceania"+ ]+ },+ "public.enum__customers_v_version_status": {+ "name": "enum__customers_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_events_type": {+ "name": "enum_events_type",+ "schema": "public",+ "values": [+ "conference",+ "hackathon",+ "launch-week",+ "meetup",+ "office-hours",+ "talk",+ "webinar",+ "workshop",+ "other"+ ]+ },+ "public.enum_events_timezone": {+ "name": "enum_events_timezone",+ "schema": "public",+ "values": [+ "Africa/Abidjan",+ "Africa/Accra",+ "Africa/Addis_Ababa",+ "Africa/Algiers",+ "Africa/Asmara",+ "Africa/Bamako",+ "Africa/Bangui",+ "Africa/Banjul",+ "Africa/Bissau",+ "Africa/Blantyre",+ "Africa/Brazzaville",+ "Africa/Bujumbura",+ "Africa/Cairo",+ "Africa/Casablanca",+ "Africa/Ceuta",+ "Africa/Conakry",+ "Africa/Dakar",+ "Africa/Dar_es_Salaam",+ "Africa/Djibouti",+ "Africa/Douala",+ "Africa/El_Aaiun",+ "Africa/Freetown",+ "Africa/Gaborone",+ "Africa/Harare",+ "Africa/Johannesburg",+ "Africa/Juba",+ "Africa/Kampala",+ "Africa/Khartoum",+ "Africa/Kigali",+ "Africa/Kinshasa",+ "Africa/Lagos",+ "Africa/Libreville",+ "Africa/Lome",+ "Africa/Luanda",+ "Africa/Lubumbashi",+ "Africa/Lusaka",+ "Africa/Malabo",+ "Africa/Maputo",+ "Africa/Maseru",+ "Africa/Mbabane",+ "Africa/Mogadishu",+ "Africa/Monrovia",+ "Africa/Nairobi",+ "Africa/Ndjamena",+ "Africa/Niamey",+ "Africa/Nouakchott",+ "Africa/Ouagadougou",+ "Africa/Porto-Novo",+ "Africa/Sao_Tome",+ "Africa/Tripoli",+ "Africa/Tunis",+ "Africa/Windhoek",+ "America/Adak",+ "America/Anchorage",+ "America/Anguilla",+ "America/Antigua",+ "America/Araguaina",+ "America/Argentina/Buenos_Aires",+ "America/Argentina/Catamarca",+ "America/Argentina/Cordoba",+ "America/Argentina/Jujuy",+ "America/Argentina/La_Rioja",+ "America/Argentina/Mendoza",+ "America/Argentina/Rio_Gallegos",+ "America/Argentina/Salta",+ "America/Argentina/San_Juan",+ "America/Argentina/San_Luis",+ "America/Argentina/Tucuman",+ "America/Argentina/Ushuaia",+ "America/Aruba",+ "America/Asuncion",+ "America/Atikokan",+ "America/Bahia",+ "America/Bahia_Banderas",+ "America/Barbados",+ "America/Belem",+ "America/Belize",+ "America/Blanc-Sablon",+ "America/Boa_Vista",+ "America/Bogota",+ "America/Boise",+ "America/Cambridge_Bay",+ "America/Campo_Grande",+ "America/Cancun",+ "America/Caracas",+ "America/Cayenne",+ "America/Cayman",+ "America/Chicago",+ "America/Chihuahua",+ "America/Costa_Rica",+ "America/Creston",+ "America/Cuiaba",+ "America/Curacao",+ "America/Danmarkshavn",+ "America/Dawson",+ "America/Dawson_Creek",+ "America/Denver",+ "America/Detroit",+ "America/Dominica",+ "America/Edmonton",+ "America/Eirunepe",+ "America/El_Salvador",+ "America/Fort_Nelson",+ "America/Fortaleza",+ "America/Glace_Bay",+ "America/Godthab",+ "America/Goose_Bay",+ "America/Grand_Turk",+ "America/Grenada",+ "America/Guadeloupe",+ "America/Guatemala",+ "America/Guayaquil",+ "America/Guyana",+ "America/Halifax",+ "America/Havana",+ "America/Hermosillo",+ "America/Indiana/Indianapolis",+ "America/Indiana/Knox",+ "America/Indiana/Marengo",+ "America/Indiana/Petersburg",+ "America/Indiana/Tell_City",+ "America/Indiana/Vevay",+ "America/Indiana/Vincennes",+ "America/Indiana/Winamac",+ "America/Inuvik",+ "America/Iqaluit",+ "America/Jamaica",+ "America/Juneau",+ "America/Kentucky/Louisville",+ "America/Kentucky/Monticello",+ "America/Kralendijk",+ "America/La_Paz",+ "America/Lima",+ "America/Los_Angeles",+ "America/Lower_Princes",+ "America/Maceio",+ "America/Managua",+ "America/Manaus",+ "America/Marigot",+ "America/Martinique",+ "America/Matamoros",+ "America/Mazatlan",+ "America/Menominee",+ "America/Merida",+ "America/Metlakatla",+ "America/Mexico_City",+ "America/Miquelon",+ "America/Moncton",+ "America/Monterrey",+ "America/Montevideo",+ "America/Montserrat",+ "America/Nassau",+ "America/New_York",+ "America/Nipigon",+ "America/Nome",+ "America/Noronha",+ "America/North_Dakota/Beulah",+ "America/North_Dakota/Center",+ "America/North_Dakota/New_Salem",+ "America/Ojinaga",+ "America/Panama",+ "America/Pangnirtung",+ "America/Paramaribo",+ "America/Phoenix",+ "America/Port-au-Prince",+ "America/Port_of_Spain",+ "America/Porto_Velho",+ "America/Puerto_Rico",+ "America/Punta_Arenas",+ "America/Rainy_River",+ "America/Rankin_Inlet",+ "America/Recife",+ "America/Regina",+ "America/Resolute",+ "America/Rio_Branco",+ "America/Santarem",+ "America/Santiago",+ "America/Santo_Domingo",+ "America/Sao_Paulo",+ "America/Scoresbysund",+ "America/Sitka",+ "America/St_Barthelemy",+ "America/St_Johns",+ "America/St_Kitts",+ "America/St_Lucia",+ "America/St_Thomas",+ "America/St_Vincent",+ "America/Swift_Current",+ "America/Tegucigalpa",+ "America/Thule",+ "America/Thunder_Bay",+ "America/Tijuana",+ "America/Toronto",+ "America/Tortola",+ "America/Vancouver",+ "America/Whitehorse",+ "America/Winnipeg",+ "America/Yakutat",+ "America/Yellowknife",+ "Antarctica/Casey",+ "Antarctica/Davis",+ "Antarctica/DumontDUrville",+ "Antarctica/Macquarie",+ "Antarctica/Mawson",+ "Antarctica/McMurdo",+ "Antarctica/Palmer",+ "Antarctica/Rothera",+ "Antarctica/Syowa",+ "Antarctica/Troll",+ "Antarctica/Vostok",+ "Arctic/Longyearbyen",+ "Asia/Aden",+ "Asia/Almaty",+ "Asia/Amman",+ "Asia/Anadyr",+ "Asia/Aqtau",+ "Asia/Aqtobe",+ "Asia/Ashgabat",+ "Asia/Atyrau",+ "Asia/Baghdad",+ "Asia/Bahrain",+ "Asia/Baku",+ "Asia/Bangkok",+ "Asia/Barnaul",+ "Asia/Beirut",+ "Asia/Bishkek",+ "Asia/Brunei",+ "Asia/Chita",+ "Asia/Choibalsan",+ "Asia/Colombo",+ "Asia/Damascus",+ "Asia/Dhaka",+ "Asia/Dili",+ "Asia/Dubai",+ "Asia/Dushanbe",+ "Asia/Famagusta",+ "Asia/Gaza",+ "Asia/Hebron",+ "Asia/Ho_Chi_Minh",+ "Asia/Hong_Kong",+ "Asia/Hovd",+ "Asia/Irkutsk",+ "Asia/Istanbul",+ "Asia/Jakarta",+ "Asia/Jayapura",+ "Asia/Jerusalem",+ "Asia/Kabul",+ "Asia/Kamchatka",+ "Asia/Karachi",+ "Asia/Kathmandu",+ "Asia/Khandyga",+ "Asia/Kolkata",+ "Asia/Krasnoyarsk",+ "Asia/Kuala_Lumpur",+ "Asia/Kuching",+ "Asia/Kuwait",+ "Asia/Macau",+ "Asia/Magadan",+ "Asia/Makassar",+ "Asia/Manila",+ "Asia/Muscat",+ "Asia/Nicosia",+ "Asia/Novokuznetsk",+ "Asia/Novosibirsk",+ "Asia/Omsk",+ "Asia/Oral",+ "Asia/Phnom_Penh",+ "Asia/Pontianak",+ "Asia/Pyongyang",+ "Asia/Qatar",+ "Asia/Qostanay",+ "Asia/Qyzylorda",+ "Asia/Riyadh",+ "Asia/Sakhalin",+ "Asia/Samarkand",+ "Asia/Seoul",+ "Asia/Shanghai",+ "Asia/Singapore",+ "Asia/Srednekolymsk",+ "Asia/Taipei",+ "Asia/Tashkent",+ "Asia/Tbilisi",+ "Asia/Tehran",+ "Asia/Thimphu",+ "Asia/Tokyo",+ "Asia/Tomsk",+ "Asia/Ulaanbaatar",+ "Asia/Urumqi",+ "Asia/Ust-Nera",+ "Asia/Vientiane",+ "Asia/Vladivostok",+ "Asia/Yakutsk",+ "Asia/Yangon",+ "Asia/Yekaterinburg",+ "Asia/Yerevan",+ "Atlantic/Azores",+ "Atlantic/Bermuda",+ "Atlantic/Canary",+ "Atlantic/Cape_Verde",+ "Atlantic/Faroe",+ "Atlantic/Madeira",+ "Atlantic/Reykjavik",+ "Atlantic/South_Georgia",+ "Atlantic/St_Helena",+ "Atlantic/Stanley",+ "Australia/Adelaide",+ "Australia/Brisbane",+ "Australia/Broken_Hill",+ "Australia/Currie",+ "Australia/Darwin",+ "Australia/Eucla",+ "Australia/Hobart",+ "Australia/Lindeman",+ "Australia/Lord_Howe",+ "Australia/Melbourne",+ "Australia/Perth",+ "Australia/Sydney",+ "Europe/Amsterdam",+ "Europe/Andorra",+ "Europe/Astrakhan",+ "Europe/Athens",+ "Europe/Belgrade",+ "Europe/Berlin",+ "Europe/Bratislava",+ "Europe/Brussels",+ "Europe/Bucharest",+ "Europe/Budapest",+ "Europe/Busingen",+ "Europe/Chisinau",+ "Europe/Copenhagen",+ "Europe/Dublin",+ "Europe/Gibraltar",+ "Europe/Guernsey",+ "Europe/Helsinki",+ "Europe/Isle_of_Man",+ "Europe/Istanbul",+ "Europe/Jersey",+ "Europe/Kaliningrad",+ "Europe/Kiev",+ "Europe/Kirov",+ "Europe/Lisbon",+ "Europe/Ljubljana",+ "Europe/London",+ "Europe/Luxembourg",+ "Europe/Madrid",+ "Europe/Malta",+ "Europe/Mariehamn",+ "Europe/Minsk",+ "Europe/Monaco",+ "Europe/Moscow",+ "Europe/Oslo",+ "Europe/Paris",+ "Europe/Podgorica",+ "Europe/Prague",+ "Europe/Riga",+ "Europe/Rome",+ "Europe/Samara",+ "Europe/San_Marino",+ "Europe/Sarajevo",+ "Europe/Saratov",+ "Europe/Simferopol",+ "Europe/Skopje",+ "Europe/Sofia",+ "Europe/Stockholm",+ "Europe/Tallinn",+ "Europe/Tirane",+ "Europe/Ulyanovsk",+ "Europe/Uzhgorod",+ "Europe/Vaduz",+ "Europe/Vatican",+ "Europe/Vienna",+ "Europe/Vilnius",+ "Europe/Volgograd",+ "Europe/Warsaw",+ "Europe/Zagreb",+ "Europe/Zaporozhye",+ "Europe/Zurich",+ "Indian/Antananarivo",+ "Indian/Chagos",+ "Indian/Christmas",+ "Indian/Cocos",+ "Indian/Comoro",+ "Indian/Kerguelen",+ "Indian/Mahe",+ "Indian/Maldives",+ "Indian/Mauritius",+ "Indian/Mayotte",+ "Indian/Reunion",+ "Pacific/Apia",+ "Pacific/Auckland",+ "Pacific/Bougainville",+ "Pacific/Chatham",+ "Pacific/Chuuk",+ "Pacific/Easter",+ "Pacific/Efate",+ "Pacific/Enderbury",+ "Pacific/Fakaofo",+ "Pacific/Fiji",+ "Pacific/Funafuti",+ "Pacific/Galapagos",+ "Pacific/Gambier",+ "Pacific/Guadalcanal",+ "Pacific/Guam",+ "Pacific/Honolulu",+ "Pacific/Kiritimati",+ "Pacific/Kosrae",+ "Pacific/Kwajalein",+ "Pacific/Majuro",+ "Pacific/Marquesas",+ "Pacific/Midway",+ "Pacific/Nauru",+ "Pacific/Niue",+ "Pacific/Norfolk",+ "Pacific/Noumea",+ "Pacific/Pago_Pago",+ "Pacific/Palau",+ "Pacific/Pitcairn",+ "Pacific/Pohnpei",+ "Pacific/Port_Moresby",+ "Pacific/Rarotonga",+ "Pacific/Saipan",+ "Pacific/Tahiti",+ "Pacific/Tarawa",+ "Pacific/Tongatapu",+ "Pacific/Wake",+ "Pacific/Wallis",+ "UTC"+ ]+ },+ "public.enum_events_link_target": {+ "name": "enum_events_link_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum_events_main_cta_target": {+ "name": "enum_events_main_cta_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum_events_status": {+ "name": "enum_events_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__events_v_version_type": {+ "name": "enum__events_v_version_type",+ "schema": "public",+ "values": [+ "conference",+ "hackathon",+ "launch-week",+ "meetup",+ "office-hours",+ "talk",+ "webinar",+ "workshop",+ "other"+ ]+ },+ "public.enum__events_v_version_timezone": {+ "name": "enum__events_v_version_timezone",+ "schema": "public",+ "values": [+ "Africa/Abidjan",+ "Africa/Accra",+ "Africa/Addis_Ababa",+ "Africa/Algiers",+ "Africa/Asmara",+ "Africa/Bamako",+ "Africa/Bangui",+ "Africa/Banjul",+ "Africa/Bissau",+ "Africa/Blantyre",+ "Africa/Brazzaville",+ "Africa/Bujumbura",+ "Africa/Cairo",+ "Africa/Casablanca",+ "Africa/Ceuta",+ "Africa/Conakry",+ "Africa/Dakar",+ "Africa/Dar_es_Salaam",+ "Africa/Djibouti",+ "Africa/Douala",+ "Africa/El_Aaiun",+ "Africa/Freetown",+ "Africa/Gaborone",+ "Africa/Harare",+ "Africa/Johannesburg",+ "Africa/Juba",+ "Africa/Kampala",+ "Africa/Khartoum",+ "Africa/Kigali",+ "Africa/Kinshasa",+ "Africa/Lagos",+ "Africa/Libreville",+ "Africa/Lome",+ "Africa/Luanda",+ "Africa/Lubumbashi",+ "Africa/Lusaka",+ "Africa/Malabo",+ "Africa/Maputo",+ "Africa/Maseru",+ "Africa/Mbabane",+ "Africa/Mogadishu",+ "Africa/Monrovia",+ "Africa/Nairobi",+ "Africa/Ndjamena",+ "Africa/Niamey",+ "Africa/Nouakchott",+ "Africa/Ouagadougou",+ "Africa/Porto-Novo",+ "Africa/Sao_Tome",+ "Africa/Tripoli",+ "Africa/Tunis",+ "Africa/Windhoek",+ "America/Adak",+ "America/Anchorage",+ "America/Anguilla",+ "America/Antigua",+ "America/Araguaina",+ "America/Argentina/Buenos_Aires",+ "America/Argentina/Catamarca",+ "America/Argentina/Cordoba",+ "America/Argentina/Jujuy",+ "America/Argentina/La_Rioja",+ "America/Argentina/Mendoza",+ "America/Argentina/Rio_Gallegos",+ "America/Argentina/Salta",+ "America/Argentina/San_Juan",+ "America/Argentina/San_Luis",+ "America/Argentina/Tucuman",+ "America/Argentina/Ushuaia",+ "America/Aruba",+ "America/Asuncion",+ "America/Atikokan",+ "America/Bahia",+ "America/Bahia_Banderas",+ "America/Barbados",+ "America/Belem",+ "America/Belize",+ "America/Blanc-Sablon",+ "America/Boa_Vista",+ "America/Bogota",+ "America/Boise",+ "America/Cambridge_Bay",+ "America/Campo_Grande",+ "America/Cancun",+ "America/Caracas",+ "America/Cayenne",+ "America/Cayman",+ "America/Chicago",+ "America/Chihuahua",+ "America/Costa_Rica",+ "America/Creston",+ "America/Cuiaba",+ "America/Curacao",+ "America/Danmarkshavn",+ "America/Dawson",+ "America/Dawson_Creek",+ "America/Denver",+ "America/Detroit",+ "America/Dominica",+ "America/Edmonton",+ "America/Eirunepe",+ "America/El_Salvador",+ "America/Fort_Nelson",+ "America/Fortaleza",+ "America/Glace_Bay",+ "America/Godthab",+ "America/Goose_Bay",+ "America/Grand_Turk",+ "America/Grenada",+ "America/Guadeloupe",+ "America/Guatemala",+ "America/Guayaquil",+ "America/Guyana",+ "America/Halifax",+ "America/Havana",+ "America/Hermosillo",+ "America/Indiana/Indianapolis",+ "America/Indiana/Knox",+ "America/Indiana/Marengo",+ "America/Indiana/Petersburg",+ "America/Indiana/Tell_City",+ "America/Indiana/Vevay",+ "America/Indiana/Vincennes",+ "America/Indiana/Winamac",+ "America/Inuvik",+ "America/Iqaluit",+ "America/Jamaica",+ "America/Juneau",+ "America/Kentucky/Louisville",+ "America/Kentucky/Monticello",+ "America/Kralendijk",+ "America/La_Paz",+ "America/Lima",+ "America/Los_Angeles",+ "America/Lower_Princes",+ "America/Maceio",+ "America/Managua",+ "America/Manaus",+ "America/Marigot",+ "America/Martinique",+ "America/Matamoros",+ "America/Mazatlan",+ "America/Menominee",+ "America/Merida",+ "America/Metlakatla",+ "America/Mexico_City",+ "America/Miquelon",+ "America/Moncton",+ "America/Monterrey",+ "America/Montevideo",+ "America/Montserrat",+ "America/Nassau",+ "America/New_York",+ "America/Nipigon",+ "America/Nome",+ "America/Noronha",+ "America/North_Dakota/Beulah",+ "America/North_Dakota/Center",+ "America/North_Dakota/New_Salem",+ "America/Ojinaga",+ "America/Panama",+ "America/Pangnirtung",+ "America/Paramaribo",+ "America/Phoenix",+ "America/Port-au-Prince",+ "America/Port_of_Spain",+ "America/Porto_Velho",+ "America/Puerto_Rico",+ "America/Punta_Arenas",+ "America/Rainy_River",+ "America/Rankin_Inlet",+ "America/Recife",+ "America/Regina",+ "America/Resolute",+ "America/Rio_Branco",+ "America/Santarem",+ "America/Santiago",+ "America/Santo_Domingo",+ "America/Sao_Paulo",+ "America/Scoresbysund",+ "America/Sitka",+ "America/St_Barthelemy",+ "America/St_Johns",+ "America/St_Kitts",+ "America/St_Lucia",+ "America/St_Thomas",+ "America/St_Vincent",+ "America/Swift_Current",+ "America/Tegucigalpa",+ "America/Thule",+ "America/Thunder_Bay",+ "America/Tijuana",+ "America/Toronto",+ "America/Tortola",+ "America/Vancouver",+ "America/Whitehorse",+ "America/Winnipeg",+ "America/Yakutat",+ "America/Yellowknife",+ "Antarctica/Casey",+ "Antarctica/Davis",+ "Antarctica/DumontDUrville",+ "Antarctica/Macquarie",+ "Antarctica/Mawson",+ "Antarctica/McMurdo",+ "Antarctica/Palmer",+ "Antarctica/Rothera",+ "Antarctica/Syowa",+ "Antarctica/Troll",+ "Antarctica/Vostok",+ "Arctic/Longyearbyen",+ "Asia/Aden",+ "Asia/Almaty",+ "Asia/Amman",+ "Asia/Anadyr",+ "Asia/Aqtau",+ "Asia/Aqtobe",+ "Asia/Ashgabat",+ "Asia/Atyrau",+ "Asia/Baghdad",+ "Asia/Bahrain",+ "Asia/Baku",+ "Asia/Bangkok",+ "Asia/Barnaul",+ "Asia/Beirut",+ "Asia/Bishkek",+ "Asia/Brunei",+ "Asia/Chita",+ "Asia/Choibalsan",+ "Asia/Colombo",+ "Asia/Damascus",+ "Asia/Dhaka",+ "Asia/Dili",+ "Asia/Dubai",+ "Asia/Dushanbe",+ "Asia/Famagusta",+ "Asia/Gaza",+ "Asia/Hebron",+ "Asia/Ho_Chi_Minh",+ "Asia/Hong_Kong",+ "Asia/Hovd",+ "Asia/Irkutsk",+ "Asia/Istanbul",+ "Asia/Jakarta",+ "Asia/Jayapura",+ "Asia/Jerusalem",+ "Asia/Kabul",+ "Asia/Kamchatka",+ "Asia/Karachi",+ "Asia/Kathmandu",+ "Asia/Khandyga",+ "Asia/Kolkata",+ "Asia/Krasnoyarsk",+ "Asia/Kuala_Lumpur",+ "Asia/Kuching",+ "Asia/Kuwait",+ "Asia/Macau",+ "Asia/Magadan",+ "Asia/Makassar",+ "Asia/Manila",+ "Asia/Muscat",+ "Asia/Nicosia",+ "Asia/Novokuznetsk",+ "Asia/Novosibirsk",+ "Asia/Omsk",+ "Asia/Oral",+ "Asia/Phnom_Penh",+ "Asia/Pontianak",+ "Asia/Pyongyang",+ "Asia/Qatar",+ "Asia/Qostanay",+ "Asia/Qyzylorda",+ "Asia/Riyadh",+ "Asia/Sakhalin",+ "Asia/Samarkand",+ "Asia/Seoul",+ "Asia/Shanghai",+ "Asia/Singapore",+ "Asia/Srednekolymsk",+ "Asia/Taipei",+ "Asia/Tashkent",+ "Asia/Tbilisi",+ "Asia/Tehran",+ "Asia/Thimphu",+ "Asia/Tokyo",+ "Asia/Tomsk",+ "Asia/Ulaanbaatar",+ "Asia/Urumqi",+ "Asia/Ust-Nera",+ "Asia/Vientiane",+ "Asia/Vladivostok",+ "Asia/Yakutsk",+ "Asia/Yangon",+ "Asia/Yekaterinburg",+ "Asia/Yerevan",+ "Atlantic/Azores",+ "Atlantic/Bermuda",+ "Atlantic/Canary",+ "Atlantic/Cape_Verde",+ "Atlantic/Faroe",+ "Atlantic/Madeira",+ "Atlantic/Reykjavik",+ "Atlantic/South_Georgia",+ "Atlantic/St_Helena",+ "Atlantic/Stanley",+ "Australia/Adelaide",+ "Australia/Brisbane",+ "Australia/Broken_Hill",+ "Australia/Currie",+ "Australia/Darwin",+ "Australia/Eucla",+ "Australia/Hobart",+ "Australia/Lindeman",+ "Australia/Lord_Howe",+ "Australia/Melbourne",+ "Australia/Perth",+ "Australia/Sydney",+ "Europe/Amsterdam",+ "Europe/Andorra",+ "Europe/Astrakhan",+ "Europe/Athens",+ "Europe/Belgrade",+ "Europe/Berlin",+ "Europe/Bratislava",+ "Europe/Brussels",+ "Europe/Bucharest",+ "Europe/Budapest",+ "Europe/Busingen",+ "Europe/Chisinau",+ "Europe/Copenhagen",+ "Europe/Dublin",+ "Europe/Gibraltar",+ "Europe/Guernsey",+ "Europe/Helsinki",+ "Europe/Isle_of_Man",+ "Europe/Istanbul",+ "Europe/Jersey",+ "Europe/Kaliningrad",+ "Europe/Kiev",+ "Europe/Kirov",+ "Europe/Lisbon",+ "Europe/Ljubljana",+ "Europe/London",+ "Europe/Luxembourg",+ "Europe/Madrid",+ "Europe/Malta",+ "Europe/Mariehamn",+ "Europe/Minsk",+ "Europe/Monaco",+ "Europe/Moscow",+ "Europe/Oslo",+ "Europe/Paris",+ "Europe/Podgorica",+ "Europe/Prague",+ "Europe/Riga",+ "Europe/Rome",+ "Europe/Samara",+ "Europe/San_Marino",+ "Europe/Sarajevo",+ "Europe/Saratov",+ "Europe/Simferopol",+ "Europe/Skopje",+ "Europe/Sofia",+ "Europe/Stockholm",+ "Europe/Tallinn",+ "Europe/Tirane",+ "Europe/Ulyanovsk",+ "Europe/Uzhgorod",+ "Europe/Vaduz",+ "Europe/Vatican",+ "Europe/Vienna",+ "Europe/Vilnius",+ "Europe/Volgograd",+ "Europe/Warsaw",+ "Europe/Zagreb",+ "Europe/Zaporozhye",+ "Europe/Zurich",+ "Indian/Antananarivo",+ "Indian/Chagos",+ "Indian/Christmas",+ "Indian/Cocos",+ "Indian/Comoro",+ "Indian/Kerguelen",+ "Indian/Mahe",+ "Indian/Maldives",+ "Indian/Mauritius",+ "Indian/Mayotte",+ "Indian/Reunion",+ "Pacific/Apia",+ "Pacific/Auckland",+ "Pacific/Bougainville",+ "Pacific/Chatham",+ "Pacific/Chuuk",+ "Pacific/Easter",+ "Pacific/Efate",+ "Pacific/Enderbury",+ "Pacific/Fakaofo",+ "Pacific/Fiji",+ "Pacific/Funafuti",+ "Pacific/Galapagos",+ "Pacific/Gambier",+ "Pacific/Guadalcanal",+ "Pacific/Guam",+ "Pacific/Honolulu",+ "Pacific/Kiritimati",+ "Pacific/Kosrae",+ "Pacific/Kwajalein",+ "Pacific/Majuro",+ "Pacific/Marquesas",+ "Pacific/Midway",+ "Pacific/Nauru",+ "Pacific/Niue",+ "Pacific/Norfolk",+ "Pacific/Noumea",+ "Pacific/Pago_Pago",+ "Pacific/Palau",+ "Pacific/Pitcairn",+ "Pacific/Pohnpei",+ "Pacific/Port_Moresby",+ "Pacific/Rarotonga",+ "Pacific/Saipan",+ "Pacific/Tahiti",+ "Pacific/Tarawa",+ "Pacific/Tongatapu",+ "Pacific/Wake",+ "Pacific/Wallis",+ "UTC"+ ]+ },+ "public.enum__events_v_version_link_target": {+ "name": "enum__events_v_version_link_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum__events_v_version_main_cta_target": {+ "name": "enum__events_v_version_main_cta_target",+ "schema": "public",+ "values": [+ "_self",+ "_blank"+ ]+ },+ "public.enum__events_v_version_status": {+ "name": "enum__events_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_posts_launchweek": {+ "name": "enum_posts_launchweek",+ "schema": "public",+ "values": [+ "6",+ "7",+ "8",+ "x",+ "ga",+ "12",+ "13",+ "14",+ "15"+ ]+ },+ "public.enum_posts_status": {+ "name": "enum_posts_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum__posts_v_version_launchweek": {+ "name": "enum__posts_v_version_launchweek",+ "schema": "public",+ "values": [+ "6",+ "7",+ "8",+ "x",+ "ga",+ "12",+ "13",+ "14",+ "15"+ ]+ },+ "public.enum__posts_v_version_status": {+ "name": "enum__posts_v_version_status",+ "schema": "public",+ "values": [+ "draft",+ "published"+ ]+ },+ "public.enum_users_roles": {+ "name": "enum_users_roles",+ "schema": "public",+ "values": [+ "admin",+ "editor"+ ]+ },+ "public.enum_payload_jobs_log_task_slug": {+ "name": "enum_payload_jobs_log_task_slug",+ "schema": "public",+ "values": [+ "inline",+ "schedulePublish"+ ]+ },+ "public.enum_payload_jobs_log_state": {+ "name": "enum_payload_jobs_log_state",+ "schema": "public",+ "values": [+ "failed",+ "succeeded"+ ]+ },+ "public.enum_payload_jobs_task_slug": {+ "name": "enum_payload_jobs_task_slug",+ "schema": "public",+ "values": [+ "inline",+ "schedulePublish"+ ]+ }+ },+ "schemas": {},+ "sequences": {},+ "roles": {},+ "policies": {},+ "views": {},+ "_meta": {+ "schemas": {},+ "tables": {},+ "columns": {}+ }+}\ No newline at end of filediff --git a/apps/cms/src/migrations/20250902_112449.ts b/apps/cms/src/migrations/20250902_112449.tsnew file mode 100644index 00000000000..fe968e1c633--- /dev/null+++ b/apps/cms/src/migrations/20250902_112449.ts@@ -0,0 +1,23 @@+import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres'++export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {+ await db.execute(sql`+ ALTER TABLE "posts" DROP CONSTRAINT "posts_image_id_media_id_fk";++ ALTER TABLE "_posts_v" DROP CONSTRAINT "_posts_v_version_image_id_media_id_fk";++ DROP INDEX "posts_image_idx";+ DROP INDEX "_posts_v_version_version_image_idx";+ ALTER TABLE "posts" DROP COLUMN "image_id";+ ALTER TABLE "_posts_v" DROP COLUMN "version_image_id";`)+}++export async function down({ db, payload, req }: MigrateDownArgs): Promise<void> {+ await db.execute(sql`+ ALTER TABLE "posts" ADD COLUMN "image_id" integer;+ ALTER TABLE "_posts_v" ADD COLUMN "version_image_id" integer;+ ALTER TABLE "posts" ADD CONSTRAINT "posts_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;+ ALTER TABLE "_posts_v" ADD CONSTRAINT "_posts_v_version_image_id_media_id_fk" FOREIGN KEY ("version_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action;+ CREATE INDEX "posts_image_idx" ON "posts" USING btree ("image_id");+ CREATE INDEX "_posts_v_version_version_image_idx" ON "_posts_v" USING btree ("version_image_id");`)+}diff --git a/apps/cms/src/migrations/index.ts b/apps/cms/src/migrations/index.tsindex 142575f5588..a00569c368d 100644--- a/apps/cms/src/migrations/index.ts+++ b/apps/cms/src/migrations/index.ts@@ -1,6 +1,10 @@-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';+import * as migration_20250619_155345 from './20250619_155345';+import * as migration_20250619_160549 from './20250619_160549';+import * as migration_20250808_145722_update_payload_migrations from './20250808_145722_update_payload_migrations';+import * as migration_20250819_222013_update_authors from './20250819_222013_update_authors';+import * as migration_20250821_151248 from './20250821_151248';+import * as migration_20250821_165446 from './20250821_165446';+import * as migration_20250902_112449 from './20250902_112449';export const migrations = [{@@ -16,6 +20,26 @@ export const migrations = [{up: migration_20250808_145722_update_payload_migrations.up,down: migration_20250808_145722_update_payload_migrations.down,- name: '20250808_145722_update_payload_migrations'+ name: '20250808_145722_update_payload_migrations',+ },+ {+ up: migration_20250819_222013_update_authors.up,+ down: migration_20250819_222013_update_authors.down,+ name: '20250819_222013_update_authors',+ },+ {+ up: migration_20250821_151248.up,+ down: migration_20250821_151248.down,+ name: '20250821_151248',+ },+ {+ up: migration_20250821_165446.up,+ down: migration_20250821_165446.down,+ name: '20250821_165446',+ },+ {+ up: migration_20250902_112449.up,+ down: migration_20250902_112449.down,+ name: '20250902_112449'},];diff --git a/apps/cms/src/payload-types.ts b/apps/cms/src/payload-types.tsindex 5b1b3b9600a..493b3162b08 100644--- a/apps/cms/src/payload-types.ts+++ b/apps/cms/src/payload-types.ts@@ -140,11 +140,24 @@ export interface UserAuthOperations {export interface Author {id: number;author: string;- author_id?: string | null;+ /**+ * Unique identifier for the author+ */+ author_id: string;+ /**+ * GitHub/social username+ */+ username?: string | null;position?: string | null;+ /**+ * Company name (for external/guest authors)+ */+ company?: string | null;+ /**+ * Link to GitHub, Twitter, LinkedIn, etc.+ */author_url?: string | null;author_image_url?: (number | null) | Media;- username?: string | null;updatedAt: string;createdAt: string;}@@ -920,6 +933,10 @@ export interface Post {title: string;slug?: string | null;slugLock?: boolean | null;+ /**+ * Appears as subheading in the blog post preview.+ */+ description?: string | null;content: {root: {type: string;@@ -935,28 +952,47 @@ export interface Post {};[k: string]: unknown;};+ /**+ * Will show up as the blog post cover. Required.+ */thumb?: (number | null) | Media;- image?: (number | null) | Media;- categories?: (number | Category)[] | null;/**- * Select a launch week to show launch week summary at the bottom of the blog post.+ * Authors must be one or more. Required.*/- launchweek?: ('6' | '7' | '8' | 'x' | 'ga' | '12' | '13' | '14' | '15') | null;- readingTime?: number | null;- date?: string | null;- toc_depth?: number | null;- description?: string | null;authors?: (number | Author)[] | null;+ /**+ * Select only one category. Required.+ */+ categories?: (number | Category)[] | null;+ readingTime?: number | null;+ /**+ * Tags can be one or more. Optional.+ */tags?: (number | Tag)[] | null;+ toc_depth?: number | null;+ /**+ * Select a launch week to show launch week summary at the bottom of the blog post. Optional.+ */+ launchweek?: ('6' | '7' | '8' | 'x' | 'ga' | '12' | '13' | '14' | '15') | null;meta?: {+ /**+ * Defaults to the title of the post, if not set.+ */title?: string | null;/**- * Maximum upload file size: 12MB. Recommended file size for images is <500KB.+ * Defaults to the "thumb" image, if not set.*/image?: (number | null) | Media;+ /**+ * Defaults to the description of the post, if not set.+ */description?: string | null;};publishedAt?: string | null;+ /**+ * This date will determine the chronological order of the blog post. Required.+ */+ date?: string | null;updatedAt: string;createdAt: string;_status?: ('draft' | 'published') | null;@@ -1180,10 +1216,11 @@ export interface PayloadMigration {export interface AuthorsSelect<T extends boolean = true> {author?: T;author_id?: T;+ username?: T;position?: T;+ company?: T;author_url?: T;author_image_url?: T;- username?: T;updatedAt?: T;createdAt?: T;}@@ -1414,17 +1451,15 @@ export interface PostsSelect<T extends boolean = true> {title?: T;slug?: T;slugLock?: T;+ description?: T;content?: T;thumb?: T;- image?: T;+ authors?: T;categories?: T;- launchweek?: T;readingTime?: T;- date?: T;- toc_depth?: T;- description?: T;- authors?: T;tags?: T;+ toc_depth?: T;+ launchweek?: T;meta?:| T| {@@ -1433,6 +1468,7 @@ export interface PostsSelect<T extends boolean = true> {description?: T;};publishedAt?: T;+ date?: T;updatedAt?: T;createdAt?: T;_status?: T;@@ -1548,10 +1584,6 @@ export interface TaskSchedulePublish {| ({relationTo: 'events';value: number | Event;- } | null)- | ({- relationTo: 'posts';- value: number | Post;} | null);global?: string | null;user?: (number | null) | User;@@ -1588,7 +1620,7 @@ export interface BannerBlock {* via the `definition` "CodeBlock".*/export interface CodeBlock {- language?: ('typescript' | 'javascript' | 'css') | null;+ language?: ('sql' | 'json' | 'bash' | 'js' | 'ts' | 'tsx' | 'py' | 'kotlin' | 'yaml') | null;code: string;id?: string | null;blockName?: string | null;diff --git a/apps/cms/src/payload.config.ts b/apps/cms/src/payload.config.tsindex 6c715330bb1..8858ce58a5e 100644--- a/apps/cms/src/payload.config.ts+++ b/apps/cms/src/payload.config.ts@@ -9,6 +9,7 @@ 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 { WWW_SITE_ORIGIN } from './utilities/constants.ts'import type { GenerateTitle, GenerateURL } from '@payloadcms/plugin-seo/types'import type { Customer, Event, Post } from './payload-types'@@ -80,28 +81,6 @@ export default buildConfig({importMap: {baseDir: path.resolve(dirname),},- livePreview: {- breakpoints: [- {- label: 'Mobile',- name: 'mobile',- width: 375,- height: 667,- },- {- label: 'Tablet',- name: 'tablet',- width: 768,- height: 1024,- },- {- label: 'Desktop',- name: 'desktop',- width: 1440,- height: 900,- },- ],- },},collections: [Authors, Categories, Customers, Events, Media, Posts, Tags, Users],editor: defaultLexical,@@ -109,13 +88,24 @@ export default buildConfig({typescript: {outputFile: path.resolve(dirname, 'payload-types.ts'),},- cors: [getServerSideURL()].filter(Boolean),+ cors: [getServerSideURL(), WWW_SITE_ORIGIN].filter(Boolean),db: postgresAdapter({pool: {connectionString: process.env.DATABASE_URI || '',+ // Connection pool configuration for serverless/Vercel+ max: 25, // Maximum number of connections in the pool (keep low for serverless)+ min: 0, // Minimum number of connections in the pool+ idleTimeoutMillis: 0, // Time a connection can be idle before being closed+ connectionTimeoutMillis: 0, // Time to wait for connection creation},- // schemaName: 'cms-payload',}),+ // Global configuration for better performance+ globals: [],+ graphQL: {+ disable: process.env.NODE_ENV !== 'development', // Disable GraphQL in production for better performance+ },+ // Reduce payload init overhead+ telemetry: false,sharp,plugins,})diff --git a/apps/cms/src/utilities/constants.ts b/apps/cms/src/utilities/constants.tsnew file mode 100644index 00000000000..42d982ad963--- /dev/null+++ b/apps/cms/src/utilities/constants.ts@@ -0,0 +1,8 @@+// https://cms-git-chore-fix-cms-types-supabase.vercel.app/+// https://zone-www-dot-com-git-chore-fix-cms-types-supabase.vercel.app/+export const WWW_SITE_ORIGIN =+ process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'+ ? 'https://supabase.com'+ : process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL+ ? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL?.replace('cms-git-', 'zone-www-dot-com-git-')}`+ : 'http://localhost:3000'diff --git a/apps/cms/src/utilities/generatePreviewPath.ts b/apps/cms/src/utilities/generatePreviewPath.tsindex 230edef6508..bd39e63b13c 100644--- a/apps/cms/src/utilities/generatePreviewPath.ts+++ b/apps/cms/src/utilities/generatePreviewPath.ts@@ -1,4 +1,5 @@import { PayloadRequest, CollectionSlug } from 'payload'+import { WWW_SITE_ORIGIN } from './constants'const collectionPrefixMap: Partial<Record<CollectionSlug, string>> = {posts: '/blog',@@ -12,9 +13,9 @@ type Props = {export const generatePreviewPath = ({ collection, slug }: Props) => {if (collection === 'posts') {- const baseUrl = process.env.BLOG_APP_URL || 'http://localhost:3000'+ const baseUrl = WWW_SITE_ORIGIN || 'http://localhost:3000'// Use our preview API route for post previews- return `${baseUrl}/api/preview?slug=${slug}`+ return `${baseUrl}/api-v2/cms/preview?slug=${slug}`}const encodedParams = new URLSearchParams({diff --git a/apps/cms/supabase/config.toml b/apps/cms/supabase/config.tomlindex f12262c6548..1ae9e92ecd7 100644--- a/apps/cms/supabase/config.toml+++ b/apps/cms/supabase/config.toml@@ -4,6 +4,9 @@# working directory name when running `supabase init`.project_id = "cms"+[remotes.prod]+project_id = "koovxkbhviltdcwwaqvc"+[api]enabled = true# Port to use for the API URL.@@ -28,7 +31,7 @@ port = 34322shadow_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 = 17+major_version = 15[db.pooler]enabled = falsediff --git a/apps/cms/vercel.json b/apps/cms/vercel.jsonindex fd0cbd73ac1..650a555c7f3 100644--- a/apps/cms/vercel.json+++ b/apps/cms/vercel.json@@ -1,5 +1,4 @@{- "$schema": "https://openapi.vercel.sh/vercel.json","buildCommand": "pnpm vercel-build","installCommand": "pnpm install"}diff --git a/apps/www/.env b/apps/www/.envindex 20b7e81d5ce..f7c55038f4b 100644--- a/apps/www/.env+++ b/apps/www/.env@@ -8,4 +8,4 @@ NEXT_PUBLIC_URL="http://localhost:3000"NEXT_PUBLIC_DOCS_URL="http://localhost:3001"NEXT_PUBLIC_STUDIO_URL="http://localhost:8082"NEXT_PUBLIC_REFERENCE_DOCS_URL="http://localhost:3010"-NEXT_PUBLIC_UI_LIBRARY_URL="http://localhost:3004"+NEXT_PUBLIC_UI_LIBRARY_URL="http://localhost:3004"\ No newline at end of filediff --git a/apps/www/.env.local.example b/apps/www/.env.local.exampleindex 02561313312..f0c941e429d 100644--- a/apps/www/.env.local.example+++ b/apps/www/.env.local.example@@ -11,4 +11,6 @@ NEXT_PUBLIC_SUPABASE_URL="https://xguihxuzqibwxjnimxev.supabase.co"SUPABASE_COM_SERVICE_ROLE_KEY="secret"NEXT_PUBLIC_URL="http://localhost:3000"NEXT_PUBLIC_HCAPTCHA_SITE_KEY="10000000-ffff-ffff-ffff-000000000001"-HCAPTCHA_SECRET_KEY="0x0000000000000000000000000000000000000000+HCAPTCHA_SECRET_KEY="0x0000000000000000000000000000000000000000"+CMS_API_KEY=secret+CMS_PREVIEW_SECRET=secret\ No newline at end of filediff --git a/apps/www/.gitignore b/apps/www/.gitignoreindex 2eaeea1a373..0bd436d06ba 100644--- a/apps/www/.gitignore+++ b/apps/www/.gitignore@@ -23,6 +23,7 @@ yarn-error.log***/*/generated/**/*!**/*/generated/.gitkeep!**/*/generated/**/.gitkeep+.generated# Sitemappublic/sitemap.xmldiff --git a/apps/www/.vercelignore b/apps/www/.vercelignorenew file mode 100644index 00000000000..a0cfdb5c687--- /dev/null+++ b/apps/www/.vercelignore@@ -0,0 +1,73 @@+# Dependencies+node_modules+**/node_modules+**/.pnpm++# Build artifacts - exclude heavy build files+.next/cache+.next/trace+.next/static/chunks/pages/_buildManifest.js+.next/static/chunks/pages/_ssgManifest.js+.turbo+.eslintcache++# Content that shouldn't be bundled into functions+_blog/**/*.mdx+public/images/**/*+public/videos/**/*+public/fonts/**/*++# Development files+*.log+*.map+.env.local+.env.*.local++# Testing files+**/*.test.*+**/*.spec.*+**/*.stories.*+**/coverage++# Documentation+README.md+*.md+docs/**/*++# IDE files+.vscode+.idea+*.swp+*.swo+.cursor++# OS files+.DS_Store+Thumbs.db++# Heavy node_modules subdirectories+**/node_modules/@swc+**/node_modules/@esbuild+**/node_modules/rollup+**/node_modules/webpack+**/node_modules/terser+**/node_modules/@babel+**/node_modules/typescript+**/node_modules/@types+**/node_modules/highlight.js+**/node_modules/refractor+**/node_modules/@code-hike+**/node_modules/framer-motion++# Other apps (since we're only deploying www)+../cms+../design-system+../docs+../studio+../ui-library+../../examples+../../tests+../../supabase+../../packages/ui-patterns+../../packages/ui+../../packages/shared-data\ No newline at end of filediff --git a/apps/www/app/ConsentWrapper.tsx b/apps/www/app/ConsentWrapper.tsxnew file mode 100644index 00000000000..595ad4a0bad--- /dev/null+++ b/apps/www/app/ConsentWrapper.tsx@@ -0,0 +1,24 @@+'use client'++import { IS_PLATFORM, PageTelemetry } from 'common'+import { useConsentToast } from 'ui-patterns/consent'+import { API_URL } from '~/lib/constants'++interface ConsentWrapperProps {+ children: React.ReactNode+}++export function ConsentWrapper({ children }: ConsentWrapperProps) {+ const { hasAcceptedConsent } = useConsentToast()++ return (+ <>+ {children}+ <PageTelemetry+ API_URL={API_URL}+ hasAcceptedConsent={hasAcceptedConsent}+ enabled={IS_PLATFORM}+ />+ </>+ )+}diff --git a/apps/www/app/api-v2/cms-posts/route.ts b/apps/www/app/api-v2/cms-posts/route.tsnew file mode 100644index 00000000000..2243cab04db--- /dev/null+++ b/apps/www/app/api-v2/cms-posts/route.ts@@ -0,0 +1,723 @@+import { NextRequest, NextResponse } from 'next/server'+import { draftMode } from 'next/headers'+import { CMS_SITE_ORIGIN } from '~/lib/constants'+import { generateReadingTime } from '~/lib/helpers'++// Lightweight runtime for better performance+export const runtime = 'edge'++// Lightweight TOC generation for edge runtime+type TocItem = { content: string; slug: string; lvl: number }++function generateTocFromMarkdown(markdown: string, maxDepth: number = 2) {+ const lines = markdown.split(/\r?\n/)+ const items: TocItem[] = []++ for (const line of lines) {+ const match = /^(#{1,6})\s+(.*)$/.exec(line)+ if (!match) continue+ const depth = match[1].length+ if (depth > maxDepth) continue+ const text = match[2].trim()+ if (!text) continue++ const slug = text+ .trim()+ .toLowerCase()+ .replace(/[`~!@#$%^&*()+=|{}\[\]\\:\";'<>?,./]+/g, '')+ .replace(/\s+/g, '-')++ items.push({ content: text, slug, lvl: depth })+ }++ const content = items+ .map((h) => `${' '.repeat(Math.max(0, h.lvl - 1))}- [${h.content}](#${h.slug})`)+ .join('\n')++ return { content, json: items }+}++// Minimal rich-text to plain text for reading time+function richTextToPlainText(content: any): string {+ try {+ const blocks = content?.root?.children+ if (!Array.isArray(blocks)) return ''+ const segments: string[] = []+ for (const node of blocks) {+ if (node?.type === 'heading') {+ const text = Array.isArray(node.children)+ ? node.children.map((c: any) => c?.text || '').join('')+ : ''+ if (text) segments.push(text)+ } else if (node?.type === 'paragraph') {+ const text = Array.isArray(node.children)+ ? node.children.map((c: any) => c?.text || '').join('')+ : ''+ if (text) segments.push(text)+ } else if (node?.type === 'list') {+ const items = Array.isArray(node.children)+ ? node.children+ .map((item: any) =>+ Array.isArray(item?.children)+ ? item.children.map((c: any) => c?.text || '').join('')+ : ''+ )+ .filter(Boolean)+ : []+ if (items.length > 0) segments.push(items.join(' '))+ } else if (node?.type === 'link') {+ const text = Array.isArray(node.children)+ ? node.children.map((c: any) => c?.text || '').join('')+ : ''+ if (text) segments.push(text)+ }+ }+ return segments.join('\n')+ } catch {+ return ''+ }+}++// Convert Payload rich text content to markdown+function convertRichTextToMarkdown(content: any): string {+ if (!content?.root?.children) return ''++ return content.root.children+ .map((node: any) => {+ if (node.type === 'heading') {+ const level = node.tag && typeof node.tag === 'string' ? node.tag.replace('h', '') : '1'+ const text = node.children?.map((child: any) => child.text).join('') || ''+ return `${'#'.repeat(Number(level))} ${text}`+ }+ if (node.type === 'paragraph') {+ return node.children?.map((child: any) => child.text).join('') || ''+ }+ if (node.type === 'list') {+ const items = node.children+ ?.map((item: any) => {+ if (item.type === 'list-item') {+ return `- ${item.children?.map((child: any) => child.text).join('') || ''}`+ }+ return ''+ })+ .filter(Boolean)+ .join('\n')+ return items+ }+ if (node.type === 'link') {+ const text = node.children?.map((child: any) => child.text).join('') || ''+ const url = node.url || ''+ return `[${text}](${url})`+ }+ return ''+ })+ .filter(Boolean)+ .join('\n\n')+}++export async function GET(request: NextRequest) {+ try {+ const { searchParams } = new URL(request.url)+ const mode = searchParams.get('mode') || 'preview' // 'preview' or 'full'+ const limit = searchParams.get('limit') || '100'+ const slug = searchParams.get('slug') // For fetching specific post+ const draftParam = searchParams.get('draft') === 'true' // Explicit draft parameter++ const baseUrl = CMS_SITE_ORIGIN+ const apiKey = process.env.CMS_API_KEY++ // Check if we're in draft mode (either Next.js draft mode OR explicit draft parameter)+ const { isEnabled: isDraftMode } = await draftMode()+ const shouldFetchDraft = isDraftMode || draftParam++ // When fetching a specific post, we need to handle versioning correctly+ if (slug) {+ // If in draft mode, fetch the latest version (draft or published)+ if (shouldFetchDraft) {+ // Strategy 1: Try to get the latest version from versions API (including drafts)+ const allVersionsUrl = new URL('/api/posts/versions', baseUrl)+ allVersionsUrl.searchParams.set('where[version.slug][equals]', slug)+ allVersionsUrl.searchParams.set('sort', '-updatedAt') // Get the most recent version regardless of status+ allVersionsUrl.searchParams.set('limit', '1')+ allVersionsUrl.searchParams.set('depth', '2')++ const allVersionsResponse = await fetch(allVersionsUrl.toString(), {+ headers: {+ 'Content-Type': 'application/json',+ ...(apiKey ? { Authorization: `Bearer ${apiKey}` } : {}),+ },+ cache: 'no-store',+ })++ if (allVersionsResponse.ok) {+ const versionsData = await allVersionsResponse.json()++ if (versionsData.docs && versionsData.docs.length > 0) {+ const latestVersion = versionsData.docs[0].version+ if (latestVersion) {+ const markdownContent = convertRichTextToMarkdown(latestVersion.content)+ const readingTime = generateReadingTime(richTextToPlainText(latestVersion.content))++ const tocResult = generateTocFromMarkdown(+ markdownContent,+ latestVersion.toc_depth || 3+ )++ const processedPost = {+ slug: latestVersion.slug || '',+ title: latestVersion.title || '',+ description: latestVersion.description || '',+ date: latestVersion.date || new Date().toISOString(),+ formattedDate: new Date(latestVersion.date || new Date()).toLocaleDateString(+ 'en-US',+ {+ month: 'long',+ day: 'numeric',+ year: 'numeric',+ }+ ),+ readingTime,+ authors: Array.isArray(latestVersion.authors)+ ? latestVersion.authors.map((a: any) => ({+ author: a?.author || 'Unknown Author',+ author_id: a?.author_id || '',+ position: a?.position || '',+ author_url: a?.author_url || '#',+ author_image_url: a?.author_image_url?.url+ ? typeof a.author_image_url.url === 'string' &&+ a.author_image_url.url.includes('http')+ ? a.author_image_url.url+ : `${baseUrl}${a.author_image_url.url}`+ : null,+ username: a?.username || '',+ }))+ : [],+ thumb: latestVersion.thumb?.url+ ? `${baseUrl}${latestVersion.thumb.url}`+ : undefined,+ image: latestVersion.image?.url+ ? `${baseUrl}${latestVersion.image.url}`+ : undefined,+ meta: latestVersion.meta || null,+ url: `/blog/${latestVersion.slug}`,+ path: `/blog/${latestVersion.slug}`,+ tags: latestVersion.tags || [],+ categories: [],+ isCMS: true,+ content: markdownContent,+ richContent: latestVersion.content,+ toc: tocResult,+ toc_depth: latestVersion.toc_depth || 3,+ isDraft: true,+ _status: latestVersion._status,+ }++ return NextResponse.json({+ success: true,+ post: processedPost,+ mode,+ isDraft: shouldFetchDraft,+ })+ }+ }+ }++ // Strategy 2: Try to get the most recent draft+ const draftUrl = new URL('/api/posts', baseUrl)+ draftUrl.searchParams.set('where[slug][equals]', slug)+ draftUrl.searchParams.set('depth', '2')+ draftUrl.searchParams.set('draft', 'true')+ draftUrl.searchParams.set('sort', '-updatedAt') // Get the most recent version++ const draftResponse = await fetch(draftUrl.toString(), {+ headers: {+ 'Content-Type': 'application/json',+ ...(apiKey ? { Authorization: `Bearer ${apiKey}` } : {}),+ },+ cache: 'no-store', // Never cache draft content+ })++ if (draftResponse.ok) {+ const draftData = await draftResponse.json()++ if (draftData.docs && draftData.docs.length > 0) {+ const post = draftData.docs[0]+ const markdownContent = convertRichTextToMarkdown(post.content)+ const readingTime = generateReadingTime(richTextToPlainText(post.content))++ const tocResult = generateTocFromMarkdown(markdownContent, post.toc_depth || 3)++ const processedPost = {+ slug: post.slug || '',+ title: post.title || '',+ description: post.description || '',+ date: post.date || new Date().toISOString(),+ formattedDate: new Date(post.date || new Date()).toLocaleDateString('en-US', {+ month: 'long',+ day: 'numeric',+ year: 'numeric',+ }),+ readingTime,+ authors: Array.isArray(post.authors)+ ? post.authors.map((a: any) => ({+ author: a?.author || 'Unknown Author',+ author_id: a?.author_id || '',+ position: a?.position || '',+ author_url: a?.author_url || '#',+ author_image_url: a?.author_image_url?.url+ ? typeof a.author_image_url.url === 'string' &&+ a.author_image_url.url.includes('http')+ ? a.author_image_url.url+ : `${baseUrl}${a.author_image_url.url}`+ : null,+ username: a?.username || '',+ }))+ : [],+ thumb: post.thumb?.url ? `${baseUrl}${post.thumb.url}` : undefined,+ image: post.image?.url ? `${baseUrl}${post.image.url}` : undefined,+ meta: post.meta || null,+ url: `/blog/${post.slug}`,+ path: `/blog/${post.slug}`,+ tags: post.tags || [],+ categories: [],+ isCMS: true,+ content: markdownContent,+ richContent: post.content,+ toc: tocResult,+ toc_depth: post.toc_depth || 3,+ isDraft: true,+ _status: post._status,+ }++ return NextResponse.json({+ success: true,+ post: processedPost,+ mode,+ isDraft: shouldFetchDraft,+ })+ }+ }++ // Strategy 3: If no draft found, try published version but still mark as draft mode++ const publishedUrl = new URL('/api/posts', baseUrl)+ publishedUrl.searchParams.set('where[slug][equals]', slug)+ publishedUrl.searchParams.set('depth', '2')+ publishedUrl.searchParams.set('draft', 'false')++ const publishedResponse = await fetch(publishedUrl.toString(), {+ headers: {+ 'Content-Type': 'application/json',+ ...(apiKey ? { Authorization: `Bearer ${apiKey}` } : {}),+ },+ cache: 'no-store',+ })++ if (publishedResponse.ok) {+ const publishedData = await publishedResponse.json()+ if (publishedData.docs && publishedData.docs.length > 0) {+ const post = publishedData.docs[0]+ const markdownContent = convertRichTextToMarkdown(post.content)+ const readingTime = generateReadingTime(richTextToPlainText(post.content))++ const tocResult = generateTocFromMarkdown(markdownContent, post.toc_depth || 3)++ const processedPost = {+ slug: post.slug || '',+ title: post.title || '',+ description: post.description || '',+ date: post.date || new Date().toISOString(),+ formattedDate: new Date(post.date || new Date()).toLocaleDateString('en-US', {+ month: 'long',+ day: 'numeric',+ year: 'numeric',+ }),+ readingTime,+ authors: Array.isArray(post.authors)+ ? post.authors.map((a: any) => ({+ author: a?.author || 'Unknown Author',+ author_id: a?.author_id || '',+ position: a?.position || '',+ author_url: a?.author_url || '#',+ author_image_url: a?.author_image_url?.url+ ? typeof a.author_image_url.url === 'string' &&+ a.author_image_url.url.includes('http')+ ? a.author_image_url.url+ : `${baseUrl}${a.author_image_url.url}`+ : null,+ username: a?.username || '',+ }))+ : [],+ thumb: post.thumb?.url ? `${baseUrl}${post.thumb.url}` : undefined,+ image: post.image?.url ? `${baseUrl}${post.image.url}` : undefined,+ meta: post.meta || null,+ url: `/blog/${post.slug}`,+ path: `/blog/${post.slug}`,+ tags: post.tags || [],+ categories: [],+ isCMS: true,+ content: markdownContent,+ richContent: post.content,+ toc: tocResult,+ toc_depth: post.toc_depth || 3,+ isDraft: true,+ _status: post._status,+ }++ return NextResponse.json({+ success: true,+ post: processedPost,+ mode,+ isDraft: shouldFetchDraft,+ })+ }+ }+ }++ // Strategy 1: Try to get the latest published version using the versions API+ const versionsUrl = new URL('/api/posts/versions', baseUrl)+ versionsUrl.searchParams.set('where[version.slug][equals]', slug)+ versionsUrl.searchParams.set('where[version._status][equals]', 'published')+ versionsUrl.searchParams.set('sort', '-createdAt') // Use createdAt instead of updatedAt for versions+ versionsUrl.searchParams.set('limit', '1')+ versionsUrl.searchParams.set('depth', '2')++ const versionsResponse = await fetch(versionsUrl.toString(), {+ headers: {+ 'Content-Type': 'application/json',+ ...(apiKey ? { Authorization: `Bearer ${apiKey}` } : {}),+ },+ // For published posts: allow caching with revalidation+ next: { revalidate: 60 }, // 1 minute+ })++ if (versionsResponse.ok) {+ const versionsData = await versionsResponse.json()++ if (versionsData.docs && versionsData.docs.length > 0) {+ const latestPublishedVersion = versionsData.docs[0].version++ if (latestPublishedVersion) {+ const post = latestPublishedVersion+ const markdownContent = convertRichTextToMarkdown(post.content)+ const plain = richTextToPlainText(post.content)+ const readingTime = generateReadingTime(plain)+ const tocResult = generateTocFromMarkdown(markdownContent, post.toc_depth || 3)++ const processedPost = {+ type: 'blog' as const,+ slug: post.slug,+ title: post.title || '',+ description: post.description || '',+ date: post.date || post.createdAt || new Date().toISOString(),+ formattedDate: new Date(post.date || post.createdAt || new Date()).toLocaleDateString(+ 'en-IN',+ { month: 'long', day: 'numeric', year: 'numeric' }+ ),+ readingTime,+ authors: Array.isArray(post.authors)+ ? post.authors.map((a: any) => ({+ author: a?.author || 'Unknown Author',+ author_id: a?.author_id || '',+ position: a?.position || '',+ author_url: a?.author_url || '#',+ author_image_url: a?.author_image_url?.url+ ? typeof a.author_image_url.url === 'string' &&+ a.author_image_url.url.includes('http')+ ? a.author_image_url.url+ : `${baseUrl}${a.author_image_url.url}`+ : null,+ username: a?.username || '',+ }))+ : [],+ thumb: post.thumb?.url+ ? typeof post.thumb.url === 'string' && post.thumb.url.includes('http')+ ? post.thumb.url+ : `${baseUrl}${post.thumb.url}`+ : '',+ image: post.image?.url+ ? typeof post.image.url === 'string' && post.image.url.includes('http')+ ? post.image.url+ : `${baseUrl}${post.image.url}`+ : undefined,+ meta: post.meta || null,+ url: `/blog/${post.slug}`,+ path: `/blog/${post.slug}`,+ tags: post.tags || [],+ categories: [],+ isCMS: true,+ content: mode === 'full' ? markdownContent : undefined,+ richContent: mode === 'full' ? post.content : undefined,+ toc: tocResult,+ toc_depth: post.toc_depth || 3,+ }++ return NextResponse.json({+ success: true,+ post: processedPost,+ mode,+ source: 'versions-api',+ })+ }+ }+ } else {+ console.log('[cms-posts] Versions API failed, response:', await versionsResponse.text())+ }++ // Strategy 2: If versions API didn't work, try finding the parent post first, then get its latest published version++ const parentUrl = new URL('/api/posts', baseUrl)+ parentUrl.searchParams.set('where[slug][equals]', slug)+ parentUrl.searchParams.set('limit', '1')+ parentUrl.searchParams.set('depth', '0') // Just get the ID++ const parentResponse = await fetch(parentUrl.toString(), {+ headers: {+ 'Content-Type': 'application/json',+ ...(apiKey ? { Authorization: `Bearer ${apiKey}` } : {}),+ },+ next: { revalidate: 60 }, // 1 minute for published posts+ })++ if (parentResponse.ok) {+ const parentData = await parentResponse.json()+ if (parentData.docs && parentData.docs.length > 0) {+ const parentId = parentData.docs[0].id++ // Now get the latest published version of this specific post+ const versionsByParentUrl = new URL('/api/posts/versions', baseUrl)+ versionsByParentUrl.searchParams.set('where[parent][equals]', parentId)+ versionsByParentUrl.searchParams.set('where[version._status][equals]', 'published')+ versionsByParentUrl.searchParams.set('sort', '-createdAt')+ versionsByParentUrl.searchParams.set('limit', '1')+ versionsByParentUrl.searchParams.set('depth', '2')++ const versionsByParentResponse = await fetch(versionsByParentUrl.toString(), {+ headers: {+ 'Content-Type': 'application/json',+ ...(apiKey ? { Authorization: `Bearer ${apiKey}` } : {}),+ },+ next: { revalidate: 60 }, // 1 minute for published posts+ })++ if (versionsByParentResponse.ok) {+ const versionsByParentData = await versionsByParentResponse.json()++ if (versionsByParentData.docs && versionsByParentData.docs.length > 0) {+ const latestPublishedVersion = versionsByParentData.docs[0].version++ if (latestPublishedVersion) {+ const post = latestPublishedVersion+ const markdownContent = convertRichTextToMarkdown(post.content)+ const plain = richTextToPlainText(post.content)+ const readingTime = generateReadingTime(plain)++ const processedPost = {+ type: 'blog' as const,+ slug: post.slug,+ title: post.title || '',+ description: post.description || '',+ date: post.date || post.createdAt || new Date().toISOString(),+ formattedDate: new Date(+ post.date || post.createdAt || new Date()+ ).toLocaleDateString('en-IN', { month: 'long', day: 'numeric', year: 'numeric' }),+ readingTime,+ authors: Array.isArray(post.authors)+ ? post.authors.map((a: any) => ({+ author: a?.author || 'Unknown Author',+ author_id: a?.author_id || '',+ position: a?.position || '',+ author_url: a?.author_url || '#',+ author_image_url: a?.author_image_url?.url+ ? typeof a.author_image_url.url === 'string' &&+ a.author_image_url.url.includes('http')+ ? a.author_image_url.url+ : `${baseUrl}${a.author_image_url.url}`+ : null,+ username: a?.username || '',+ }))+ : [],+ thumb: post.thumb?.url+ ? typeof post.thumb.url === 'string' && post.thumb.url.includes('http')+ ? post.thumb.url+ : `${baseUrl}${post.thumb.url}`+ : '',+ image: post.image?.url+ ? typeof post.image.url === 'string' && post.image.url.includes('http')+ ? post.image.url+ : `${baseUrl}${post.image.url}`+ : undefined,+ url: `/blog/${post.slug}`,+ path: `/blog/${post.slug}`,+ tags: post.tags || [],+ categories: [],+ isCMS: true,+ content: mode === 'full' ? markdownContent : undefined,+ richContent: mode === 'full' ? post.content : undefined,+ }++ return NextResponse.json({+ success: true,+ post: processedPost,+ mode,+ source: 'versions-by-parent-api',+ })+ }+ }+ }+ }+ }+ }++ // Fallback to regular posts API for listing or if versions API fails+ const url = new URL('/api/posts', baseUrl)+ url.searchParams.set('depth', '2')+ url.searchParams.set('draft', 'false')+ url.searchParams.set('limit', limit)+ url.searchParams.set('where[_status][equals]', 'published')++ // If fetching specific post by slug (fallback)+ if (slug) {+ url.searchParams.set('where[slug][equals]', slug)+ url.searchParams.set('limit', '1')+ }++ const response = await fetch(url.toString(), {+ headers: {+ 'Content-Type': 'application/json',+ ...(apiKey ? { Authorization: `Bearer ${apiKey}` } : {}),+ },+ // For individual post requests, don't cache to ensure fresh data+ cache: slug ? 'no-store' : 'default',+ next: slug ? undefined : { revalidate: 300 },+ })++ if (!response.ok) {+ console.error('[cms-posts] Non-OK response:', response.status, response.statusText)+ return NextResponse.json(+ {+ success: false,+ error: 'Failed to fetch posts from CMS',+ status: response.status,+ },+ { status: response.status }+ )+ }++ const contentType = response.headers.get('content-type') || ''+ if (!contentType.toLowerCase().includes('application/json')) {+ console.error('[cms-posts] Non-JSON response, content-type:', contentType)+ return NextResponse.json(+ {+ success: false,+ error: 'CMS returned non-JSON response',+ contentType,+ },+ { status: 502 }+ )+ }++ const data = await response.json()+ const docs = Array.isArray(data?.docs) ? data.docs : []++ const dateFmt: Intl.DateTimeFormatOptions = { month: 'long', day: 'numeric', year: 'numeric' }+ const posts = docs+ .filter((p: any) => !!p?.slug)+ .map((p: any) => {+ const thumbUrl = p?.thumb?.url+ ? typeof p.thumb.url === 'string' && p.thumb.url.includes('http')+ ? p.thumb.url+ : `${baseUrl}${p.thumb.url}`+ : ''+ const imageUrl = p?.image?.url+ ? typeof p.image.url === 'string' && p.image.url.includes('http')+ ? p.image.url+ : `${baseUrl}${p.image.url}`+ : ''+ const date = p.date || p.createdAt || new Date().toISOString()+ const formattedDate = new Date(date).toLocaleDateString('en-IN', dateFmt)+ const plain = richTextToPlainText(p?.content)+ const readingTime = generateReadingTime(plain)++ const authors = Array.isArray(p?.authors)+ ? p.authors.map((a: any) => ({+ author: a?.author || 'Unknown Author',+ author_id: a?.author_id || '',+ position: a?.position || '',+ author_url: a?.author_url || '#',+ author_image_url: a?.author_image_url?.url+ ? typeof a.author_image_url.url === 'string' &&+ a.author_image_url.url.includes('http')+ ? a.author_image_url.url+ : `${baseUrl}${a.author_image_url.url}`+ : null,+ username: a?.username || '',+ }))+ : []++ // Base post structure (always included)+ const basePost = {+ type: 'blog' as const,+ slug: p.slug,+ title: p.title || '',+ description: p.description || '',+ date,+ formattedDate,+ readingTime,+ authors,+ thumb: thumbUrl || imageUrl || '',+ image: imageUrl || undefined,+ meta: p.meta || null,+ url: `/blog/${p.slug}`,+ path: `/blog/${p.slug}`,+ tags: p.tags || [],+ categories: [],+ isCMS: true,+ toc_depth: p.toc_depth || 3,+ }++ // Add content for full mode+ if (mode === 'full') {+ const markdownContent = convertRichTextToMarkdown(p.content)+ const tocResult = generateTocFromMarkdown(markdownContent, p.toc_depth || 3)+ return {+ ...basePost,+ content: markdownContent, // Convert rich text to markdown for MDX processing+ richContent: p.content, // Keep original rich text for reference+ toc: tocResult,+ toc_depth: p.toc_depth || 3,+ }+ }++ return basePost+ })+ .sort((a: any, b: any) => new Date(b.date).getTime() - new Date(a.date).getTime())++ // For single post requests, return the post directly+ if (slug && posts.length > 0) {+ return NextResponse.json({+ success: true,+ post: posts[0],+ mode,+ })+ }++ return NextResponse.json({+ success: true,+ posts,+ total: posts.length,+ mode,+ cached: true,+ })+ } catch (error) {+ console.error('[cms-posts] Error:', error)+ return NextResponse.json(+ {+ success: false,+ error: 'Internal server error',+ message: error instanceof Error ? error.message : 'Unknown error',+ },+ { status: 500 }+ )+ }+}diff --git a/apps/www/app/api-v2/cms/disable-draft/route.ts b/apps/www/app/api-v2/cms/disable-draft/route.tsnew file mode 100644index 00000000000..9de21ecc4e1--- /dev/null+++ b/apps/www/app/api-v2/cms/disable-draft/route.ts@@ -0,0 +1,15 @@+import { draftMode } from 'next/headers'+import { redirect } from 'next/navigation'++export async function GET(request: Request) {+ const draft = await draftMode()+ const { searchParams } = new URL(request.url)+ const slug = searchParams.get('slug')+ const path = searchParams.get('path') || 'blog'++ // Disable Draft Mode by clearing the cookie+ draft.disable()++ // Redirect to the path from the fetched post+ redirect(slug ? `/${path}/${slug}` : `/${path}`)+}diff --git a/apps/www/app/api-v2/cms/preview/route.ts b/apps/www/app/api-v2/cms/preview/route.tsnew file mode 100644index 00000000000..46b25c4576c--- /dev/null+++ b/apps/www/app/api-v2/cms/preview/route.ts@@ -0,0 +1,35 @@+import { draftMode } from 'next/headers'+import { redirect } from 'next/navigation'++export async function GET(request: Request) {+ const draft = await draftMode()+ const { searchParams } = new URL(request.url)+ const secret = searchParams.get('secret')+ const slug = searchParams.get('slug')+ const path = searchParams.get('path') || 'blog'++ // Get the expected secret with fallback to match CMS configuration+ const expectedSecret = process.env.CMS_PREVIEW_SECRET++ if (secret !== expectedSecret) {+ console.error('[preview] Token mismatch:', {+ received: secret,+ expected: expectedSecret,+ })+ return new Response(+ `Invalid token. Expected: ${expectedSecret?.slice(0, 3)}..., Received: ${secret?.slice(0, 3)}...`,+ { status: 401 }+ )+ }++ if (!slug) {+ console.error('[preview] No slug provided')+ return new Response('No slug in the request', { status: 401 })+ }++ // Enable Draft Mode by setting the cookie+ draft.enable()++ // Redirect to the path from the fetched post+ redirect(`/${path}/${slug}`)+}diff --git a/apps/www/app/api-v2/cms/revalidate/route.ts b/apps/www/app/api-v2/cms/revalidate/route.tsnew file mode 100644index 00000000000..b743c4870dd--- /dev/null+++ b/apps/www/app/api-v2/cms/revalidate/route.ts@@ -0,0 +1,27 @@+import type { NextApiRequest, NextApiResponse } from 'next'++export default async function handler(req: NextApiRequest, res: NextApiResponse) {+ // Check for secret to confirm this is a valid request+ if (req.query.secret !== process.env.CMS_PREVIEW_SECRET) {+ return res.status(401).json({ message: 'Invalid token' })+ }++ const { path } = req.query++ if (!path) {+ return res.status(400).json({ message: 'Missing path parameter' })+ }++ try {+ // This will revalidate the specific page+ await res.revalidate(String(path))++ return res.json({ revalidated: true, path })+ } catch (error) {+ console.error('[Revalidate API] Error during revalidation:', error)+ return res.status(500).json({+ message: 'Error revalidating',+ error: error instanceof Error ? error.message : 'Unknown error',+ })+ }+}diff --git a/apps/www/app/blog/BlogClient.tsx b/apps/www/app/blog/BlogClient.tsxnew file mode 100644index 00000000000..e3c9646efe0--- /dev/null+++ b/apps/www/app/blog/BlogClient.tsx@@ -0,0 +1,70 @@+'use client'++import { useState } from 'react'+import DefaultLayout from 'components/Layouts/Default'+import BlogGridItem from 'components/Blog/BlogGridItem'+import BlogListItem from 'components/Blog/BlogListItem'+import BlogFilters from 'components/Blog/BlogFilters'+import FeaturedThumb from 'components/Blog/FeaturedThumb'+import { cn } from 'ui'+import { LOCAL_STORAGE_KEYS, isBrowser } from 'common'++import type PostTypes from 'types/post'++export type BlogView = 'list' | 'grid'++export default function BlogClient(props: { blogs: any[] }) {+ const { BLOG_VIEW } = LOCAL_STORAGE_KEYS+ const localView = isBrowser ? (localStorage?.getItem(BLOG_VIEW) as BlogView) : undefined+ const [blogs, setBlogs] = useState(props.blogs)+ const [view, setView] = useState<BlogView>(localView ?? 'list')+ const isList = view === 'list'++ return (+ <>+ <DefaultLayout>+ <h1 className="sr-only">Supabase blog</h1>+ <div className="container relative mx-auto px-4 py-4 md:py-8 xl:py-10 sm:px-16 xl:px-20">+ {props.blogs.slice(0, 1).map((blog) => (+ <FeaturedThumb key={blog.slug} {...blog} />+ ))}+ </div>++ <div className="border-default border-t">+ <div className="container mx-auto px-4 py-4 md:py-8 xl:py-10 sm:px-16 xl:px-20">+ <BlogFilters allPosts={props.blogs} setPosts={setBlogs} view={view} setView={setView} />++ <ol+ className={cn(+ 'grid -mx-2 sm:-mx-4 py-6 lg:py-6 lg:pb-20',+ isList ? 'grid-cols-1' : 'grid-cols-12 lg:gap-4'+ )}+ >+ {blogs?.length ? (+ blogs?.map((blog: PostTypes, idx: number) =>+ isList ? (+ <div+ className="col-span-12 px-2 sm:px-4 [&_a]:last:border-none"+ key={`list-${idx}-${blog.slug}`}+ >+ <BlogListItem post={blog} />+ </div>+ ) : (+ <div+ className="col-span-12 mb-4 md:col-span-12 lg:col-span-6 xl:col-span-4 h-full"+ key={`grid-${idx}-${blog.slug}`}+ >+ <BlogGridItem post={blog} />+ </div>+ )+ )+ ) : (+ <p className="text-sm text-light col-span-full">No results</p>+ )}+ </ol>+ </div>+ </div>+ </DefaultLayout>+ </>+ )+}diff --git a/apps/www/app/blog/[slug]/BlogPostClient.tsx b/apps/www/app/blog/[slug]/BlogPostClient.tsxnew file mode 100644index 00000000000..8a70fad252e--- /dev/null+++ b/apps/www/app/blog/[slug]/BlogPostClient.tsx@@ -0,0 +1,173 @@+'use client'++import dynamic from 'next/dynamic'+import { useState, useMemo, useEffect } from 'react'+import { useLivePreview } from '@payloadcms/live-preview-react'++import authors from 'lib/authors.json'+import { CMS_SITE_ORIGIN } from 'lib/constants'+import { isNotNullOrUndefined } from 'lib/helpers'+import { generateTocFromMarkdown } from 'lib/toc'+import { convertRichTextToMarkdown } from '~/lib/cms/convertRichTextToMarkdown'++import type { Blog, BlogData, CMSAuthor, PostReturnType, ProcessedBlogData } from 'types/post'++const BlogPostRenderer = dynamic(() => import('components/Blog/BlogPostRenderer'))++type BlogPostPageProps = {+ prevPost: PostReturnType | null+ nextPost: PostReturnType | null+ relatedPosts: (PostReturnType & BlogData)[]+ blog: Blog & BlogData+ isDraftMode: boolean+}++// Note: convertRichTextToMarkdown is now imported from the shared utility++export default function BlogPostClient(props: BlogPostPageProps) {+ const isDraftMode = props.isDraftMode+ const [previewData] = useState<ProcessedBlogData>(props.blog)+ const [processedToc, setProcessedToc] = useState<{ content: string; json: any[] } | null>(null)+ const shouldUseLivePreview = isDraftMode && 'isCMS' in props.blog && props.blog.isCMS++ const { data: livePreviewData, isLoading: isLivePreviewLoading } = useLivePreview({+ initialData: props.blog,+ serverURL: CMS_SITE_ORIGIN || 'http://localhost:3030',+ depth: 2,+ })++ // Generate TOC for LivePreview data when content changes+ useEffect(() => {+ if (isDraftMode && shouldUseLivePreview && livePreviewData?.content) {+ // Check if content is rich text (object) or already converted to markdown (string)+ let markdownContent = ''+ if (typeof livePreviewData.content === 'string') {+ markdownContent = livePreviewData.content+ } else if (typeof livePreviewData.content === 'object') {+ markdownContent = convertRichTextToMarkdown(livePreviewData.content)+ }++ if (markdownContent) {+ const tocDepth = (livePreviewData as any).toc_depth || (props.blog as any).toc_depth || 3++ generateTocFromMarkdown(markdownContent, tocDepth)+ .then((tocResult) => {+ setProcessedToc(tocResult)+ })+ .catch((error) => {+ console.error('Error generating TOC:', error)+ setProcessedToc(null)+ })+ }+ }+ }, [+ isDraftMode,+ shouldUseLivePreview,+ livePreviewData?.content,+ livePreviewData?.toc_depth,+ props.blog.toc_depth,+ ])++ const blogMetaData = useMemo(() => {+ if (isDraftMode && shouldUseLivePreview) {+ if (livePreviewData && typeof livePreviewData === 'object') {+ // Process LivePreview author data to match expected CMSAuthor structure+ const processedAuthors =+ livePreviewData.authors?.map((author: Record<string, unknown>) => {+ // Handle both direct author objects and author references+ if (typeof author === 'object' && author !== null) {+ const authorName =+ (author.author as string) || (author.name as string) || 'Unknown Author'+ const authorId = (author.author_id as string) || (author.id as string) || ''+ const position = (author.position as string) || ''+ const authorUrl = (author.author_url as string) || '#'+ const username = (author.username as string) || ''++ // Handle author image URL with proper type checking+ let authorImageUrl: string | null = null+ const authorImage = author.author_image_url as+ | { url?: string }+ | string+ | null+ | undefined++ if (authorImage) {+ if (typeof authorImage === 'string') {+ authorImageUrl = authorImage+ } else if (typeof authorImage === 'object' && authorImage.url) {+ const imageUrl = authorImage.url+ if (typeof imageUrl === 'string') {+ authorImageUrl = imageUrl.includes('http')+ ? imageUrl+ : `${CMS_SITE_ORIGIN}${imageUrl}`+ }+ }+ }++ return {+ author: authorName,+ author_id: authorId,+ position,+ author_url: authorUrl,+ author_image_url: authorImageUrl,+ username,+ }+ }+ return {+ author: typeof author === 'string' ? author : 'Unknown Author',+ author_id: '',+ position: '',+ author_url: '#',+ author_image_url: null,+ username: '',+ }+ }) ?? []++ const processedLivePreviewData = {+ ...props.blog,+ ...livePreviewData,+ authors: processedAuthors,+ // Use processed TOC if available, otherwise fall back to original+ toc: processedToc || props.blog.toc,+ toc_depth: (livePreviewData as any).toc_depth || props.blog.toc_depth || 3,+ }+ return processedLivePreviewData+ }+ if (previewData !== props.blog) {+ return previewData+ }+ }+ return props.blog+ }, [+ isDraftMode,+ shouldUseLivePreview,+ livePreviewData,+ previewData,+ props.blog,+ processedToc,+ ]) as ProcessedBlogData++ const isCMS = 'isCMS' in blogMetaData && blogMetaData.isCMS++ const blogAuthors = isCMS+ ? ('authors' in blogMetaData ? (blogMetaData.authors as CMSAuthor[]) : []) || []+ : ('author' in blogMetaData ? (blogMetaData.author as string) : '')+ ?.split(',')+ .map((authorId: string) => {+ const foundAuthor = authors.find((author) => author.author_id === authorId)+ return foundAuthor ?? null+ })+ .filter(isNotNullOrUndefined) || []++ return (+ <BlogPostRenderer+ blog={props.blog as ProcessedBlogData}+ blogMetaData={blogMetaData as ProcessedBlogData}+ isDraftMode={isDraftMode}+ isLivePreviewLoading={isLivePreviewLoading}+ prevPost={props.prevPost}+ nextPost={props.nextPost}+ authors={blogAuthors}+ />+ )+}diff --git a/apps/www/app/blog/[slug]/page.tsx b/apps/www/app/blog/[slug]/page.tsxnew file mode 100644index 00000000000..cb11a22a1f1--- /dev/null+++ b/apps/www/app/blog/[slug]/page.tsx@@ -0,0 +1,328 @@+import BlogPostClient from './BlogPostClient'+import { draftMode } from 'next/headers'+import { getAllCMSPostSlugs, getCMSPostBySlug } from 'lib/get-cms-posts'+import { getAllPostSlugs, getPostdata, getSortedPosts } from 'lib/posts'+import { CMS_SITE_ORIGIN, SITE_ORIGIN } from '~/lib/constants'+import { processCMSContent } from '~/lib/cms/processCMSContent'++import type { Blog, BlogData, PostReturnType } from 'types/post'+import type { Metadata } from 'next'++export const revalidate = 30++// Helper function to fetch CMS post using our unified API+async function getCMSPostFromAPI(+ slug: string,+ mode: 'preview' | 'full' = 'full',+ isDraft: boolean = false+) {+ try {+ const url = new URL(`${SITE_ORIGIN}/api-v2/cms-posts`)+ url.searchParams.set('slug', slug)+ url.searchParams.set('mode', mode)+ if (isDraft) {+ url.searchParams.set('draft', 'true')+ }++ // Use different caching strategies based on draft mode+ const fetchOptions = isDraft+ ? {+ // For draft mode: always fresh data, no caching+ cache: 'no-store' as const,+ next: { revalidate: 0 },+ }+ : {+ // For published posts: allow static generation with revalidation+ next: { revalidate: 60 }, // 1 minute+ }++ const response = await fetch(url.toString(), fetchOptions)++ if (!response.ok) {+ console.error('[getCMSPostFromAPI] Non-OK response:', response.status)+ return null+ }++ const data = await response.json()++ return data.success ? data.post : null+ } catch (error) {+ console.error('[getCMSPostFromAPI] Error:', error)+ return null+ }+}++type MatterReturn = {+ data: BlogData+ content: string+}++type BlogPostPageProps = {+ prevPost: PostReturnType | null+ nextPost: PostReturnType | null+ relatedPosts: (PostReturnType & BlogData)[]+ blog: Blog & BlogData+ isDraftMode: boolean+}++type Params = {+ slug: string+}++export async function generateStaticParams() {+ const staticPaths = getAllPostSlugs('_blog')+ const cmsPaths = await getAllCMSPostSlugs()+ return [...staticPaths, ...cmsPaths].map((p) => ({ slug: p.params.slug }))+}++export async function generateMetadata({ params }: { params: Promise<Params> }): Promise<Metadata> {+ const { slug } = await params++ if (!slug) {+ return {+ title: 'Blog Post Not Found',+ description: 'The requested blog post could not be found.',+ }+ }++ const { isEnabled: isDraft } = await draftMode()+ const matter = (await import('gray-matter')).default++ // Try to get static markdown post first+ try {+ const postContent = await getPostdata(slug, '_blog')+ const parsedContent = matter(postContent) as unknown as MatterReturn+ const blogPost = parsedContent.data+ const metaImageUrl = `/images/blog/${blogPost.image ? blogPost.image : blogPost.thumb}`++ return {+ title: blogPost.title,+ description: blogPost.description,+ openGraph: {+ title: blogPost.title,+ description: blogPost.description,+ url: `${SITE_ORIGIN}/blog/${slug}`,+ type: 'article',+ images: metaImageUrl ? [metaImageUrl] : undefined,+ },+ twitter: {+ card: 'summary_large_image',+ title: blogPost.title,+ description: blogPost.description,+ images: metaImageUrl ? [metaImageUrl] : undefined,+ },+ }+ } catch {+ // Static post not found, try CMS post+ }++ // Try to fetch CMS post for metadata+ let cmsPost = await getCMSPostFromAPI(slug, 'preview', isDraft)++ if (!cmsPost) {+ cmsPost = await getCMSPostBySlug(slug, isDraft)+ }++ if (!cmsPost) {+ return {+ title: 'Blog Post Not Found',+ description: 'The requested blog post could not be found.',+ }+ }++ // Extract meta fields with fallbacks+ const metaTitle = cmsPost.meta?.title || cmsPost.title+ const metaDescription = cmsPost.meta?.description || cmsPost.description++ // Handle different image field types from CMS+ let metaImageUrl: string | undefined+ if (cmsPost.meta?.image) {+ // If meta.image is an object with url property+ if (typeof cmsPost.meta.image === 'object' && cmsPost.meta.image.url) {+ metaImageUrl = cmsPost.meta.image.url+ }+ // If meta.image is a string URL+ else if (typeof cmsPost.meta.image === 'string') {+ metaImageUrl = cmsPost.meta.image+ }+ }++ // Fallback to thumb or image if no meta image+ if (!metaImageUrl) {+ metaImageUrl = cmsPost.thumb || cmsPost.image+ }++ // Ensure image URLs are absolute+ const absoluteImageUrl = metaImageUrl+ ? metaImageUrl.startsWith('http')+ ? metaImageUrl+ : `${CMS_SITE_ORIGIN.replace('/api-v2', '')}${metaImageUrl}`+ : undefined++ return {+ title: metaTitle,+ description: metaDescription,+ openGraph: {+ title: metaTitle,+ description: metaDescription,+ url: `${SITE_ORIGIN}/blog/${slug}`,+ type: 'article',+ publishedTime: cmsPost.date || cmsPost.publishedAt,+ authors: cmsPost.authors?.map((author: any) => author.author || 'Unknown Author'),+ images: absoluteImageUrl ? [{ url: absoluteImageUrl }] : undefined,+ },+ twitter: {+ card: 'summary_large_image',+ title: metaTitle,+ description: metaDescription,+ images: absoluteImageUrl ? [absoluteImageUrl] : undefined,+ },+ }+}++export default async function BlogPostPage({ params }: { params: Promise<Params> }) {+ const { slug } = await params++ if (!slug) {+ throw new Error('Missing slug for app/blog/[slug]/page.tsx')+ }++ const { isEnabled: isDraft } = await draftMode()++ const matter = (await import('gray-matter')).default+ const { mdxSerialize } = await import('lib/mdx/mdxSerialize')++ try {+ const postContent = await getPostdata(slug, '_blog')+ const parsedContent = matter(postContent) as unknown as MatterReturn+ const content = parsedContent.content+ const tocDepth = (parsedContent.data as any)?.toc_depth ?? 3+ const mdxSource = await mdxSerialize(content, { tocDepth })+ const blogPost = { ...parsedContent.data }++ const allStaticPosts = getSortedPosts({ directory: '_blog' })+ const allPosts = [...allStaticPosts].sort((a, b) => {+ const aDate = new Date((a as unknown as { date: string }).date).getTime()+ const bDate = new Date((b as unknown as { date: string }).date).getTime()+ return bDate - aDate+ })+ const currentIndex = allPosts.findIndex((post) => post.slug === slug)+ const nextPost = currentIndex === allPosts.length - 1 ? null : allPosts[currentIndex + 1]+ const prevPost = currentIndex === 0 ? null : allPosts[currentIndex - 1]+ const tocResult = (mdxSource as any).scope?.toc || { content: '' }+ const processedContent = tocResult.content+ const relatedPosts = getSortedPosts({+ directory: '_blog',+ limit: 3,+ tags: (mdxSource as { scope: { tags?: string[] } }).scope.tags,+ currentPostSlug: slug,+ }) as unknown as (BlogData & PostReturnType)[]++ const props: BlogPostPageProps = {+ prevPost,+ nextPost,+ relatedPosts,+ blog: {+ ...(blogPost as any),+ content: mdxSource,+ toc: {+ ...tocResult,+ content: processedContent,+ },+ } as any,+ isDraftMode: isDraft,+ }++ return <BlogPostClient {...props} />+ } catch {}++ // Try to fetch CMS post using our new unified API first+ let cmsPost = await getCMSPostFromAPI(slug, 'full', isDraft)++ // Fallback to the original method if the API doesn't return the post+ if (!cmsPost) {+ cmsPost = await getCMSPostBySlug(slug, isDraft)+ }++ if (!cmsPost) {+ if (isDraft) {+ // Try to fetch published version for draft mode+ let publishedPost = await getCMSPostFromAPI(slug, 'full', false)+ if (!publishedPost) {+ publishedPost = await getCMSPostBySlug(slug, false)+ }++ if (!publishedPost) return null++ const mdxSource = await mdxSerialize(publishedPost.content || '', {+ tocDepth: publishedPost.toc_depth || 3,+ })+ const tocResult = (mdxSource as any).scope?.toc || publishedPost.toc || { content: '' }+ const props: BlogPostPageProps = {+ prevPost: null,+ nextPost: null,+ relatedPosts: [],+ blog: {+ ...publishedPost,+ tags: publishedPost.tags || [],+ authors: publishedPost.authors || [],+ isCMS: true,+ content: mdxSource,+ toc: tocResult,+ image: publishedPost.image ?? undefined,+ thumb: publishedPost.thumb ?? undefined,+ // Extract meta fields from CMS+ meta_title: publishedPost.meta?.title ?? undefined,+ meta_description: publishedPost.meta?.description ?? undefined,+ meta_image: publishedPost.meta?.image ?? publishedPost.thumb ?? undefined,+ } as any,+ isDraftMode: isDraft,+ }+ return <BlogPostClient {...props} />+ }+ return null+ }++ const tocDepth = cmsPost.toc_depth || 3++ // Use the new CMS content processor to handle blocks+ let processedContent: any++ try {+ processedContent = await processCMSContent(cmsPost.richContent || cmsPost.content, tocDepth)+ } catch (error) {+ console.error('Error processing CMS content, falling back to legacy processing:', error)+ // Fallback to legacy processing+ const mdxSource = await mdxSerialize(cmsPost.content || '', { tocDepth })+ processedContent = {+ content: mdxSource,+ blocks: [],+ toc: (mdxSource as any).scope?.toc || cmsPost.toc || { content: '' },+ plainMarkdown: cmsPost.content || '',+ }+ }++ const props: BlogPostPageProps = {+ prevPost: null,+ nextPost: null,+ relatedPosts: [],+ blog: {+ ...cmsPost,+ tags: cmsPost.tags || [],+ authors: cmsPost.authors || [],+ isCMS: true,+ content: processedContent.content,+ toc: processedContent.toc,+ toc_depth: cmsPost.toc_depth || 3,+ image: cmsPost.image ?? undefined,+ thumb: cmsPost.thumb ?? undefined,+ // Extract meta fields from CMS+ meta_title: cmsPost.meta?.title ?? undefined,+ meta_description: cmsPost.meta?.description ?? undefined,+ meta_image: cmsPost.meta?.image ?? cmsPost.thumb ?? undefined,+ } as any,+ isDraftMode: isDraft,+ }++ return <BlogPostClient {...props} />+}diff --git a/apps/www/app/blog/categories/[category]/page.tsx b/apps/www/app/blog/categories/[category]/page.tsxnew file mode 100644index 00000000000..edafaa817a4--- /dev/null+++ b/apps/www/app/blog/categories/[category]/page.tsx@@ -0,0 +1,66 @@+import type { Metadata } from 'next'+import Link from 'next/link'+import DefaultLayout from 'components/Layouts/Default'+import BlogGridItem from 'components/Blog/BlogGridItem'++import { getAllCMSPosts } from 'lib/get-cms-posts'+import { capitalize } from 'lib/helpers'+import { getSortedPosts, getAllCategories } from 'lib/posts'+import type PostTypes from 'types/post'++type Params = { category: string }++export async function generateStaticParams() {+ const categories = getAllCategories('_blog')+ return categories.map((category: string) => ({ category }))+}++export const dynamic = 'force-static'++export async function generateMetadata({ params }: { params: Params }): Promise<Metadata> {+ const capitalizedCategory = capitalize(params?.category.replaceAll('-', ' '))+ return {+ title: `Blog | ${capitalizedCategory}`,+ description: 'Latest news from the Supabase team.',+ }+}++export default async function CategoriesPage({ params }: { params: Params }) {+ const staticPosts = getSortedPosts({+ directory: '_blog',+ limit: 0,+ categories: [params.category],+ })+ const cmsPosts = await getAllCMSPosts()+ const blogs = [+ ...(staticPosts as any[]),+ ...(cmsPosts as any[]).filter((p) => (p.categories || []).includes(params.category)),+ ] as unknown as PostTypes[]+ const capitalizedCategory = capitalize(params?.category.replaceAll('-', ' '))++ return (+ <>+ <DefaultLayout>+ <div className="container mx-auto px-8 py-16 sm:px-16 xl:px-20">+ <div className="text-foreground-lighter flex space-x-1">+ <h1 className="cursor-pointer">+ <Link href="/blog">Blog</Link>+ <span className="px-2">/</span>+ <span>{capitalizedCategory}</span>+ </h1>+ </div>+ <ol className="grid grid-cols-12 gap-8 py-16 lg:gap-16">+ {blogs.map((blog: PostTypes) => (+ <div+ className="col-span-12 mb-16 md:col-span-12 lg:col-span-6 xl:col-span-4"+ key={blog.slug}+ >+ <BlogGridItem post={blog} />+ </div>+ ))}+ </ol>+ </div>+ </DefaultLayout>+ </>+ )+}diff --git a/apps/www/app/blog/page.tsx b/apps/www/app/blog/page.tsxnew file mode 100644index 00000000000..8d70cd17dc9--- /dev/null+++ b/apps/www/app/blog/page.tsx@@ -0,0 +1,34 @@+import BlogClient from './BlogClient'+import { getSortedPosts } from 'lib/posts'+import { getAllCMSPosts } from 'lib/get-cms-posts'+import type { Metadata } from 'next'++export const revalidate = 30++export const metadata: Metadata = {+ title: 'Supabase Blog: the Postgres development platform',+ description: 'Get all your Supabase News on the Supabase blog.',+ openGraph: {+ title: 'Supabase Blog: the Postgres development platform',+ description: 'Get all your Supabase News on the Supabase blog.',+ url: 'https://supabase.com/blog',+ images: [{ url: 'https://supabase.com/images/og/supabase-og.png' }],+ },+}++export default async function BlogPage() {+ // Get static blog posts+ const staticPostsData = getSortedPosts({ directory: '_blog', runner: '** BLOG PAGE **' })++ // Get CMS posts server-side with revalidation+ const cmsPostsData = await getAllCMSPosts({ limit: 100 })++ // Combine static and CMS posts and sort by date+ const allPosts = [...staticPostsData, ...cmsPostsData].sort((a: any, b: any) => {+ const dateA = new Date(a.date || a.formattedDate).getTime()+ const dateB = new Date(b.date || b.formattedDate).getTime()+ return dateB - dateA+ })++ return <BlogClient blogs={allPosts} />+}diff --git a/apps/www/app/blog/tags/[tag]/page.tsx b/apps/www/app/blog/tags/[tag]/page.tsxnew file mode 100644index 00000000000..ca270ca9d63--- /dev/null+++ b/apps/www/app/blog/tags/[tag]/page.tsx@@ -0,0 +1,59 @@+import type { Metadata } from 'next'+import Link from 'next/link'+import DefaultLayout from 'components/Layouts/Default'+import BlogGridItem from 'components/Blog/BlogGridItem'++import { getAllCMSPosts } from 'lib/get-cms-posts'+import { capitalize } from 'lib/helpers'+import { getSortedPosts, getAllTags } from 'lib/posts'+import type PostTypes from 'types/post'++type Params = { tag: string }++export async function generateStaticParams() {+ const tags = getAllTags('_blog')+ return tags.map((tag: string) => ({ tag }))+}++export const dynamic = 'force-static'++export async function generateMetadata({ params }: { params: Params }): Promise<Metadata> {+ const capitalizedTag = capitalize(params?.tag.replaceAll('-', ' '))+ return {+ title: `Blog | ${capitalizedTag}`,+ description: 'Latest news from the Supabase team.',+ }+}++export default async function TagPage({ params }: { params: Params }) {+ const staticPosts = getSortedPosts({ directory: '_blog', limit: 0, tags: [params.tag] })+ const cmsPosts = await getAllCMSPosts({ tags: [params.tag] })+ const blogs = [...(staticPosts as any[]), ...(cmsPosts as any[])] as unknown as PostTypes[]+ const capitalizedTag = capitalize(params?.tag.replaceAll('-', ' '))++ return (+ <>+ <DefaultLayout>+ <div className="container mx-auto px-8 py-16 sm:px-16 xl:px-20">+ <div className="text-foreground-lighter flex space-x-1">+ <h1 className="cursor-pointer">+ <Link href="/blog">Blog</Link>+ <span className="px-2">/</span>+ <span>{capitalizedTag}</span>+ </h1>+ </div>+ <ol className="grid grid-cols-12 gap-8 py-16 lg:gap-16">+ {blogs.map((blog: PostTypes) => (+ <div+ className="col-span-12 mb-16 md:col-span-12 lg:col-span-6 xl:col-span-4"+ key={blog.slug}+ >+ <BlogGridItem post={blog} />+ </div>+ ))}+ </ol>+ </div>+ </DefaultLayout>+ </>+ )+}diff --git a/apps/www/app/layout.tsx b/apps/www/app/layout.tsxnew file mode 100644index 00000000000..ba69828e151--- /dev/null+++ b/apps/www/app/layout.tsx@@ -0,0 +1,53 @@+import '@code-hike/mdx/styles'+import 'config/code-hike.scss'+import '../styles/index.css'++import { Metadata } from 'next'+import { APP_NAME, DEFAULT_META_DESCRIPTION } from '~/lib/constants'+import Providers from './providers'+import type { Viewport } from 'next'++const site_title = `${APP_NAME} | The Open Source Firebase Alternative`++export const metadata: Metadata = {+ title: site_title,+ description: DEFAULT_META_DESCRIPTION,+ openGraph: {+ type: 'website',+ url: 'https://supabase.com/',+ siteName: 'Supabase',+ images: [+ {+ url: 'https://supabase.com/images/og/supabase-og.png',+ width: 800,+ height: 600,+ alt: 'Supabase Og Image',+ },+ ],+ },+ twitter: {+ creator: '@supabase',+ site: '@supabase',+ card: 'summary_large_image',+ },+ icons: {+ icon: '/favicon/favicon.ico',+ shortcut: '/favicon/favicon.ico',+ apple: '/favicon/favicon.ico',+ },+}++export const viewport: Viewport = {+ initialScale: 1,+ width: 'device-width',+}++export default function RootLayout({ children }: { children: React.ReactNode }) {+ return (+ <html lang="en">+ <body>+ <Providers>{children}</Providers>+ </body>+ </html>+ )+}diff --git a/apps/www/app/providers.tsx b/apps/www/app/providers.tsxnew file mode 100644index 00000000000..f4602dacd95--- /dev/null+++ b/apps/www/app/providers.tsx@@ -0,0 +1,46 @@+'use client'++import { Suspense } from 'react'+import {+ AuthProvider,+ FeatureFlagProvider,+ IS_PLATFORM,+ PageTelemetry,+ TelemetryTagManager,+ ThemeProvider,+ useThemeSandbox,+} from 'common'+import { WwwCommandMenu } from 'components/CommandMenu'+import { API_URL } from 'lib/constants'+import { themes, TooltipProvider, SonnerToaster } from 'ui'+import { CommandProvider } from 'ui-patterns/CommandMenu'+import { useConsentToast } from 'ui-patterns/consent'++function Providers({ children }: { children: React.ReactNode }) {+ useThemeSandbox()+ const { hasAcceptedConsent } = useConsentToast()++ return (+ <AuthProvider>+ <FeatureFlagProvider API_URL={API_URL} enabled={IS_PLATFORM}>+ <ThemeProvider themes={themes.map((t) => t.value)} enableSystem disableTransitionOnChange>+ <TooltipProvider delayDuration={0}>+ <CommandProvider>+ <TelemetryTagManager />+ <SonnerToaster position="top-right" />+ <Suspense fallback={null}>{children}</Suspense>+ <WwwCommandMenu />+ <PageTelemetry+ API_URL={API_URL}+ hasAcceptedConsent={hasAcceptedConsent}+ enabled={IS_PLATFORM}+ />+ </CommandProvider>+ </TooltipProvider>+ </ThemeProvider>+ </FeatureFlagProvider>+ </AuthProvider>+ )+}++export default Providersdiff --git a/apps/www/components/Avatar.tsx b/apps/www/components/Avatar.tsxindex 47bf594ac53..2eae581669d 100644--- a/apps/www/components/Avatar.tsx+++ b/apps/www/components/Avatar.tsx@@ -8,10 +8,12 @@ interface Props {export default function Avatar(props: Props) {const { caption, img } = props+ const imageUrl = img.startsWith('http') ? img : '/images/blog/avatars/' + img+return (<div className="align-center m-0 flex h-8 items-center gap-3"><Image- src={'/images/blog/avatars/' + img}+ src={imageUrl}className="h-8 w-8 rounded-full object-cover text-center m-0"alt={`${caption} avatar`}width={32}diff --git a/apps/www/components/Blog/BlogFilters.tsx b/apps/www/components/Blog/BlogFilters.tsxindex 5ac6a55f1d9..be159916a1d 100644--- a/apps/www/components/Blog/BlogFilters.tsx+++ b/apps/www/components/Blog/BlogFilters.tsx@@ -1,12 +1,12 @@+'use client'+import { LOCAL_STORAGE_KEYS, useBreakpoint } from 'common'-import { AnimatePresence, motion } from 'framer-motion'import { startCase } from 'lib/helpers'import { useSearchParams } from 'next/navigation'-import { useRouter } from 'next/router'+import { useRouter } from 'next/compat/router'import { useEffect, useState } from 'react'-import { useKey } from 'react-use'-import type { BlogView } from '~/pages/blog'-import type PostTypes from '~/types/post'+import type { BlogView } from 'app/blog/BlogClient'+import type PostTypes from 'types/post'import { AlignJustify, ChevronDown, Grid, Search, X as CloseIcon } from 'lucide-react'import {@@ -74,9 +74,9 @@ function BlogFilters({ allPosts, setPosts, view, setView }: Props) {}, [q])const handleReplaceRouter = () => {- if (!searchTerm && category !== 'all') {+ if (!searchTerm && category !== 'all' && router) {router.query.category = category- router.replace(router, undefined, { shallow: true, scroll: false })+ router?.replace(router, undefined, { shallow: true, scroll: false })}}@@ -98,26 +98,34 @@ function BlogFilters({ allPosts, setPosts, view, setView }: Props) {)}- useKey('Escape', () => handleSearchByText(''))+ useEffect(() => {+ const onKeyDown = (e: KeyboardEvent) => {+ if (e.key === 'Escape') {+ handleSearchByText('')+ }+ }+ window.addEventListener('keydown', onKeyDown)+ return () => window.removeEventListener('keydown', onKeyDown)+ }, [handleSearchByText])useEffect(() => {setShowSearchInput(!isMobile)}, [isMobile])useEffect(() => {- if (router.isReady && q) {+ if (router?.isReady && q) {setSearchTerm(q)}- if (router.isReady && activeCategory && activeCategory !== 'all') {+ if (router?.isReady && activeCategory && activeCategory !== 'all') {setCategory(activeCategory)}- }, [activeCategory, router.isReady, q])+ }, [activeCategory, router?.isReady, q])- const handleSearchByText = (text: string) => {+ function handleSearchByText(text: string) {setSearchTerm(text)- searchParams?.has('q') && router.replace('/blog', undefined, { shallow: true, scroll: false })- router.replace(`/blog?q=${text}`, undefined, { shallow: true, scroll: false })- if (text.length < 1) router.replace('/blog', undefined, { shallow: true, scroll: false })+ searchParams?.has('q') && router?.replace('/blog', undefined, { shallow: true, scroll: false })+ router?.replace(`/blog?q=${text}`, undefined, { shallow: true, scroll: false })+ if (text.length < 1) router?.replace('/blog', undefined, { shallow: true, scroll: false })const matches = allPosts.filter((post: any) => {const found =@@ -135,8 +143,8 @@ function BlogFilters({ allPosts, setPosts, view, setView }: Props) {searchTerm && setSearchTerm('')setCategory(category)category === 'all'- ? router.replace('/blog', undefined, { shallow: true, scroll: false })- : router.replace(`/blog?category=${category}`, undefined, {+ ? router?.replace('/blog', undefined, { shallow: true, scroll: false })+ : router?.replace(`/blog?category=${category}`, undefined, {shallow: true,scroll: false,})@@ -158,115 +166,102 @@ function BlogFilters({ allPosts, setPosts, view, setView }: Props) {return (<div className="flex flex-row items-center justify-between gap-2">- <AnimatePresence mode="wait">- {!showSearchInput && (- <motion.div- initial={{ opacity: 0 }}- animate={{ opacity: 1 }}- exit={{ opacity: 0, transition: { duration: 0.05 } }}- className="flex lg:hidden"- >- <DropdownMenu>- <DropdownMenuTrigger asChild>- <Button- type="outline"- iconRight={<ChevronDown />}- className="w-full min-w-[200px] flex justify-between items-center py-2"+ {!showSearchInput && (+ <div className="flex lg:hidden">+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <Button+ type="outline"+ iconRight={<ChevronDown />}+ className="w-full min-w-[200px] flex justify-between items-center py-2"+ >+ {!activeCategory ? 'All Posts' : startCase(activeCategory?.replaceAll('-', ' '))}+ </Button>+ </DropdownMenuTrigger>+ <DropdownMenuContent side="bottom" align="start">+ {allCategories.map((category: string, i: number) => (+ <DropdownMenuItem+ key={`item-${category}-${+ // biome-ignore lint/suspicious/noArrayIndexKey: to disambiguate emtpy values+ i+ }`}+ onClick={() => handleSetCategory(category)}+ className={cn(+ (category === 'all' && !activeCategory) || category === activeCategory+ ? 'text-brand-600'+ : ''+ )}>- {!activeCategory ? 'All Posts' : startCase(activeCategory?.replaceAll('-', ' '))}- </Button>- </DropdownMenuTrigger>- <DropdownMenuContent side="bottom" align="start">- {allCategories.map((category: string) => (- <DropdownMenuItem- key={`item-${category}`}- onClick={() => handleSetCategory(category)}- className={cn(- (category === 'all' && !activeCategory) || category === activeCategory- ? 'text-brand-600'- : ''- )}- >- {category === 'all' ? 'All Posts' : startCase(category.replaceAll('-', ' '))}- </DropdownMenuItem>- ))}- </DropdownMenuContent>- </DropdownMenu>- </motion.div>- )}- <div className="hidden lg:flex flex-wrap items-center flex-grow gap-2">- {allCategories.map((category: string) => (- <Button- key={category}- type={- category === 'all' && !searchTerm && !activeCategory- ? 'default'- : category === activeCategory- ? 'default'- : 'outline'- }- onClick={() => handleSetCategory(category)}- size={is2XL ? 'tiny' : 'small'}- className="rounded-full"- >- {category === 'all' ? 'All' : startCase(category.replaceAll('-', ' '))}- </Button>- ))}+ {category === 'all' ? 'All Posts' : startCase(category.replaceAll('-', ' '))}+ </DropdownMenuItem>+ ))}+ </DropdownMenuContent>+ </DropdownMenu></div>-- {!showSearchInput && (- <motion.div- className="flex-1 flex justify-end"- initial={{ opacity: 0 }}- animate={{ opacity: 1 }}- exit={{ opacity: 0, transition: { duration: 0.05 } }}+ )}+ <div className="hidden lg:flex flex-wrap items-center flex-grow gap-2">+ {allCategories.map((category: string) => (+ <Button+ key={category}+ type={+ category === 'all' && !searchTerm && !activeCategory+ ? 'default'+ : category === activeCategory+ ? 'default'+ : 'outline'+ }+ onClick={() => handleSetCategory(category)}+ size={is2XL ? 'tiny' : 'small'}+ className="rounded-full">- <Button- className="px-2"- size="large"- type="default"- onClick={() => setShowSearchInput(true)}- >- <Search size="14" />- </Button>- </motion.div>- )}+ {category === 'all' ? 'All' : startCase(category.replaceAll('-', ' '))}+ </Button>+ ))}+ </div>- {showSearchInput && (- <motion.div- initial={{ opacity: 0 }}- animate={{ opacity: 1 }}- exit={{ opacity: 0, transition: { duration: 0.05 } }}- className="w-full h-auto flex justify-end gap-2 items-stretch lg:max-w-[240px] xl:max-w-[280px]"+ {!showSearchInput && (+ <div className="flex-1 flex justify-end">+ {' '}+ <Button+ className="px-2 h-full"+ size="medium"+ type="default"+ onClick={() => setShowSearchInput(true)}>- <Input- icon={<Search size="14" />}- size="small"- layout="vertical"- autoComplete="off"- type="search"- placeholder="Search blog"- value={searchTerm}- onChange={handleSearchChange}- className="w-full"- actions={- isMobile && (- <Button- type="link"- onClick={() => {- setSearchTerm('')- setShowSearchInput(false)- }}- className="text-foreground-light hover:text-foreground hover:bg-selection"- >- <CloseIcon size="14" />- </Button>- )- }- />- </motion.div>- )}- </AnimatePresence>+ <Search size="14" />+ </Button>+ </div>+ )}++ {showSearchInput && (+ <div className="w-full h-auto flex justify-end gap-2 items-stretch lg:max-w-[240px] xl:max-w-[280px]">+ <Input+ icon={<Search size="14" />}+ size="small"+ layout="vertical"+ autoComplete="off"+ type="search"+ placeholder="Search blog"+ value={searchTerm}+ onChange={handleSearchChange}+ className="w-full"+ actions={+ isMobile && (+ <Button+ type="link"+ onClick={() => {+ setSearchTerm('')+ setShowSearchInput(false)+ }}+ className="text-foreground-light hover:text-foreground hover:bg-selection"+ >+ <CloseIcon size="14" />+ </Button>+ )+ }+ />+ </div>+ )}<Buttontype="default"title={isList ? 'Grid View' : 'List View'}diff --git a/apps/www/components/Blog/BlogGridItem.tsx b/apps/www/components/Blog/BlogGridItem.tsxindex 13b41145fa5..1653fc5afe8 100644--- a/apps/www/components/Blog/BlogGridItem.tsx+++ b/apps/www/components/Blog/BlogGridItem.tsx@@ -24,6 +24,18 @@ const BlogGridItem = ({ post }: Props) => {}}+ const imageUrl = post.isCMS+ ? post.thumb+ ? post.thumb+ : post.image+ ? post.image+ : '/images/blog/blog-placeholder.png'+ : post.thumb+ ? `/images/blog/${post.thumb}`+ : post.image+ ? `/images/blog/${post.image}`+ : '/images/blog/blog-placeholder.png'+return (<Linkhref={post.path}@@ -36,13 +48,7 @@ const BlogGridItem = ({ post }: Props) => {fillsizes="100%"quality={100}- src={- !post.thumb- ? `/images/blog/blog-placeholder.png`- : post.type === 'casestudy'- ? post.thumb- : `/images/blog/${post.thumb}`- }+ src={imageUrl}className="scale-100 object-cover overflow-hidden"alt={`${post.title} thumbnail`}/>diff --git a/apps/www/components/Blog/BlogHeader.tsx b/apps/www/components/Blog/BlogHeader.tsxdeleted file mode 100644index 53d78570567..00000000000--- a/apps/www/components/Blog/BlogHeader.tsx+++ /dev/null@@ -1,19 +0,0 @@-import React from 'react'--interface Props {- title: string-}--export default function BlogHeader({ title }: Props) {- return (- <div className="overflow-hidden border-b bg-surface-100 pt-4 pb-4 border-control">- <div className="container mx-auto px-8 sm:px-16 xl:px-20">- <div className="mx-auto">- <h1>- <span className="text-3xl">{title}</span>- </h1>- </div>- </div>- </div>- )-}diff --git a/apps/www/components/Blog/BlogListItem.tsx b/apps/www/components/Blog/BlogListItem.tsxindex e6fc32364f7..a852693b37c 100644--- a/apps/www/components/Blog/BlogListItem.tsx+++ b/apps/www/components/Blog/BlogListItem.tsx@@ -1,29 +1,46 @@-import authors from 'lib/authors.json'+import blogAuthors from 'lib/authors.json'import Image from 'next/image'import Link from 'next/link'import React from 'react'-import type Author from '~/types/author'import type PostTypes from '~/types/post'import dayjs from 'dayjs'import { Badge } from 'ui'+import type { CMSPostTypes } from '~/types/post'interface Props {- post: PostTypes+ post: PostTypes | CMSPostTypes}-const BlogListItem = ({ post }: Props) => {- const authorArray: string[] | undefined = post.author ? post.author.split(',') : []- const author = []+const getAuthors = (post: PostTypes | CMSPostTypes) => {+ if ('isCMS' in post && post.isCMS) {+ // For CMS posts, display author directly from the blog data+ const cmsBlog = post as CMSPostTypes+ const authors =+ cmsBlog.authors?.map((author) => ({+ author: author.author || 'Unknown Author',+ author_image_url: author.author_image_url || null,+ author_url: author.author_url || '#',+ position: author.position || '',+ })) || []++ return authors+ }++ const authorArray = post.author?.split(',') || []+ const authors = []- if (authorArray) {- for (let i = 0; i < authorArray.length; i++) {- author.push(- authors.find((authors: Author) => {- return authors.author_id === authorArray[i]- })- )- }+ for (let i = 0; i < authorArray.length; i++) {+ authors.push(+ blogAuthors.find((authors: any) => {+ return authors.author_id === authorArray[i]+ })+ )}+ return authors+}++const BlogListItem = ({ post }: Props) => {+ const authors = getAuthors(post)const sanitizeCategory = (category: string) => category.replaceAll('-', ' ')@@ -37,7 +54,7 @@ const BlogListItem = ({ post }: Props) => {</div><div className="lg:col-span-2 xl:col-span-4 flex justify-start items-center lg:grid grid-cols-2 xl:grid-cols-3 gap-2 text-sm"><div className="hidden lg:flex items-center -space-x-2">- {author.map((author: any, i: number) => {+ {authors.map((author: any, i: number) => {return (<div className="relative ring-background w-6 h-6 rounded-full ring-2" key={i}>{author.author_image_url && (diff --git a/apps/www/components/Blog/BlogPostRenderer.tsx b/apps/www/components/Blog/BlogPostRenderer.tsxnew file mode 100644index 00000000000..0f8ee26cbf1--- /dev/null+++ b/apps/www/components/Blog/BlogPostRenderer.tsx@@ -0,0 +1,382 @@+'use client'++import dayjs from 'dayjs'+import { MDXRemote } from 'next-mdx-remote'+import dynamic from 'next/dynamic'+import Image from 'next/image'+import Link from 'next/link'+import { useState, useMemo } from 'react'+import { ChevronLeft } from 'lucide-react'+import { Badge } from 'ui'++import mdxComponents from 'lib/mdx/mdxComponents'++import type { CMSAuthor, PostReturnType, ProcessedBlogData, Tag } from 'types/post'+import type { MDXRemoteSerializeResult } from 'next-mdx-remote'+import type { ComponentType } from 'react'++const ShareArticleActions = dynamic(() => import('components/Blog/ShareArticleActions'))+const CTABanner = dynamic(() => import('components/CTABanner'))+const LW11Summary = dynamic(() => import('components/LaunchWeek/11/LW11Summary'))+const LW12Summary = dynamic(() => import('components/LaunchWeek/12/LWSummary'))+const LW13Summary = dynamic(() => import('components/LaunchWeek/13/Releases/LWSummary'))+const LW14Summary = dynamic(() => import('components/LaunchWeek/14/Releases/LWSummary'))+const LW15Summary = dynamic(() => import('components/LaunchWeek/15/LWSummary'))+const BlogLinks = dynamic(() => import('components/LaunchWeek/7/BlogLinks'))+const LWXSummary = dynamic(() => import('components/LaunchWeek/X/LWXSummary'))+const DefaultLayout = dynamic(() => import('components/Layouts/Default'))+const DraftModeBanner = dynamic(() => import('components/Blog/DraftModeBanner'))+const ReactMarkdown = dynamic<{ children: string }>(+ () =>+ import('react-markdown').then(+ (m) => m.default as unknown as ComponentType<{ children: string }>+ ),+ { ssr: false }+)++const BlogPostRenderer = ({+ blog,+ blogMetaData,+ isDraftMode,+ livePreviewData,+ isLivePreviewLoading,+ prevPost,+ nextPost,+ authors,+}: {+ blog: ProcessedBlogData+ blogMetaData: ProcessedBlogData+ isDraftMode: boolean+ livePreviewData?: ProcessedBlogData+ isLivePreviewLoading?: boolean+ prevPost?: PostReturnType | null+ nextPost?: PostReturnType | null+ authors: CMSAuthor[]+}) => {+ const [previewData] = useState<ProcessedBlogData>(blog)++ const shouldUseLivePreview = isDraftMode && blog.isCMS++ // For LivePreview, we'll use the raw content directly with ReactMarkdown+ // instead of trying to use MDXRemote which requires specific serialization+ const isLivePreview = isDraftMode && (livePreviewData !== undefined || previewData !== blog)++ // Extract raw content from data if available+ const livePreviewContent = useMemo(() => {+ // Priority 1: Use data from LivePreview hook (only in draft mode)+ if (+ isDraftMode &&+ shouldUseLivePreview &&+ livePreviewData &&+ typeof livePreviewData === 'object'+ ) {+ // If content is a string, use it directly+ if (typeof (livePreviewData as unknown as { content?: unknown }).content === 'string') {+ return (livePreviewData as unknown as { content?: string }).content as string+ }++ // If content is from source property+ if (+ (livePreviewData as unknown as { source?: unknown }).source &&+ typeof (livePreviewData as unknown as { source?: unknown }).source === 'string'+ ) {+ return (livePreviewData as unknown as { source?: string }).source as string+ }+ }++ // Priority 2: Use data from postMessage updates+ if (isDraftMode && previewData !== blog) {+ // If content is a string, use it directly+ if (typeof (previewData as unknown as { content?: unknown }).content === 'string') {+ return (previewData as unknown as { content?: string }).content as string+ }++ // If content is from source property+ if (+ (previewData as unknown as { source?: unknown }).source &&+ typeof (previewData as unknown as { source?: unknown }).source === 'string'+ ) {+ return (previewData as unknown as { source?: string }).source as string+ }+ }++ return blog.source || ''+ }, [isDraftMode, shouldUseLivePreview, livePreviewData, previewData, blog])++ const isCMS = blogMetaData.isCMS+ const isLaunchWeek7 = blogMetaData.launchweek === '7'+ const isLaunchWeekX = blogMetaData.launchweek?.toString().toLocaleLowerCase() === 'x'+ const isGAWeek = blogMetaData.launchweek?.toString().toLocaleLowerCase() === '11'+ const isLaunchWeek12 = blogMetaData.launchweek?.toString().toLocaleLowerCase() === '12'+ const isLaunchWeek13 = blogMetaData.launchweek?.toString().toLocaleLowerCase() === '13'+ const isLaunchWeek14 = blogMetaData.launchweek?.toString().toLocaleLowerCase() === '14'+ const isLaunchWeek15 = blogMetaData.launchweek?.toString().toLocaleLowerCase() === '15'++ type NextCardProps = {+ post: { path: string; title: string; formattedDate: string }+ label: string+ className?: string+ }+ const NextCard = (props: NextCardProps) => {+ const { post, label, className } = props++ return (+ <Link href={`${post.path}`} as={`${post.path}`}>+ <div className={className ?? ''}>+ <div className="hover:bg-control cursor-pointer rounded border p-6 transition">+ <div className="space-y-4">+ <div>+ <p className="text-foreground-lighter text-sm">{label}</p>+ </div>+ <div>+ {'title' in post && (+ <h4 className="text-foreground text-lg">{(post as { title?: string }).title}</h4>+ )}+ {'formattedDate' in post && (+ <p className="small">{(post as { formattedDate?: string }).formattedDate}</p>+ )}+ </div>+ </div>+ </div>+ </div>+ </Link>+ )+ }++ const toc = blogMetaData.toc && (+ <div>+ <p className="text-foreground mb-4">On this page</p>+ <div className="prose-toc">+ {blogMetaData.toc && (+ <ReactMarkdown>+ {typeof blogMetaData.toc === 'string'+ ? (blogMetaData.toc as string)+ : (blogMetaData.toc as { content: string }).content}+ </ReactMarkdown>+ )}+ </div>+ </div>+ )++ const imageUrl = isCMS+ ? blogMetaData.thumb ?? ''+ : blogMetaData.thumb+ ? `/images/blog/${blogMetaData.thumb}`+ : ''++ const generateReadingTime = (text: string | undefined): string => {+ if (!text) return '0 min read'+ const wordsPerMinute = 200+ const numberOfWords = text.split(/\s/g).length+ const minutes = Math.ceil(numberOfWords / wordsPerMinute)+ return `${minutes} min read`+ }++ return (+ <>+ {isLivePreviewLoading && (+ <div className="fixed top-10 right-10 border rounded-full rounded-tr-none animate-spin transform w-10 h-10 bg-transparent" />+ )}+ {isDraftMode && <DraftModeBanner />}+ <DefaultLayout className="overflow-x-hidden">+ <div+ className="+ container mx-auto px-4 py-4 md:py-8 xl:py-10 sm:px-16+ xl:px-20+ "+ >+ <div className="grid grid-cols-12 gap-4">+ <div className="hidden col-span-12 xl:block lg:col-span-2">+ {/* Back button */}+ <Link+ href="/blog"+ className="text-foreground-lighter hover:text-foreground flex cursor-pointer items-center text-sm transition"+ >+ <ChevronLeft style={{ padding: 0 }} />+ Back+ </Link>+ </div>+ <div className="col-span-12 lg:col-span-12 xl:col-span-10">+ {/* Title and description */}+ <div className="mb-6 lg:mb-10 max-w-5xl space-y-8">+ <div className="space-y-4">+ <Link href="/blog" className="text-brand hidden lg:inline-flex items-center">+ Blog{' '}+ {isLivePreviewLoading && (+ <div className="text-xs text-foreground-lighter ml-4">Draft loading...</div>+ )}+ </Link>+ <h1 className="text-2xl sm:text-4xl">{blogMetaData.title}</h1>+ <div className="text-light flex space-x-3 text-sm">+ <p>{dayjs(blogMetaData.date).format('DD MMM YYYY')}</p>+ <p>•</p>+ <p>+ {(blogMetaData as any).readingTime ||+ generateReadingTime(blogMetaData.source)}+ </p>+ </div>+ {authors.length > 0 && (+ <div className="hidden lg:flex justify-between">+ <div className="flex-1 flex flex-col gap-3 pt-2 md:flex-row md:gap-0 lg:gap-3">+ {authors.map((author, i: number) => {+ // Handle both static and CMS author image formats+ const authorImageUrl =+ typeof author.author_image_url === 'string'+ ? author.author_image_url+ : (author.author_image_url as { url: string })?.url || ''++ return (+ <div className="mr-4 w-max" key={`author-${i}-${author.author}`}>+ <Link+ href={author.author_url}+ target="_blank"+ className="cursor-pointer"+ >+ <div className="flex items-center gap-3">+ {authorImageUrl && (+ <div className="w-10">+ <Image+ src={authorImageUrl}+ className="border-default rounded-full border w-full max-h-10 aspect-square object-cover"+ alt={`${author.author} avatar`}+ width={40}+ height={40}+ />+ </div>+ )}+ <div className="flex flex-col">+ <span className="text-foreground mb-0 text-sm">+ {author.author}+ </span>+ <span className="text-foreground-lighter mb-0 text-xs">+ {author.position}+ </span>+ </div>+ </div>+ </Link>+ </div>+ )+ })}+ </div>+ </div>+ )}+ </div>+ </div>+ <div className="grid grid-cols-12 lg:gap-16 xl:gap-8">+ {/* Content */}+ <div className="col-span-12 lg:col-span-7 xl:col-span-7">+ <article>+ <div className={['prose prose-docs'].join(' ')}>+ {blogMetaData.youtubeHero ? (+ <iframe+ title="YouTube video player"+ className="w-full"+ width="700"+ height="350"+ src={blogMetaData.youtubeHero}+ allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"+ allowFullScreen={true}+ />+ ) : (+ blogMetaData.thumb && (+ <div className="hidden md:block relative mb-8 w-full aspect-video overflow-auto rounded-lg border">+ <Image+ src={imageUrl}+ alt={blogMetaData.title}+ fill+ quality={100}+ sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"+ className="object-cover m-0"+ />+ </div>+ )+ )}+ {/* Use ReactMarkdown for LivePreview mode, MDXRemote for normal mode */}+ {isLivePreview ? (+ <ReactMarkdown>{livePreviewContent}</ReactMarkdown>+ ) : (+ <MDXRemote+ {...(blog.content as MDXRemoteSerializeResult)}+ components={mdxComponents('blog')}+ />+ )}+ </div>+ </article>+ {isLaunchWeek7 && <BlogLinks />}+ {isLaunchWeekX && <LWXSummary />}+ {isGAWeek && <LW11Summary />}+ {isLaunchWeek12 && <LW12Summary />}+ {isLaunchWeek13 && <LW13Summary />}+ {isLaunchWeek14 && <LW14Summary />}+ {isLaunchWeek15 && <LW15Summary />}+ <div className="block lg:hidden py-8">+ <div className="text-foreground-lighter text-sm">Share this article</div>+ <ShareArticleActions title={blogMetaData.title} slug={blogMetaData.slug} />+ </div>+ <div className="grid gap-8 py-8 lg:grid-cols-1">+ <div>+ {prevPost && (+ <NextCard+ post={+ prevPost as unknown as {+ path: string+ title: string+ formattedDate: string+ }+ }+ label="Last post"+ />+ )}+ </div>+ <div>+ {nextPost && (+ <NextCard+ post={+ nextPost as unknown as {+ path: string+ title: string+ formattedDate: string+ }+ }+ label="Next post"+ className="text-right"+ />+ )}+ </div>+ </div>+ </div>+ {/* Sidebar */}+ <div className="relative col-span-12 space-y-8 lg:col-span-5 xl:col-span-3 xl:col-start-9">+ <div className="space-y-6">+ <div className="hidden lg:block">+ <div className="flex flex-wrap gap-2">+ {(blogMetaData.tags as Tag[])?.map((tag) => {+ const tagName = typeof tag === 'string' ? tag : tag.name+ const tagId = typeof tag === 'string' ? tag : tag.id.toString()+ return (+ <Link href={`/blog/tags/${tagName}`} key={`category-badge-${tagId}`}>+ <Badge>{tagName}</Badge>+ </Link>+ )+ })}+ </div>+ </div>+ <div className="hidden lg:block">{toc}</div>+ <div className="hidden lg:block">+ <div className="text-foreground text-sm">Share this article</div>+ <ShareArticleActions title={blogMetaData.title} slug={blogMetaData.slug} />+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>++ <CTABanner />+ </DefaultLayout>+ </>+ )+}++export default BlogPostRendererdiff --git a/apps/www/components/Blog/DraftModeBanner.tsx b/apps/www/components/Blog/DraftModeBanner.tsxnew file mode 100644index 00000000000..edc80e73fe8--- /dev/null+++ b/apps/www/components/Blog/DraftModeBanner.tsx@@ -0,0 +1,53 @@+import { AlertTriangle, X } from 'lucide-react'+import Link from 'next/link'+import { Button } from 'ui'++interface DraftModeBannerProps {+ onDismiss?: () => void+}++function DraftModeBanner({ onDismiss }: DraftModeBannerProps) {+ return (+ <div className="fixed inset-0 top-auto z-40 bg-surface-400 border-t">+ <div className="max-w-2xl mx-auto py-2 px-4">+ <div className="flex items-center justify-between flex-wrap">+ <div className="w-0 flex-1 flex items-center">+ <span className="flex p-2 rounded">+ <AlertTriangle className="h-5 w-5" aria-hidden="true" />+ </span>+ <p className="ml-2 truncate">+ <span className="md:hidden">You're viewing draft content</span>+ <span className="hidden md:inline">+ You're viewing draft content that may not be published yet.+ </span>+ </p>+ </div>+ <div className="order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto">+ <Button asChild type="secondary">+ <Link+ href="/api-v2/cms/disable-draft"+ className="flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm"+ >+ Exit Draft Mode+ </Link>+ </Button>+ </div>+ {onDismiss && (+ <div className="order-2 flex-shrink-0 sm:order-3 sm:ml-3">+ <button+ type="button"+ className="-mr-1 flex p-2 rounded-md sm:-mr-2"+ onClick={onDismiss}+ >+ <span className="sr-only">Dismiss</span>+ <X className="h-5 w-5" aria-hidden="true" />+ </button>+ </div>+ )}+ </div>+ </div>+ </div>+ )+}++export default DraftModeBannerdiff --git a/apps/www/components/Blog/FeaturedThumb.tsx b/apps/www/components/Blog/FeaturedThumb.tsxindex daa679cc99e..641b33d3659 100644--- a/apps/www/components/Blog/FeaturedThumb.tsx+++ b/apps/www/components/Blog/FeaturedThumb.tsx@@ -1,23 +1,67 @@+import authors from 'lib/authors.json'import Image from 'next/image'import Link from 'next/link'-import authors from 'lib/authors.json'-import PostTypes from '../../types/post'+import type PostTypes from 'types/post'++// Extend PostTypes for CMS blog posts+interface CMSPostTypes extends PostTypes {+ isCMS?: boolean+ authors?: Array<{+ author: string+ author_id: string+ position: string+ author_url: string+ author_image_url: {+ url: string+ }+ username: string+ }>+}++function FeaturedThumb(blog: PostTypes | CMSPostTypes) {+ // First check if this is a CMS post+ if ('isCMS' in blog && blog.isCMS) {+ // For CMS posts, display author directly from the blog data+ const cmsBlog = blog as CMSPostTypes+ const author =+ cmsBlog.authors?.map((author) => ({+ author: author.author || 'Unknown Author',+ author_image_url: author.author_image_url || null,+ author_url: author.author_url || '#',+ position: author.position || '',+ })) || []-function FeaturedThumb(blog: PostTypes) {- // @ts-ignore- const authorArray = blog.author.split(',')+ return renderFeaturedThumb(blog, author)+ }+ // For static posts, look up author info from authors.json+ const authorArray = blog.author?.split(',') || []const author = []+for (let i = 0; i < authorArray.length; i++) {- // @ts-ignoreauthor.push(authors.find((authors: any) => {- // @ts-ignorereturn authors.author_id === authorArray[i]}))}+ return renderFeaturedThumb(blog, author)+}++function renderFeaturedThumb(blog: PostTypes, author: any[]) {+ const imageUrl = blog.isCMS+ ? blog.thumb+ ? blog.thumb+ : blog.image+ ? blog.image+ : '/images/blog/blog-placeholder.png'+ : blog.thumb+ ? `/images/blog/${blog.thumb}`+ : blog.image+ ? `/images/blog/${blog.image}`+ : '/images/blog/blog-placeholder.png'+return (<div key={blog.slug} className="w-full"><Link@@ -26,11 +70,12 @@ function FeaturedThumb(blog: PostTypes) {><div className="relative w-full aspect-[2/1] lg:col-span-3 lg:aspect-[3/2] overflow-auto rounded-lg border"><Image- src={`/images/blog/` + (blog.thumb ? blog.thumb : blog.image)}+ src={imageUrl}fillsizes="100%"quality={100}- className="object-cover"+ priority+ className="object-cover bg-alternative"alt="blog thumbnail"/></div>@@ -47,13 +92,21 @@ function FeaturedThumb(blog: PostTypes) {</div><div className="flex flex-col w-max gap-2">- {author.map((author: any, i: number) => {+ {author.filter(Boolean).map((author: any, i: number) => {+ const authorImageUrl =+ typeof author.author_image_url === 'string'+ ? author.author_image_url+ : (author.author_image_url as { url: string })?.url || ''+return (- <div className="flex items-center space-x-2" key={i}>- {author.author_image_url && (+ <div+ className="flex items-center space-x-2"+ key={`author-feat-${i}-${author.author}`}+ >+ {imageUrl && (<div className="relative h-6 w-6 overflow-auto"><Image- src={author.author_image_url}+ src={authorImageUrl}alt={`${author.author} avatar`}className="rounded-full object-cover"filldiff --git a/apps/www/components/Charts/PGCharts.tsx b/apps/www/components/Charts/PGCharts.tsxindex 3297eab4e9b..6fb44ed8f98 100644--- a/apps/www/components/Charts/PGCharts.tsx+++ b/apps/www/components/Charts/PGCharts.tsx@@ -1,3 +1,5 @@+'use client'+import { Tabs } from 'ui'import { useState } from 'react'import ReactMarkdown from 'react-markdown'diff --git a/apps/www/components/CodeBlock/CodeBlock.tsx b/apps/www/components/CodeBlock/CodeBlock.tsxindex 3d4a6c44c6d..7e333ab0d4b 100644--- a/apps/www/components/CodeBlock/CodeBlock.tsx+++ b/apps/www/components/CodeBlock/CodeBlock.tsx@@ -1,3 +1,5 @@+'use client'+import { Check, Copy, File, Terminal } from 'lucide-react'import { useTheme } from 'next-themes'import { useEffect, useState } from 'react'diff --git a/apps/www/components/CustomerStories/CustomersFilters.tsx b/apps/www/components/CustomerStories/CustomersFilters.tsxindex d566127e69d..3f6f2e496ad 100644--- a/apps/www/components/CustomerStories/CustomersFilters.tsx+++ b/apps/www/components/CustomerStories/CustomersFilters.tsx@@ -1,4 +1,6 @@-import { useRouter } from 'next/router'+'use client'++import { useRouter } from 'next/compat/router'import { AnimatePresence, motion } from 'framer-motion'import { useEffect, useState } from 'react'import type PostTypes from '~/types/post'@@ -13,6 +15,7 @@ import {import { ChevronDown, X as CloseIcon } from 'lucide-react'import { startCase } from 'lib/helpers'import { useBreakpoint } from 'common'+import { usePathname } from 'next/navigation'interface Props {allCustomers: PostTypes[]@@ -21,7 +24,7 @@ interface Props {products: { [key: string]: number }}-export const useFilters = (initialIndustry: string, initialProduct: string) => {+const useFilters = (initialIndustry: string, initialProduct: string) => {const router = useRouter()const [industry, setIndustry] = useState<string>(initialIndustry)const [product, setProduct] = useState<string>(initialProduct)@@ -30,7 +33,7 @@ export const useFilters = (initialIndustry: string, initialProduct: string) => {const params = new URLSearchParams()if (industry !== 'all') params.set('industry', industry)if (product !== 'all') params.set('product', product)- router.replace({ pathname: '/customers', query: params.toString() }, undefined, {+ router?.replace({ pathname: '/customers', query: params.toString() }, undefined, {shallow: true,})}@@ -45,6 +48,7 @@ export const useFilters = (initialIndustry: string, initialProduct: string) => {function CustomerFilters({ allCustomers, setCustomers, industries, products }: Props) {const isMobile = useBreakpoint('sm')const router = useRouter()+ const pathname = usePathname()const {industry: activeIndustry,setIndustry,@@ -73,35 +77,37 @@ function CustomerFilters({ allCustomers, setCustomers, industries, products }: P}, [activeIndustry, activeProduct])const handleIndustryFilter = (selectedIndustry: string) => {+ if (!router) returnif (selectedIndustry === 'all') {setIndustry('all')const { industry, ...rest } = router.query- router.push({- pathname: router.pathname,+ router?.push({+ pathname: pathname,query: rest,})} else {setIndustry(selectedIndustry)- router.push({- pathname: router.pathname,- query: { ...router.query, industry: selectedIndustry },+ router?.push({+ pathname: pathname,+ query: { ...router?.query, industry: selectedIndustry },})}}const handleProductFilter = (selectedProduct: string) => {+ if (!router) returnif (selectedProduct === 'all') {setProduct('all')const { product, ...rest } = router.query- router.push({- pathname: router.pathname,+ router?.push({+ pathname: pathname,query: rest,})} else {setProduct(selectedProduct)- router.push({- pathname: router.pathname,- query: { ...router.query, product: selectedProduct },+ router?.push({+ pathname: pathname,+ query: { ...router?.query, product: selectedProduct },})}}diff --git a/apps/www/components/CustomerStories/CustomersSliderMobile.tsx b/apps/www/components/CustomerStories/CustomersSliderMobile.tsxindex 5c3cedd2f04..5a809b48bdb 100644--- a/apps/www/components/CustomerStories/CustomersSliderMobile.tsx+++ b/apps/www/components/CustomerStories/CustomersSliderMobile.tsx@@ -1,3 +1,5 @@+'use client'+import 'swiper/css'import React from 'react'import { Swiper, SwiperSlide } from 'swiper/react'diff --git a/apps/www/components/CustomerStories/CutomsersSliderDesktop.tsx b/apps/www/components/CustomerStories/CutomsersSliderDesktop.tsxindex 146a43678d0..0150ed81c59 100644--- a/apps/www/components/CustomerStories/CutomsersSliderDesktop.tsx+++ b/apps/www/components/CustomerStories/CutomsersSliderDesktop.tsx@@ -1,3 +1,5 @@+'use client'+import React from 'react'import { range } from 'lib/helpers'import { cn } from 'ui'diff --git a/apps/www/components/CustomerStories/index.tsx b/apps/www/components/CustomerStories/index.tsxindex 6dbc535caf8..f79b6c58b64 100644--- a/apps/www/components/CustomerStories/index.tsx+++ b/apps/www/components/CustomerStories/index.tsx@@ -1,3 +1,5 @@+'use client'+import { PropsWithChildren } from 'react'import dynamic from 'next/dynamic'import Link from 'next/link'diff --git a/apps/www/components/Events/EventsFilters.tsx b/apps/www/components/Events/EventsFilters.tsxindex 71c372c8d45..b941218c892 100644--- a/apps/www/components/Events/EventsFilters.tsx+++ b/apps/www/components/Events/EventsFilters.tsx@@ -2,7 +2,7 @@ import { useBreakpoint } from 'common'import { AnimatePresence, motion } from 'framer-motion'import { startCase } from 'lib/helpers'import { useSearchParams } from 'next/navigation'-import { useRouter } from 'next/router'+import { useRouter } from 'next/compat/router'import Link from 'next/link'import { useEffect, useRef, useState } from 'react'import { useKey } from 'react-use'@@ -63,9 +63,9 @@ function EventFilters({ allEvents, setEvents, categories, onDemandEvents }: Prop}, [q])const handleReplaceRouter = () => {- if (!searchTerm && category !== 'all') {+ if (!searchTerm && category !== 'all' && router) {router.query.category = category- router.replace(router, undefined, { shallow: true, scroll: false })+ router?.replace(router, undefined, { shallow: true, scroll: false })}}@@ -89,19 +89,20 @@ function EventFilters({ allEvents, setEvents, categories, onDemandEvents }: Prop}, [isMobile])useEffect(() => {- if (router.isReady && q) {+ if (router?.isReady && q) {setSearchTerm(q)}- if (router.isReady && activeCategory && activeCategory !== 'all') {+ if (router?.isReady && activeCategory && activeCategory !== 'all') {setCategory(activeCategory)}- }, [activeCategory, router.isReady, q])+ }, [activeCategory, router?.isReady, q])const handleSearchByText = (text: string) => {setSearchTerm(text)- searchParams?.has('q') && router.replace('/events', undefined, { shallow: true, scroll: false })- router.replace(`/events?q=${text}`, undefined, { shallow: true, scroll: false })- if (text.length < 1) router.replace('/events', undefined, { shallow: true, scroll: false })+ searchParams?.has('q') &&+ router?.replace('/events', undefined, { shallow: true, scroll: false })+ router?.replace(`/events?q=${text}`, undefined, { shallow: true, scroll: false })+ if (text.length < 1) router?.replace('/events', undefined, { shallow: true, scroll: false })const matches = allEvents.filter((event: any) => {const found =@@ -119,8 +120,8 @@ function EventFilters({ allEvents, setEvents, categories, onDemandEvents }: PropsearchTerm && setSearchTerm('')setCategory(category)category === 'all'- ? router.replace('/events', undefined, { shallow: true, scroll: false })- : router.replace(`/events?category=${category}`, undefined, {+ ? router?.replace('/events', undefined, { shallow: true, scroll: false })+ : router?.replace(`/events?category=${category}`, undefined, {shallow: true,scroll: false,})diff --git a/apps/www/components/Footer/index.tsx b/apps/www/components/Footer/index.tsxindex d4c64ebc021..49d067de713 100644--- a/apps/www/components/Footer/index.tsx+++ b/apps/www/components/Footer/index.tsx@@ -1,8 +1,9 @@+'use client'+import { CheckIcon } from '@heroicons/react/outline'import { REALTIME_CHANNEL_STATES } from '@supabase/supabase-js'import Image from 'next/image'import Link from 'next/link'-import { useRouter } from 'next/router'import { useEffect } from 'react'import * as supabaseLogoWordmarkDark from 'common/assets/images/supabase-logo-wordmark--dark.png'@@ -13,6 +14,7 @@ import { ThemeToggle } from 'ui-patterns/ThemeToggle'import supabase from '~/lib/supabase'import useDarkLaunchWeeks from '../../hooks/useDarkLaunchWeeks'import SectionContainer from '../Layouts/SectionContainer'+import { usePathname } from 'next/navigation'interface Props {className?: string@@ -20,10 +22,10 @@ interface Props {}const Footer = (props: Props) => {- const { pathname } = useRouter()+ const pathname = usePathname()const isDarkLaunchWeek = useDarkLaunchWeeks()- const isGAWeek = pathname.includes('/ga-week')+ const isGAWeek = pathname?.includes('/ga-week')const forceDark = isDarkLaunchWeekuseEffect(() => {@@ -48,7 +50,6 @@ const Footer = (props: Props) => {isGAWeek && 'dark:bg-alternative',props.className)}- aria-labelledby="footerHeading"><h2 id="footerHeading" className="sr-only">Footerdiff --git a/apps/www/components/ImageFadeStack.tsx b/apps/www/components/ImageFadeStack.tsxindex 6f1182f00bc..22d61fdb346 100644--- a/apps/www/components/ImageFadeStack.tsx+++ b/apps/www/components/ImageFadeStack.tsx@@ -1,3 +1,5 @@+'use client'+import { PauseCircle, PlayCircle } from 'lucide-react'import Image from 'next/image'import { useEffect, useState } from 'react'diff --git a/apps/www/components/ImageGrid.tsx b/apps/www/components/ImageGrid.tsxindex cbb9becf428..c201def4fbf 100644--- a/apps/www/components/ImageGrid.tsx+++ b/apps/www/components/ImageGrid.tsx@@ -1,3 +1,5 @@+'use client'+import Image from 'next/image'import Link from 'next/link'import { motion } from 'framer-motion'diff --git a/apps/www/components/LaunchWeek/15/Ticketing/LW15TicketPageProxy.tsx b/apps/www/components/LaunchWeek/15/Ticketing/LW15TicketPageProxy.tsxindex 36d1bc58874..dd5946c0d32 100644--- a/apps/www/components/LaunchWeek/15/Ticketing/LW15TicketPageProxy.tsx+++ b/apps/www/components/LaunchWeek/15/Ticketing/LW15TicketPageProxy.tsx@@ -1,5 +1,5 @@import { useEffect } from 'react'-import { useRouter } from 'next/router'+import { useRouter } from 'next/compat/router'import useLw15ConfData from 'components/LaunchWeek/15/hooks/use-conf-data'import { useRegistration } from 'components/LaunchWeek/15/hooks/use-registration'@@ -13,7 +13,7 @@ const LW15TicketRedirect = () => {useEffect(() => {if (confState.sessionLoaded && confState.session === null) {- router.replace('/launch-week')+ router?.replace('/launch-week')}}, [confState.sessionLoaded, confState.session, router, user.username])diff --git a/apps/www/components/Layouts/SectionContainer.tsx b/apps/www/components/Layouts/SectionContainer.tsxindex c6e5cb2d17c..e92c210aa5c 100644--- a/apps/www/components/Layouts/SectionContainer.tsx+++ b/apps/www/components/Layouts/SectionContainer.tsx@@ -1,3 +1,5 @@+'use client'+import classNames from 'classnames'import { Ref, forwardRef } from 'react'diff --git a/apps/www/components/Nav/DevelopersDropdown.tsx b/apps/www/components/Nav/DevelopersDropdown.tsxindex f11d1c5c26c..2a077b8944b 100644--- a/apps/www/components/Nav/DevelopersDropdown.tsx+++ b/apps/www/components/Nav/DevelopersDropdown.tsx@@ -2,9 +2,7 @@ import { ChevronRight } from 'lucide-react'import Link from 'next/link'import { data as DevelopersData } from 'data/Developers'-import staticContent from '~/.contentlayer/generated/staticContent/_index.json' with { type: 'json' }--const { jobsCount, latestBlogPosts } = staticContent+import staticContent from '.generated/staticContent/_index.json'type LinkProps = {text: string@@ -14,68 +12,72 @@ type LinkProps = {svg?: any}-const DevelopersDropdown = () => (- <div className="flex flex-col xl:flex-row">- <div className="w-[550px] xl:w-[470px] py-8 px-8 bg-background grid gap-3 grid-cols-2">- {DevelopersData['navigation'].map((column) => (- <div key={column.label} className="p-0 flex flex-col gap-6">- <label className="text-foreground-lighter text-xs uppercase tracking-widest font-mono">- {column.label}- </label>- <ul className="flex flex-col gap-4">- {column.links.map(({ icon: Icon, ...link }: LinkProps) => (- <li key={link.text}>+const DevelopersDropdown = () => {+ const { jobsCount, latestBlogPosts } = staticContent++ return (+ <div className="flex flex-col xl:flex-row">+ <div className="w-[550px] xl:w-[470px] py-8 px-8 bg-background grid gap-3 grid-cols-2">+ {DevelopersData['navigation'].map((column) => (+ <div key={column.label} className="p-0 flex flex-col gap-6">+ <label className="text-foreground-lighter text-xs uppercase tracking-widest font-mono">+ {column.label}+ </label>+ <ul className="flex flex-col gap-4">+ {column.links.map(({ icon: Icon, ...link }: LinkProps) => (+ <li key={link.text}>+ <Link+ href={link.url!}+ className="flex group items-center gap-2 text-foreground-light text-sm hover:text-foreground focus-visible:text-foreground focus-visible:ring-2 focus-visible:outline-none focus-visible:rounded focus-visible:ring-foreground-lighter"+ >+ {Icon && <Icon size={16} strokeWidth={1.3} />}+ <span>{link.text}</span>+ {link.text === 'Careers' && jobsCount > 0 && (+ <span className="text-xs flex items-center justify-center text-foreground-lighter -ml-1">+ ({jobsCount})+ </span>+ )}+ <ChevronRight+ strokeWidth={2}+ className="w-3 -ml-1 transition-all will-change-transform -translate-x-1 opacity-0 group-hover:translate-x-0 group-hover:opacity-100"+ />+ </Link>+ </li>+ ))}+ </ul>+ </div>+ ))}+ </div>+ <div className="bg-surface-75 flex flex-col w-[550px] xl:w-[480px] border-t xl:border-t-0 xl:border-l">+ <div className="flex-col gap-2 py-8 px-10">+ <Link+ href="/blog"+ className="group flex items-center gap-1 text-foreground-lighter hover:text-foreground text-xs uppercase tracking-widest font-mono mb-5 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm focus-visible:text-foreground"+ >+ <span>Blog</span>+ <ChevronRight className="h-3 w-3 transition-transform will-change-transform -translate-x-1 group-hover:translate-x-0" />+ </Link>+ <ul className="flex flex-col gap-5">+ {latestBlogPosts?.slice(0, 2).map((post) => (+ <li key={post.title}><Link- href={link.url!}- className="flex group items-center gap-2 text-foreground-light text-sm hover:text-foreground focus-visible:text-foreground focus-visible:ring-2 focus-visible:outline-none focus-visible:rounded focus-visible:ring-foreground-lighter"+ href={post.url}+ className="group flex flex-col focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded">- {Icon && <Icon size={16} strokeWidth={1.3} />}- <span>{link.text}</span>- {link.text === 'Careers' && jobsCount > 0 && (- <span className="text-xs flex items-center justify-center text-foreground-lighter -ml-1">- ({jobsCount})- </span>- )}- <ChevronRight- strokeWidth={2}- className="w-3 -ml-1 transition-all will-change-transform -translate-x-1 opacity-0 group-hover:translate-x-0 group-hover:opacity-100"- />+ <p className="text-foreground-light mb-0 line-clamp-2 group-hover:text-foreground group-focus-visible:text-foreground">+ {post.title}+ </p>+ <p className="text-sm line-clamp-2 text-foreground-lighter leading-relaxed !mb-0 group-hover:text-foreground-light group-focus-visible:text-foreground-light">+ {post.description}+ </p></Link></li>))}</ul></div>- ))}- </div>- <div className="bg-surface-75 flex flex-col w-[550px] xl:w-[480px] border-t xl:border-t-0 xl:border-l">- <div className="flex-col gap-2 py-8 px-10">- <Link- href="/blog"- className="group flex items-center gap-1 text-foreground-lighter hover:text-foreground text-xs uppercase tracking-widest font-mono mb-5 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm focus-visible:text-foreground"- >- <span>Blog</span>- <ChevronRight className="h-3 w-3 transition-transform will-change-transform -translate-x-1 group-hover:translate-x-0" />- </Link>- <ul className="flex flex-col gap-5">- {latestBlogPosts?.map((post) => (- <li key={post.title}>- <Link- href={post.url}- className="group flex flex-col focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded"- >- <p className="text-foreground-light mb-0 line-clamp-2 group-hover:text-foreground group-focus-visible:text-foreground">- {post.title}- </p>- <p className="text-sm line-clamp-2 text-foreground-lighter leading-relaxed !mb-0 group-hover:text-foreground-light group-focus-visible:text-foreground-light">- {post.description}- </p>- </Link>- </li>- ))}- </ul></div></div>- </div>-)+ )+}export default DevelopersDropdowndiff --git a/apps/www/components/Nav/GitHubButton.tsx b/apps/www/components/Nav/GitHubButton.tsxindex 37aa4ab7ad8..fe44e634b29 100644--- a/apps/www/components/Nav/GitHubButton.tsx+++ b/apps/www/components/Nav/GitHubButton.tsx@@ -1,10 +1,11 @@import { Button } from 'ui'-import staticContent from '~/.contentlayer/generated/staticContent/_index.json' with { type: 'json' }import { useSendTelemetryEvent } from '~/lib/telemetry'--const { githubStars } = staticContent+import staticContent from '.generated/staticContent/_index.json'const GitHubButton = () => {+ const sendTelemetryEvent = useSendTelemetryEvent()+ const githubStars = staticContent.githubStars+const kFormatter = (num: number) => {const kFormat = Math.floor(num / 1000)const lastTwoDigits = num % 1000@@ -21,7 +22,6 @@ const GitHubButton = () => {? `${kFormat}.${decimalPart >= 8 ? hundreds + 1 : hundreds}K`: `${isAlmostNextThousand ? kFormat + 1 : kFormat}K`}- const sendTelemetryEvent = useSendTelemetryEvent()return (<Buttondiff --git a/apps/www/components/Nav/MobileMenu.tsx b/apps/www/components/Nav/MobileMenu.tsxindex 31d9b68f06d..33a418b591f 100644--- a/apps/www/components/Nav/MobileMenu.tsx+++ b/apps/www/components/Nav/MobileMenu.tsx@@ -1,7 +1,10 @@+'use client'+import { AnimatePresence, LazyMotion, domAnimation, m } from 'framer-motion'import Image from 'next/image'import Link from 'next/link'-import { Dispatch, SetStateAction } from 'react'+import { useEffect } from 'react'+import type { Dispatch, SetStateAction } from 'react'import { Accordion, Button, TextLink } from 'ui'import { DEFAULT_EASE } from '~/lib/animations'@@ -11,14 +14,11 @@ import { useIsLoggedIn, useIsUserLoading } from 'common'import * as supabaseLogoWordmarkDark from 'common/assets/images/supabase-logo-wordmark--dark.png'import * as supabaseLogoWordmarkLight from 'common/assets/images/supabase-logo-wordmark--light.png'import { ChevronRight } from 'lucide-react'-import { useKey } from 'react-use'-import staticContent from '~/.contentlayer/generated/staticContent/_index.json' with { type: 'json' }import ProductModulesData from '~/data/ProductModules'+import staticContent from '.generated/staticContent/_index.json'import { useSendTelemetryEvent } from '~/lib/telemetry'-const { jobsCount } = staticContent-interface Props {open: booleansetOpen: Dispatch<SetStateAction<boolean>>@@ -29,6 +29,8 @@ const MobileMenu = ({ open, setOpen, menu }: Props) => {const isLoggedIn = useIsLoggedIn()const isUserLoading = useIsUserLoading()const sendTelemetryEvent = useSendTelemetryEvent()+ const { jobsCount } = staticContent+const container = {hidden: { opacity: 0 },show: { opacity: 1, transition: { duration: 0.15, staggerChildren: 0.05, ease: DEFAULT_EASE } },@@ -41,7 +43,15 @@ const MobileMenu = ({ open, setOpen, menu }: Props) => {exit: { opacity: 0, transition: { duration: 0.05 } },}- useKey('Escape', () => setOpen(false))+ useEffect(() => {+ const onKeyDown = (e: KeyboardEvent) => {+ if (e.key === 'Escape') {+ setOpen(false)+ }+ }+ window.addEventListener('keydown', onKeyDown)+ return () => window.removeEventListener('keydown', onKeyDown)+ }, [setOpen])const AccordionMenuItem = ({ menuItem }: any) => (<>diff --git a/apps/www/components/Nav/ProductDropdown.tsx b/apps/www/components/Nav/ProductDropdown.tsxindex 7a17acb5be7..488e365a627 100644--- a/apps/www/components/Nav/ProductDropdown.tsx+++ b/apps/www/components/Nav/ProductDropdown.tsx@@ -1,6 +1,7 @@+'use client'+import React from 'react'import Image from 'next/image'-import { useRouter } from 'next/router'import Link from 'next/link'import { ChevronRight, Sparkles } from 'lucide-react'@@ -15,7 +16,6 @@ import MainProductsData from 'data/MainProducts'import ProductModulesData from 'data/ProductModules'const ProductDropdown = () => {- const { basePath } = useRouter()const isTablet = useBreakpoint(1279)return (@@ -142,7 +142,7 @@ const ProductDropdown = () => {><div className="relative rounded-md bg-background border group-hover:border-foreground-muted/50 h-14 w-28 xl:h-14 xl:w-20 flex-shrink-0 overflow-auto"><Image- src={`${basePath}/${customer.imgUrl}`}+ src={`/${customer.imgUrl}`}alt={customer.title}fillclassName="!p-3 object-contain brightness-70 contrast-[.35] filter"diff --git a/apps/www/components/Nav/RightClickBrandLogo.tsx b/apps/www/components/Nav/RightClickBrandLogo.tsxindex 41475934850..02eb7e28476 100644--- a/apps/www/components/Nav/RightClickBrandLogo.tsx+++ b/apps/www/components/Nav/RightClickBrandLogo.tsx@@ -1,9 +1,11 @@+'use client'+import { CheckIcon, ClipboardIcon } from '@heroicons/react/outline'import Image from 'next/image'import Link from 'next/link'-import { useRouter } from 'next/router'-import { Fragment, MouseEvent, ReactNode, useRef, useState } from 'react'-import { useClickAway, useKey } from 'react-use'+import { useRouter } from 'next/compat/router'+import { Fragment, MouseEvent, ReactNode, useEffect, useRef, useState } from 'react'+import { useClickAway } from 'react-use'import {cn,copyToClipboard,@@ -36,7 +38,15 @@ const RightClickBrandLogo = () => {/*** Close dropdown by using the Escape key*/- useKey('Escape', () => setOpen(false))+ useEffect(() => {+ const onKeyDown = (e: KeyboardEvent) => {+ if (e.key === 'Escape') {+ setOpen(false)+ }+ }+ window.addEventListener('keydown', onKeyDown)+ return () => window.removeEventListener('keydown', onKeyDown)+ }, [setOpen])/*** Open dropdown by right clicking on the Supabase logo@@ -84,7 +94,7 @@ const RightClickBrandLogo = () => {href="/"onContextMenu={handleRightClick}onFocus={handleKeyboardOpen}- onKeyDown={(e) => e.key === 'Enter' && router.push('/')}+ onKeyDown={(e) => e.key === 'Enter' && router?.push('/')}className="block w-auto h-6 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm"><Imagediff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsxindex c9232b6bc05..a8493733124 100644--- a/apps/www/components/Nav/index.tsx+++ b/apps/www/components/Nav/index.tsx@@ -55,11 +55,18 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => {const user = useUser()const userMenu = useDropdownMenu(user)- const isLaunchWeekPage = pathname?.includes('/launch-week')const isLaunchWeekXPage = pathname === '/launch-week/x'+ const isLaunchWeek12Page = pathname === '/launch-week/12'+ const isLaunchWeek13Page = pathname === '/launch-week/13'const isGAWeekSection = pathname?.startsWith('/ga-week')- const disableStickyNav = isLaunchWeekXPage || isGAWeekSection || isLaunchWeekPage || !stickyNavbar- const showLaunchWeekNavMode = !isLaunchWeekXPage && (isLaunchWeekPage || isGAWeekSection) && !open+ const disableStickyNav =+ isLaunchWeekXPage ||+ isGAWeekSection ||+ isLaunchWeekXPage ||+ isLaunchWeek12Page ||+ isLaunchWeek13Page ||+ !stickyNavbar+ const showLaunchWeekNavMode = (isGAWeekSection || isLaunchWeekXPage) && !openReact.useEffect(() => {if (open) {diff --git a/apps/www/components/Nav/useDropdownMenu.tsx b/apps/www/components/Nav/useDropdownMenu.tsxindex ce58b79c69e..70c0a960b3c 100644--- a/apps/www/components/Nav/useDropdownMenu.tsx+++ b/apps/www/components/Nav/useDropdownMenu.tsx@@ -6,7 +6,7 @@ import { logOut } from 'common'import type { menuItem } from 'ui-patterns/AuthenticatedDropdownMenu'import { useSetCommandMenuOpen } from 'ui-patterns'-import { useRouter } from 'next/router'+import { useRouter } from 'next/compat/router'const useDropdownMenu = (user: User | null) => {const router = useRouter()@@ -50,7 +50,7 @@ const useDropdownMenu = (user: User | null) => {icon: LogOut,onClick: async () => {await logOut()- router.reload()+ router?.reload()},},],diff --git a/apps/www/components/ScrollProgress.tsx b/apps/www/components/ScrollProgress.tsxindex 86d3fbe3e01..9c1f5fcaba6 100644--- a/apps/www/components/ScrollProgress.tsx+++ b/apps/www/components/ScrollProgress.tsx@@ -1,11 +1,13 @@-import { useRouter } from 'next/router'+'use client'++import { usePathname } from 'next/navigation'import React, { useEffect, useState } from 'react'const ScrollProgress = () => {const [progressPercentage, setProgressPercentage] = useState(0)- const { pathname } = useRouter()+ const pathname = usePathname()- const isBlogPost = pathname.includes('/blog/')+ const isBlogPost = pathname?.includes('/blog/')if (!isBlogPost) return nullconst handleScroll = () => {diff --git a/apps/www/contentlayer.config.ts b/apps/www/contentlayer.config.tsdeleted file mode 100644index 78d8694dfd9..00000000000--- a/apps/www/contentlayer.config.ts+++ /dev/null@@ -1,36 +0,0 @@-import { defineDocumentType, makeSource } from 'contentlayer2/source-files'-import { FILENAME_SUBSTRING } from './lib/posts'--export const BlogPost = defineDocumentType(() => ({- name: 'BlogPost',- filePathPattern: `**/*.mdx`,- contentType: 'mdx',- fields: {- author: { type: 'string', required: true },- author_url: { type: 'string', required: false },- author_title: { type: 'string', required: false },- author_image_url: { type: 'string', required: false },- date: { type: 'string', required: true },- description: { type: 'string', required: true },- categories: { type: 'list', of: { type: 'string' }, required: true },- image: { type: 'string', required: false },- launchweek: { type: 'string', required: false },- tags: { type: 'list', of: { type: 'string' }, required: false },- title: { type: 'string', required: true },- thumb: { type: 'string', required: false },- toc_depth: { type: 'number', required: false },- video: { type: 'string', required: false },- youtubeHero: { type: 'string', required: false },- },- computedFields: {- url: {- type: 'string',- resolve: (post) => {- const slug = post._raw.flattenedPath.replace('.mdx', '').substring(FILENAME_SUBSTRING)- return `/blog/${slug}`- },- },- },-}))--export default makeSource({ contentDirPath: '_blog', documentTypes: [BlogPost] })diff --git a/apps/www/hooks/useActiveAnchors.tsx b/apps/www/hooks/useActiveAnchors.tsxindex 8dd569c6f5f..dbea06b8611 100644--- a/apps/www/hooks/useActiveAnchors.tsx+++ b/apps/www/hooks/useActiveAnchors.tsx@@ -1,3 +1,5 @@+'use client'+import { useRouter } from 'next/router'import { useEffect, useRef } from 'react'import { isBrowser, stripEmojis } from '~/lib/helpers'diff --git a/apps/www/hooks/useDarkLaunchWeeks.tsx b/apps/www/hooks/useDarkLaunchWeeks.tsxindex 3d3a5486621..2717fb98298 100644--- a/apps/www/hooks/useDarkLaunchWeeks.tsx+++ b/apps/www/hooks/useDarkLaunchWeeks.tsx@@ -1,11 +1,13 @@-import { useRouter } from 'next/router'+'use client'++import { usePathname } from 'next/navigation'const useDarkLaunchWeeks = () => {- const { pathname } = useRouter()+ const pathname = usePathname()- const isLaunchWeek7 = pathname.startsWith('/launch-week/7')- const isLaunchWeek8 = pathname.startsWith('/launch-week/8')- const isLaunchWeekX = pathname.startsWith('/launch-week/x')+ const isLaunchWeek7 = pathname?.startsWith('/launch-week/7')+ const isLaunchWeek8 = pathname?.startsWith('/launch-week/8')+ const isLaunchWeekX = pathname?.startsWith('/launch-week/x')return isLaunchWeek7 || isLaunchWeek8 || isLaunchWeekX}diff --git a/apps/www/hooks/useDraftMode.ts b/apps/www/hooks/useDraftMode.tsnew file mode 100644index 00000000000..7dfb2a555ae--- /dev/null+++ b/apps/www/hooks/useDraftMode.ts@@ -0,0 +1,21 @@+'use client'++import { useEffect, useState } from 'react'++/**+ * Hook to detect if the user is in Next.js Draft Mode+ * Checks for the __prerender_bypass cookie that Next.js sets when draft mode is enabled+ */+export function useDraftMode() {+ const [isDraftMode, setIsDraftMode] = useState(false)++ useEffect(() => {+ // Check if we're in the browser and if the draft mode cookie exists+ if (typeof window !== 'undefined') {+ const hasDraftCookie = document.cookie.includes('__prerender_bypass')+ setIsDraftMode(hasDraftCookie)+ }+ }, [])++ return isDraftMode+}diff --git a/apps/www/hooks/useParams.ts b/apps/www/hooks/useParams.tsindex cac30143bd9..af3669311ac 100644--- a/apps/www/hooks/useParams.ts+++ b/apps/www/hooks/useParams.ts@@ -1,3 +1,5 @@+'use client'+import { useRouter } from 'next/router'import { useMemo } from 'react'diff --git a/apps/www/internals/generate-sitemap.mjs b/apps/www/internals/generate-sitemap.mjsindex 4e3131c8a88..3ae050c7fe3 100644--- a/apps/www/internals/generate-sitemap.mjs+++ b/apps/www/internals/generate-sitemap.mjs@@ -7,6 +7,58 @@ import prettier from 'prettier'* https://leerob.io/blog/nextjs-sitemap-robots*/+// Constants for CMS integration+const CMS_SITE_ORIGIN =+ process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'+ ? 'https://supabase.com'+ : process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL &&+ typeof process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL === 'string'+ ? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL?.replace('zone-www-dot-com-git-', 'cms-git-')}`+ : 'http://localhost:3030'+const CMS_API_KEY = process.env.CMS_API_KEY++/**+ * Get CMS blog posts for sitemap+ */+const getCMSBlogPosts = async () => {+ try {+ const response = await fetch(+ `${CMS_SITE_ORIGIN}/api/posts?depth=0&draft=false&where[_status][equals]=published&limit=1000`,+ {+ headers: {+ 'Content-Type': 'application/json',+ ...(CMS_API_KEY && { Authorization: `Bearer ${CMS_API_KEY}` }),+ },+ }+ )++ if (!response.ok) {+ console.warn(`[getCMSBlogPosts] HTTP error! status: ${response.status}`)+ return []+ }++ const contentType = response.headers.get('content-type') || ''+ if (!contentType.toLowerCase().includes('application/json')) {+ console.warn(`[getCMSBlogPosts] Non-JSON response from CMS`)+ return []+ }++ const data = await response.json()++ const posts = data.docs+ .filter((post) => post.slug && post.title && post._status === 'published')+ .map((post) => ({+ slug: post.slug,+ updatedAt: post.updatedAt || new Date().toISOString(),+ }))++ return posts+ } catch (error) {+ console.warn('Error fetching CMS blog posts for sitemap:', error)+ return []+ }+}+async function generate() {const prettierConfig = await prettier.resolveConfig('./.prettierrc.js')@@ -33,94 +85,114 @@ async function generate() {const pages = unsortedPages.sort((a, b) => a.localeCompare(b))+ // Fetch CMS blog posts+ const cmsBlogPosts = await getCMSBlogPosts()+ console.log(`Found ${cmsBlogPosts.length} CMS blog posts for sitemap`)+const blogUrl = 'blog'const caseStudiesUrl = 'case-studies'const customerStoriesUrl = 'customers'const eventsUrl = 'events'+ // Generate URLs for static pages+ const staticUrls = pages+ .map((page) => {+ const path = page+ .replace('.next/server/pages', '')+ .replace('pages', '')+ .replace('.html', '')+ // add a `/` for blog posts+ .replace('_blog', `/${blogUrl}`)+ .replace('_case-studies', `/${caseStudiesUrl}`)+ .replace('_customers', `/${customerStoriesUrl}`)+ .replace('_events', `/${eventsUrl}`)+ .replace('_alternatives', '/alternatives')+ .replace('.tsx', '')+ .replace('.mdx', '')+ // replace /{directory}/index with /{directory}+ .replace(/\/([^\/]+)\/index/, '/$1')++ let route = path === '/index' ? '' : path++ if (route === '/alternatives/[slug]') return null+ if (route === '/partners/[slug]') return null+ if (route === '/case-studies/[slug]') return null+ if (route === '/customers/[slug]') return null+ if (route === '/events/[slug]') return null+ if (route === '/features/[slug]') return null+ if (route === '/blog/categories/[category]') return null+ if (route === '/partners/experts/[slug]') return null+ if (route === '/partners/integrations/[slug]') return null+ if (route === '/launch-week/ticket-image') return null+ if (route === '/launch-week/tickets/[username]') return null++ /**+ * Blog based urls+ * handle removal of dates in filename+ */+ if (route.includes(`/${blogUrl}/`)) {+ /**+ * remove directory from route+ */+ const _route = route.replace(`/${blogUrl}/`, '')+ /**+ * remove the date from the file name+ */+ const substring = _route.substring(11)+ /**+ * reconsruct the route+ */+ route = `/${blogUrl}/` + substring+ }++ /**+ * Event based urls+ * handle removal of dates in filename+ */+ if (route.includes(`/${eventsUrl}/`)) {+ // remove finelnames with __+ if (route.includes(`__`)) return null+ /**+ * remove directory from route+ */+ const _route = route.replace(`/${eventsUrl}/`, '')+ /**+ * remove the date from the file name+ */+ const substring = _route.substring(11)+ /**+ * reconsruct the route+ */+ route = `/${eventsUrl}/` + substring+ }++ return `+ <url>+ <loc>${`https://supabase.com${route}`}</loc>+ <changefreq>weekly</changefreq>+ <priority>0.5</priority>+ </url>+ `+ })+ .filter(Boolean)++ // Generate URLs for CMS blog posts+ const cmsBlogUrls = cmsBlogPosts.map((post) => {+ const lastmod = new Date(post.updatedAt).toISOString().split('T')[0]+ return `+ <url>+ <loc>https://supabase.com/blog/${post.slug}</loc>+ <lastmod>${lastmod}</lastmod>+ <changefreq>weekly</changefreq>+ <priority>0.7</priority>+ </url>+ `+ })+const sitemap = `<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">- ${pages- .map((page) => {- const path = page- .replace('.next/server/pages', '')- .replace('pages', '')- .replace('.html', '')- // add a `/` for blog posts- .replace('_blog', `/${blogUrl}`)- .replace('_case-studies', `/${caseStudiesUrl}`)- .replace('_customers', `/${customerStoriesUrl}`)- .replace('_events', `/${eventsUrl}`)- .replace('_alternatives', '/alternatives')- .replace('.tsx', '')- .replace('.mdx', '')- // replace /{directory}/index with /{directory}- .replace(/\/([^\/]+)\/index/, '/$1')-- let route = path === '/index' ? '' : path-- if (route === '/alternatives/[slug]') return null- if (route === '/partners/[slug]') return null- if (route === '/case-studies/[slug]') return null- if (route === '/customers/[slug]') return null- if (route === '/events/[slug]') return null- if (route === '/features/[slug]') return null- if (route === '/blog/categories/[category]') return null- if (route === '/partners/experts/[slug]') return null- if (route === '/partners/integrations/[slug]') return null- if (route === '/launch-week/ticket-image') return null- if (route === '/launch-week/tickets/[username]') return null-- /**- * Blog based urls- * handle removal of dates in filename- */- if (route.includes(`/${blogUrl}/`)) {- /**- * remove directory from route- */- const _route = route.replace(`/${blogUrl}/`, '')- /**- * remove the date from the file name- */- const substring = _route.substring(11)- /**- * reconsruct the route- */- route = `/${blogUrl}/` + substring- }-- /**- * Event based urls- * handle removal of dates in filename- */- if (route.includes(`/${eventsUrl}/`)) {- // remove finelnames with __- if (route.includes(`__`)) return null- /**- * remove directory from route- */- const _route = route.replace(`/${eventsUrl}/`, '')- /**- * remove the date from the file name- */- const substring = _route.substring(11)- /**- * reconsruct the route- */- route = `/${eventsUrl}/` + substring- }-- return `- <url>- <loc>${`https://supabase.com${route}`}</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>- `- })- .join('')}+ ${[...staticUrls, ...cmsBlogUrls].join('')}</urlset>`diff --git a/apps/www/lib/cms/README.md b/apps/www/lib/cms/README.mdnew file mode 100644index 00000000000..0d189c17ba9--- /dev/null+++ b/apps/www/lib/cms/README.md@@ -0,0 +1,85 @@+# CMS Block Integration++This directory contains utilities for integrating PayloadCMS custom blocks with the www marketing site blog.++## Overview++PayloadCMS blog posts can contain custom blocks (Banner, MediaBlock, Code, Quote, YouTube) in addition to regular text content. This integration converts those blocks into the existing markdown/MDX syntax that the www blog already understands, ensuring seamless compatibility.++## Components++### convertRichTextToMarkdown.ts++Enhanced conversion utilities:++- `convertRichTextToMarkdownWithBlocks()` - Converts PayloadCMS rich text to markdown using existing www syntax+- `convertRichTextToMarkdown()` - Legacy function for backward compatibility++### processCMSContent.ts++Main processor that:++1. Converts PayloadCMS rich text to markdown using existing www component syntax+2. Generates table of contents from the converted content+3. Serializes content for MDX rendering++## Usage++### In Blog Pages++```typescript+import { processCMSContent } from '~/lib/cms/processCMSContent'++// Process CMS content - blocks are converted to existing www syntax+const processedContent = await processCMSContent(cmsPost.content, tocDepth)++// Use in blog data+const blogData = {+ ...cmsPost,+ content: processedContent.content, // MDX with existing www components+ toc: processedContent.toc,+}+```++### Block Conversion Examples++PayloadCMS blocks are automatically converted to existing www markdown syntax:++````typescript+// PayloadCMS MediaBlock becomes:+'<Img alt="Description" src="/uploads/image.jpg" />'++// PayloadCMS Code block becomes:+'```typescript\nconst example = "Hello world"\n```'++// PayloadCMS Quote block becomes:+'<Quote img="avatar.jpg" caption="Author Name">\n\nQuote text here\n\n</Quote>'++// PayloadCMS YouTube block becomes:+'<div className="video-container">\n <iframe src="..." />\n</div>'++// PayloadCMS Banner block becomes:+'<Admonition type="note">\n\nBanner content\n\n</Admonition>'+````++## Block Type Mapping++| PayloadCMS Block | WWW Syntax | Notes |+| ---------------- | ----------------------------------- | ------------------------------------------------------------------------- |+| `banner` | `<Admonition>` | Style mapped: info→note, warning→warning, error→destructive, success→note |+| `mediaBlock` | `<Img>` | Handles CMS image URLs and captions |+| `code` | `code` | Standard markdown code blocks with language syntax highlighting |+| `quote` | `<Quote>` | Avatar image and caption support |+| `youtube` | `<div className="video-container">` | Wrapped iframe with expected styling |++## Environment Variables++- `NEXT_PUBLIC_CMS_SITE_ORIGIN` - Used for resolving relative CMS image URLs++## Integration Points++1. **apps/www/app/blog/[slug]/page.tsx** - Uses `processCMSContent()` to convert CMS content+2. **apps/www/app/blog/[slug]/BlogPostClient.tsx** - Handles live preview with block conversion+3. **apps/www/lib/get-cms-posts.tsx** - Uses shared conversion utilities for consistent processing++This system allows PayloadCMS editors to use rich blocks while maintaining 100% compatibility with the existing MDX-based blog rendering system. No new components or special handling is required - blocks are seamlessly converted to the markdown/MDX syntax that www already understands.diff --git a/apps/www/lib/cms/convertRichTextToMarkdown.ts b/apps/www/lib/cms/convertRichTextToMarkdown.tsnew file mode 100644index 00000000000..6b8fb206af9--- /dev/null+++ b/apps/www/lib/cms/convertRichTextToMarkdown.ts@@ -0,0 +1,270 @@+import { CMS_SITE_ORIGIN } from '../constants'++// Define minimal block structure for compatibility+type CMSBlock = {+ blockType: string+ [key: string]: any+}++/**+ * Enhanced convert function that handles both text nodes and custom blocks+ * Converts CMS blocks into existing www markdown syntax+ */+export function convertRichTextToMarkdownWithBlocks(content: any): {+ markdown: string+ blocks: CMSBlock[]+} {+ if (!content?.root?.children) return { markdown: '', blocks: [] }++ const blocks: CMSBlock[] = []++ const markdown = content.root.children+ .map((node: any) => {+ // Handle basic text nodes+ if (node.type === 'heading') {+ const level = node.tag && typeof node.tag === 'string' ? node.tag.replace('h', '') : '1'+ const text = node.children?.map((child: any) => child.text).join('') || ''+ return `${'#'.repeat(Number(level))} ${text}`+ }++ if (node.type === 'paragraph') {+ return node.children?.map((child: any) => child.text).join('') || ''+ }++ if (node.type === 'list') {+ const items = node.children+ ?.map((item: any) => {+ if (item.type === 'list-item') {+ return `- ${item.children?.map((child: any) => child.text).join('') || ''}`+ }+ return ''+ })+ .filter(Boolean)+ .join('\n')+ return items+ }++ if (node.type === 'link') {+ const text = node.children?.map((child: any) => child.text).join('') || ''+ const url = node.url || ''+ return `[${text}](${url})`+ }++ // Handle custom blocks - convert to existing www markdown syntax+ if (node.type === 'block') {+ const blockType = node.fields?.blockType++ switch (blockType) {+ case 'banner': {+ // Convert banner to Admonition+ const style = node.fields.style || 'info'+ const content = extractTextFromField(node.fields.content)+ const typeMap = {+ info: 'note',+ warning: 'warning',+ error: 'destructive',+ success: 'note',+ } as const+ return `<Admonition type="${typeMap[style as keyof typeof typeMap] || 'note'}">\n\n${content}\n\n</Admonition>`+ }++ case 'mediaBlock': {+ // Convert mediaBlock to Img component+ const media = node.fields.media+ if (typeof media === 'object' && media.url) {+ const imageUrl = `${CMS_SITE_ORIGIN}${media.url}` // Coming from the CMS app+ const alt = extractTextFromField(media.alt)+ const caption = extractTextFromField(media.caption)++ let imgComponent = ''++ if (caption) {+ imgComponent = `<Img alt="${alt}" src="${imageUrl}" caption="${caption}" />`+ } else {+ imgComponent = `<Img alt="${alt}" src="${imageUrl}" />`+ }++ return imgComponent+ }+ return ''+ }++ case 'code': {+ // Convert code block to markdown code block+ const language = node.fields.language || 'text'+ const code = node.fields.code || ''+ return `\`\`\`${language}\n${code}\n\`\`\``+ }++ case 'quote': {+ // Convert quote to Quote component+ const text = extractTextFromField(node.fields.text)+ const caption = extractTextFromField(node.fields.caption)++ const img = node.fields.img++ let imgProp = ''+ if (typeof img === 'object' && img?.url) {+ const imageUrl = `${CMS_SITE_ORIGIN}${img.url}`++ imgProp = ` img="${imageUrl}"`+ }++ const captionProp = caption ? ` caption="${caption}"` : ''++ return `<Quote${imgProp}${captionProp}>\n${text}\n</Quote>`+ }++ case 'youtube': {+ // Convert YouTube to video-container div with iframe+ const youtubeId = node.fields.youtubeId || ''+ return `<div className="video-container">+ <iframe+ className="w-full"+ src="https://www.youtube-nocookie.com/embed/${youtubeId}"+ title="YouTube video player"+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share"+ allowfullscreen+ />+</div>`+ }++ default:+ console.warn('Unknown block type:', blockType)+ return ''+ }+ }++ return ''+ })+ .filter(Boolean)+ .join('\n\n')++ return { markdown, blocks }+}++/**+ * Helper function to extract text from either a string or rich text object+ */+function extractTextFromField(field: any): string {+ if (!field) return ''++ if (typeof field === 'string') {+ return field+ }++ if (typeof field === 'object') {+ return convertSimpleRichTextToPlainText(field)+ }++ return ''+}++/**+ * Convert simple rich text content to plain text (for banner content)+ */+function convertSimpleRichTextToPlainText(content: any): string {+ if (!content?.root?.children) return ''++ return content.root.children+ .map((node: any) => {+ if (node.type === 'paragraph') {+ return node.children?.map((child: any) => child.text).join('') || ''+ }++ if (node.type === 'heading') {+ const text = node.children?.map((child: any) => child.text).join('') || ''+ return text+ }++ return ''+ })+ .filter(Boolean)+ .join('\n\n')+}++/**+ * Convert simple rich text content (like banner content) to HTML+ */+function convertSimpleRichTextToHTML(content: any): string {+ if (!content?.root?.children) return ''++ return content.root.children+ .map((node: any) => {+ if (node.type === 'paragraph') {+ const text =+ node.children+ ?.map((child: any) => {+ if (child.bold) return `<strong>${child.text}</strong>`+ if (child.italic) return `<em>${child.text}</em>`+ if (child.code) return `<code>${child.text}</code>`+ return child.text+ })+ .join('') || ''+ return `<p>${text}</p>`+ }++ if (node.type === 'heading') {+ const level = node.tag && typeof node.tag === 'string' ? node.tag.replace('h', '') : '2'+ const text = node.children?.map((child: any) => child.text).join('') || ''+ return `<h${level}>${text}</h${level}>`+ }++ return ''+ })+ .filter(Boolean)+ .join('')+}++/**+ * Legacy function for backward compatibility - converts to plain markdown without blocks+ */+export function convertRichTextToMarkdown(content: any): string {+ if (!content?.root?.children) return ''++ return content.root.children+ .map((node: any) => {+ if (node.type === 'heading') {+ const level = node.tag && typeof node.tag === 'string' ? node.tag.replace('h', '') : '1'+ const text = node.children?.map((child: any) => child.text).join('') || ''+ return `${'#'.repeat(Number(level))} ${text}`+ }+ if (node.type === 'paragraph') {+ return node.children?.map((child: any) => child.text).join('') || ''+ }+ if (node.type === 'list') {+ const items = node.children+ ?.map((item: any) => {+ if (item.type === 'list-item') {+ return `- ${item.children?.map((child: any) => child.text).join('') || ''}`+ }+ return ''+ })+ .filter(Boolean)+ .join('\n')+ return items+ }+ if (node.type === 'link') {+ const text = node.children?.map((child: any) => child.text).join('') || ''+ const url = node.url || ''+ return `[${text}](${url})`+ }++ // For blocks, just return placeholder text for TOC generation+ if (node.type === 'block') {+ const blockType = node.fields?.blockType+ switch (blockType) {+ case 'code':+ return `\`\`\`${node.fields.language || ''}\n${node.fields.code || ''}\n\`\`\``+ case 'quote':+ return `> ${node.fields.text || ''}`+ default:+ return ''+ }+ }++ return ''+ })+ .filter(Boolean)+ .join('\n\n')+}diff --git a/apps/www/lib/cms/processCMSContent.ts b/apps/www/lib/cms/processCMSContent.tsnew file mode 100644index 00000000000..06526429be7--- /dev/null+++ b/apps/www/lib/cms/processCMSContent.ts@@ -0,0 +1,82 @@+import { MDXRemoteSerializeResult } from 'next-mdx-remote'+import {+ convertRichTextToMarkdownWithBlocks,+ convertRichTextToMarkdown,+} from './convertRichTextToMarkdown'+import { generateTocFromMarkdown } from '~/lib/toc'+import { mdxSerialize } from '~/lib/mdx/mdxSerialize'+// Define minimal block structure for compatibility+type CMSBlock = {+ blockType: string+ [key: string]: any+}++export interface ProcessedCMSContent {+ content: MDXRemoteSerializeResult+ blocks: CMSBlock[]+ toc: { content: string; json: any[] }+ plainMarkdown: string+}++/**+ * Process PayloadCMS rich text content for use in the www blog+ * This function handles both basic content and custom blocks+ */+export async function processCMSContent(+ richTextContent: any,+ tocDepth: number = 3+): Promise<ProcessedCMSContent> {+ try {+ // Convert rich text to markdown with blocks converted to existing www syntax+ const { markdown, blocks } = convertRichTextToMarkdownWithBlocks(richTextContent)++ // Generate TOC from the converted markdown+ const toc = await generateTocFromMarkdown(markdown, tocDepth)++ // Serialize the markdown for MDX (blocks are now converted to existing components)+ const mdxContent = await mdxSerialize(markdown, { tocDepth })++ return {+ content: mdxContent,+ blocks,+ toc,+ plainMarkdown: markdown,+ }+ } catch (error) {+ console.error('Error processing CMS content:', error)++ // Fallback to basic conversion+ const plainMarkdown = convertRichTextToMarkdown(richTextContent)+ const toc = await generateTocFromMarkdown(plainMarkdown, tocDepth)+ const mdxContent = await mdxSerialize(plainMarkdown, { tocDepth })++ return {+ content: mdxContent,+ blocks: [],+ toc,+ plainMarkdown,+ }+ }+}++/**+ * Legacy function for processing content without blocks (for backward compatibility)+ */+export async function processCMSContentLegacy(+ richTextContent: any,+ tocDepth: number = 3+): Promise<{+ content: MDXRemoteSerializeResult+ toc: { content: string; json: any[] }+ plainMarkdown: string+}> {+ const plainMarkdown = convertRichTextToMarkdown(richTextContent)+ const toc = await generateTocFromMarkdown(plainMarkdown, tocDepth)+ const mdxContent = await mdxSerialize(plainMarkdown, { tocDepth })++ return {+ content: mdxContent,+ toc,+ plainMarkdown,+ }+}diff --git a/apps/www/lib/constants.ts b/apps/www/lib/constants.tsindex ae20767f23c..b77ad67d3ea 100644--- a/apps/www/lib/constants.ts+++ b/apps/www/lib/constants.ts@@ -32,6 +32,15 @@ export const SITE_ORIGIN =? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL}`: 'http://localhost:3000'+export const CMS_SITE_ORIGIN =+ process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'+ ? // In production, require env or fall back to localhost to avoid hitting supabase.com+ 'http://localhost:3030'+ : process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL &&+ typeof process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL === 'string'+ ? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL.replace('zone-www-dot-com-git-', 'cms-git-')}`+ : 'http://localhost:3030'+export const LW_URL = `${SITE_ORIGIN}/launch-week`export const LW12_DATE = 'August 12-16 / 7am PT'@@ -54,3 +63,5 @@ export const LW15_TWEET_TEXT =export const LW15_URL = `${SITE_ORIGIN}/launch-week`export const SITE_NAME = 'Supabase'++export const BASE_PATH = process.env.NEXT_PUBLIC_BASE_PATH ?? ''diff --git a/apps/www/lib/get-cms-posts.tsx b/apps/www/lib/get-cms-posts.tsxnew file mode 100644index 00000000000..6507b71dd27--- /dev/null+++ b/apps/www/lib/get-cms-posts.tsx@@ -0,0 +1,596 @@+import { CMS_SITE_ORIGIN } from './constants'+import { generateReadingTime } from './helpers'+import { generateTocFromMarkdown } from './toc'+import { convertRichTextToMarkdown } from './cms/convertRichTextToMarkdown'++// Payload API configuration+const PAYLOAD_URL = CMS_SITE_ORIGIN || 'http://localhost:3030'+const CMS_API_KEY = process.env.CMS_API_KEY++type CMSBlogPost = {+ id: string+ title: string+ slug: string+ description: string+ content: {+ root: {+ children: Array<{+ type: string+ children: Array<{+ text: string+ type: string+ [key: string]: any+ }>+ [key: string]: any+ }>+ }+ }+ date?: string+ launchweek?: string+ toc_depth?: number+ readingTime?: number+ categories?: string[]+ tags?: string[]+ industry?: string[]+ supabase_products?: string[]+ company_size?: string+ region?: string+ logo?: string+ logo_inverse?: string+ thumb?: {+ url: string+ }+ createdAt: string+ updatedAt: string+ authors?: {+ author: string+ author_id: string+ position: string+ author_url: string+ author_image_url: {+ url: string+ }+ username: string+ }[]+ meta?: {+ title?: string | null+ image?: (number | string | null) | Media+ description?: string | null+ }+}++/**+ * This interface was referenced by `Config`'s JSON-Schema+ * via the `definition` "media".+ */+export interface Media {+ id: number+ alt?: string | null+ caption?: {+ root: {+ type: string+ children: {+ type: string+ version: number+ [k: string]: unknown+ }[]+ direction: ('ltr' | 'rtl') | null+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | ''+ indent: number+ version: number+ }+ [k: string]: unknown+ } | null+ prefix?: string | null+ updatedAt: string+ createdAt: string+ url?: string | null+ thumbnailURL?: string | null+ filename?: string | null+ mimeType?: string | null+ filesize?: number | null+ width?: number | null+ height?: number | null+ focalX?: number | null+ focalY?: number | null+ sizes?: {+ thumbnail?: {+ url?: string | null+ width?: number | null+ height?: number | null+ mimeType?: string | null+ filesize?: number | null+ filename?: string | null+ }+ square?: {+ url?: string | null+ width?: number | null+ height?: number | null+ mimeType?: string | null+ filesize?: number | null+ filename?: string | null+ }+ small?: {+ url?: string | null+ width?: number | null+ height?: number | null+ mimeType?: string | null+ filesize?: number | null+ filename?: string | null+ }+ medium?: {+ url?: string | null+ width?: number | null+ height?: number | null+ mimeType?: string | null+ filesize?: number | null+ filename?: string | null+ }+ large?: {+ url?: string | null+ width?: number | null+ height?: number | null+ mimeType?: string | null+ filesize?: number | null+ filename?: string | null+ }+ xlarge?: {+ url?: string | null+ width?: number | null+ height?: number | null+ mimeType?: string | null+ filesize?: number | null+ filename?: string | null+ }+ og?: {+ url?: string | null+ width?: number | null+ height?: number | null+ mimeType?: string | null+ filesize?: number | null+ filename?: string | null+ }+ }+}++type ProcessedPost = {+ slug: string+ title: string+ description: string+ date: string+ formattedDate: string+ readingTime: string+ industry?: string[]+ supabase_products?: string[]+ company_size?: string+ region?: string+ logo?: string+ logo_inverse?: string+ authors: Array<{+ author: string+ author_id: string+ position: string+ author_url: string+ author_image_url: string | null+ username: string+ }>+ toc_depth: number+ thumb: string | null+ url: string+ path: string+ isCMS: boolean+ tags: string[]+ content: string+ meta?: {+ title?: string | null+ image?: (number | string | null) | Media+ description?: string | null+ }+}++/**+ * Fetch all blog post slugs from the CMS+ */+export async function getAllCMSPostSlugs() {+ try {+ const response = await fetch(+ `${PAYLOAD_URL}/api/posts?limit=100&depth=1&draft=false&where[_status][equals]=published`,+ {+ headers: {+ 'Content-Type': 'application/json',+ ...(CMS_API_KEY && { Authorization: `Bearer ${CMS_API_KEY}` }),+ },+ }+ )++ if (!response.ok) {+ throw new Error(`HTTP error! status: ${response.status}`)+ }++ const contentType = response.headers.get('content-type') || ''+ if (!contentType.toLowerCase().includes('application/json')) {+ const body = await response.text()+ console.warn(+ `[getAllCMSPostSlugs] Non-JSON response from ${PAYLOAD_URL}/api/posts (content-type: '${contentType}'). Returning empty slugs. Body (truncated): ${body.slice(+ 0,+ 200+ )}`+ )+ return []+ }+ const data = await response.json()+ // console.log(+ // '[getAllCMSPostSlugs] Found posts:',+ // data.docs.map((post: any) => ({+ // id: post.id,+ // title: post.title,+ // slug: post.slug,+ // status: post._status,+ // }))+ // )++ return data.docs+ .filter((post: CMSBlogPost) => post.slug) // Filter out posts with null/undefined slugs+ .map((post: CMSBlogPost) => ({+ params: {+ slug: post.slug,+ },+ }))+ } catch (_error) {+ // don't console error to avoid noise if env vars not set+ return []+ }+}++/**+ * Fetch a single blog post from the CMS by slug+ */+export async function getCMSPostBySlug(slug: string, preview = false) {+ // console.log(+ // `[getCMSPostBySlug] Fetching post '${slug}', preview: ${preview}, from ${PAYLOAD_URL}`+ // )++ try {+ let url: string+ let response: Response++ if (!preview) {+ // For published posts, try to get the latest published version using versions API+ const versionsUrl = `${PAYLOAD_URL}/api/posts/versions?where[version.slug][equals]=${slug}&where[version._status][equals]=published&sort=-updatedAt&limit=1&depth=2`++ response = await fetch(versionsUrl, {+ headers: {+ 'Content-Type': 'application/json',+ ...(CMS_API_KEY && { Authorization: `Bearer ${CMS_API_KEY}` }),+ },+ // For published posts: allow static generation with revalidation+ next: { revalidate: 60 }, // 1 minute+ })++ if (response.ok) {+ const versionsData = await response.json()+ if (versionsData.docs && versionsData.docs.length > 0) {+ const latestPublishedVersion = versionsData.docs[0].version+ if (latestPublishedVersion) {+ return processPostData(latestPublishedVersion)+ }+ }+ }+ }++ // Fallback to regular API (for preview mode or if versions API fails)+ if (preview) {+ // In preview mode, always try to get the latest draft first+ url = `${PAYLOAD_URL}/api/posts?where[slug][equals]=${slug}&depth=2&draft=true`++ response = await fetch(url, {+ headers: {+ 'Content-Type': 'application/json',+ ...(CMS_API_KEY && { Authorization: `Bearer ${CMS_API_KEY}` }),+ },+ cache: 'no-store',+ next: { revalidate: 0 },+ })++ // If no draft found, try published version+ if (!response.ok || (await response.clone().json()).docs?.length === 0) {+ url = `${PAYLOAD_URL}/api/posts?where[slug][equals]=${slug}&depth=2&draft=false`+ response = await fetch(url, {+ headers: {+ 'Content-Type': 'application/json',+ ...(CMS_API_KEY && { Authorization: `Bearer ${CMS_API_KEY}` }),+ },+ cache: 'no-store',+ next: { revalidate: 0 },+ })+ }+ } else {+ // For non-preview mode, get published version+ url = `${PAYLOAD_URL}/api/posts?where[slug][equals]=${slug}&depth=2&draft=false`++ response = await fetch(url, {+ headers: {+ 'Content-Type': 'application/json',+ ...(CMS_API_KEY && { Authorization: `Bearer ${CMS_API_KEY}` }),+ },+ // For published posts: allow static generation with revalidation+ next: { revalidate: 60 }, // 1 minute+ })+ }++ if (!response.ok) {+ console.error(`[getCMSPostBySlug] HTTP error: ${response.status} ${response.statusText}`)+ const errorText = await response.text()+ console.error(`[getCMSPostBySlug] Error response body:`, errorText)+ throw new Error(`HTTP error! status: ${response.status}`)+ }++ const contentType = response.headers.get('content-type') || ''+ if (!contentType.toLowerCase().includes('application/json')) {+ const body = await response.text()+ console.warn(+ `[getCMSPostBySlug] Non-JSON response from ${url} (content-type: '${contentType}'). Returning null. Body (truncated): ${body.slice(+ 0,+ 200+ )}`+ )+ return null+ }+ const data = await response.json()++ if (!data.docs.length && !preview) {+ return null+ }++ // If we're in preview mode and there's no draft, try to get the published version+ if (!data.docs.length && preview) {+ const publishedUrl = `${PAYLOAD_URL}/api/posts?where[slug][equals]=${slug}&depth=2`++ const publishedResponse = await fetch(publishedUrl, {+ headers: {+ 'Content-Type': 'application/json',+ ...(CMS_API_KEY && { Authorization: `Bearer ${CMS_API_KEY}` }),+ },+ })++ if (!publishedResponse.ok) {+ console.error(+ `[getCMSPostBySlug] HTTP error for published version: ${publishedResponse.status}`+ )+ throw new Error(`HTTP error! status: ${publishedResponse.status}`)+ }++ const publishedContentType = publishedResponse.headers.get('content-type') || ''+ if (!publishedContentType.toLowerCase().includes('application/json')) {+ const body = await publishedResponse.text()+ console.warn(+ `[getCMSPostBySlug] Non-JSON response from ${publishedUrl} (content-type: '${publishedContentType}'). Returning null. Body (truncated): ${body.slice(+ 0,+ 200+ )}`+ )+ return null+ }+ const publishedData = await publishedResponse.json()++ if (!publishedData.docs.length) {+ return null+ }++ return processPostData(publishedData.docs[0])+ }++ // If we have a post (either draft or published), process it+ const post = data.docs[0]++ try {+ const processedPost = await processPostData(post)++ return processedPost+ } catch (error) {+ console.error(`[getCMSPostBySlug] Error in processPostData:`, error)+ return null+ }+ } catch (error) {+ console.error('Error fetching CMS post by slug:', error)+ return null+ }+}++// Helper function to process post data+async function processPostData(post: any) {+ try {+ const options: Intl.DateTimeFormatOptions = { month: 'long', day: 'numeric', year: 'numeric' }+ const formattedDate = new Date(post.date || new Date()).toLocaleDateString('en-IN', options)++ const markdownContent = convertRichTextToMarkdown(post.content)++ const readingTime = post.readingTime || generateReadingTime(markdownContent)++ // Generate TOC from content for CMS blog posts+ const tocResult = await generateTocFromMarkdown(+ markdownContent,+ post.toc_depth ? post.toc_depth : 3+ )++ // Extract thumb and image URLs from the nested structure+ const thumbUrl = post.thumb?.url+ ? typeof post.thumb.url === 'string' && post.thumb.url.includes('http')+ ? post.thumb.url+ : `${PAYLOAD_URL}${post.thumb.url}`+ : null+ const imageUrl = post.meta?.image+ ? typeof post.meta?.image === 'string' && post.meta?.image.includes('http')+ ? post.meta?.image+ : `${PAYLOAD_URL}${post.meta?.image}`+ : thumbUrl++ const processedData = {+ slug: post.slug,+ source: markdownContent,+ title: post.title || 'Untitled Post',+ date: post.date || new Date().toISOString(),+ formattedDate,+ readingTime,+ launchweek: post.launchweek || null,+ authors:+ post.authors?.map((author: any) => ({+ author: author.author || 'Unknown Author',+ author_id: author.author_id || '',+ position: author.position || '',+ author_url: author.author_url || '#',+ author_image_url: author.author_image_url?.url+ ? typeof author.author_image_url.url === 'string' &&+ author.author_image_url.url.includes('http')+ ? author.author_image_url?.url+ : `${PAYLOAD_URL}${author.author_image_url.url}`+ : null,+ username: author.username || '',+ })) || [],+ toc_depth: post.toc_depth || 3,+ thumb: thumbUrl,+ image: imageUrl,+ url: `/blog/${post.slug}`,+ path: `/blog/${post.slug}`,+ isCMS: true,+ content: markdownContent,+ richContent: post.content,+ categories: post.categories?.map((category: any) => category.name) || [],+ tags: post.tags || [],+ toc: {+ content: tocResult.content,+ json: tocResult.json,+ },+ }++ return processedData+ } catch (error) {+ console.error(`[processPostData] Error processing post data:`, error)+ throw error+ }+}++/**+ * Fetch all blog posts from the CMS+ */+export async function getAllCMSPosts({+ limit,+ tags,+ currentPostSlug,+}: {+ limit?: number+ tags?: string[]+ currentPostSlug?: string+} = {}): Promise<ProcessedPost[]> {+ try {+ const response = await fetch(+ `${PAYLOAD_URL}/api/posts?depth=2&draft=false&where[_status][equals]=published`,+ {+ headers: {+ 'Content-Type': 'application/json',+ ...(CMS_API_KEY && { Authorization: `Bearer ${CMS_API_KEY}` }),+ },+ cache: 'no-store', // Ensure we always get fresh data+ next: { revalidate: 0 }, // Disable caching for this fetch+ }+ )++ if (!response.ok) {+ throw new Error(`HTTP error! status: ${response.status}`)+ }++ const contentType = response.headers.get('content-type') || ''+ if (!contentType.toLowerCase().includes('application/json')) {+ const body = await response.text()+ console.warn(+ `[getAllCMSPosts] Non-JSON response from ${PAYLOAD_URL}/api/posts (content-type: '${contentType}'). Returning empty posts. Body (truncated): ${body.slice(+ 0,+ 200+ )}`+ )+ return []+ }+ const data = await response.json()++ let posts = data.docs+ .filter((post: CMSBlogPost) => post.slug !== currentPostSlug)+ .map((post: CMSBlogPost) => {+ const options: Intl.DateTimeFormatOptions = {+ month: 'long',+ day: 'numeric',+ year: 'numeric',+ }+ const formattedDate = new Date(post.date || new Date()).toLocaleDateString('en-IN', options)+ const markdownContent = convertRichTextToMarkdown(post.content)+ const readingTime = post.readingTime || generateReadingTime(markdownContent)++ // Extract thumb and image URLs from the nested structure (handle absolute and relative)+ const thumbUrl = post.thumb?.url+ ? typeof post.thumb.url === 'string' && post.thumb.url.includes('http')+ ? post.thumb.url+ : `${PAYLOAD_URL}${post.thumb.url}`+ : null+ const imageUrl = post.meta?.image+ ? typeof post.meta?.image === 'string' && post.meta?.image.includes('http')+ ? post.meta?.image+ : `${PAYLOAD_URL}${post.meta?.image}`+ : thumbUrl++ return {+ slug: post.slug || '',+ title: post.title || '',+ description: post.description || '',+ date: post.date || new Date().toISOString(),+ formattedDate,+ readingTime,+ authors:+ post.authors?.map((author: any) => ({+ author: author.author || '',+ author_id: author.author_id || '',+ position: author.position || '',+ author_url: author.author_url || '#',+ author_image_url: author.author_image_url?.url+ ? typeof author.author_image_url.url === 'string' &&+ author.author_image_url.url.includes('http')+ ? author.author_image_url.url+ : `${PAYLOAD_URL}${author.author_image_url.url}`+ : null,+ username: author.username || '',+ })) || [],+ toc_depth: post.toc_depth || 3,+ thumb: thumbUrl,+ image: imageUrl,+ url: `/blog/${post.slug || ''}`,+ path: `/blog/${post.slug || ''}`,+ isCMS: true,+ categories: post.categories?.map((category: any) => category.name) || [],+ tags: post.tags || [],+ content: markdownContent,+ }+ })++ // Sort by date (newest first)+ posts = posts.sort(+ (a: ProcessedPost, b: ProcessedPost) =>+ new Date(b.date).getTime() - new Date(a.date).getTime()+ )++ // Filter by tags if provided+ if (tags && tags.length > 0) {+ posts = posts.filter((post: ProcessedPost) => {+ const found = tags.some((tag) => post.tags?.includes(tag))+ return found+ })+ }++ // Limit results if specified+ if (limit) {+ posts = posts.slice(0, limit)+ }++ return posts+ } catch (_error) {+ // don't console error to avoid noise if env vars not set+ return []+ }+}diff --git a/apps/www/lib/mdx/mdxSerialize.ts b/apps/www/lib/mdx/mdxSerialize.tsindex 89259c7c0a9..35a43940b50 100644--- a/apps/www/lib/mdx/mdxSerialize.ts+++ b/apps/www/lib/mdx/mdxSerialize.ts@@ -10,6 +10,11 @@ import codeHikeTheme from 'config/code-hike.theme.json' with { type: 'json' }// we need to fix this before running them through mdx// also checks for <br> and <hr>function addSelfClosingTags(htmlString: string): string {+ // Handle cases where htmlString might be undefined, null, or not a string+ if (!htmlString || typeof htmlString !== 'string') {+ return ''+ }+const modifiedHTML = htmlString.replace(/<img[^>]*>|<br[^>]*>|<hr[^>]*>/g, (match) => {if (match.endsWith('/>')) {return match@@ -21,7 +26,50 @@ function addSelfClosingTags(htmlString: string): string {return modifiedHTML}-export async function mdxSerialize(source: string) {+type TocItem = { content: string; slug: string; lvl: number }++function createRemarkCollectToc(maxDepth: number) {+ return function remarkCollectToc() {+ return function transformer(tree: any) {+ const items: TocItem[] = []++ const getText = (node: any): string => {+ if (!node) return ''+ if (node.type === 'text') return node.value || ''+ if (Array.isArray(node.children)) return node.children.map(getText).join('')+ return ''+ }++ const slugify = (input: string) =>+ input+ .trim()+ .toLowerCase()+ .replace(/[`~!@#$%^&*()+=|{}\[\]\\:";'<>?,./]+/g, '')+ .replace(/\s+/g, '-')++ const walk = (node: any) => {+ if (node.type === 'heading' && typeof node.depth === 'number') {+ if (node.depth <= maxDepth) {+ const text = getText(node)+ if (text) {+ items.push({ content: text, slug: slugify(text), lvl: node.depth })+ }+ }+ }+ if (node.children) {+ for (const child of node.children) walk(child)+ }+ }++ walk(tree)++ // Attach to tree data for retrieval post-serialize+ ;(tree.data || (tree.data = {})).__collectedToc = items+ }+ }+}++export async function mdxSerialize(source: string, options?: { tocDepth?: number }) {const formattedSource = addSelfClosingTags(source)const codeHikeOptions: CodeHikeConfig = {theme: codeHikeTheme,@@ -31,12 +79,29 @@ export async function mdxSerialize(source: string) {autoImport: false,}+ const tocDepth = options?.tocDepth ?? 2+ let collectedToc: TocItem[] = []+const mdxSource: any = await serialize(formattedSource, {scope: {chCodeConfig: codeHikeOptions,},mdxOptions: {- remarkPlugins: [[remarkCodeHike, codeHikeOptions], remarkGfm],+ remarkPlugins: [+ [remarkCodeHike, codeHikeOptions],+ remarkGfm,+ // Collect headings into a simple TOC structure+ function () {+ const plugin = createRemarkCollectToc(tocDepth)+ const transformer = (plugin as any)()+ return function (tree: any) {+ transformer(tree)+ if (tree?.data?.__collectedToc) {+ collectedToc = tree.data.__collectedToc as TocItem[]+ }+ }+ },+ ],rehypePlugins: [// @ts-ignorerehypeSlug, // add IDs to any h1-h6 tag that doesn't have one, using a slug made from its text@@ -44,5 +109,18 @@ export async function mdxSerialize(source: string) {},})+ // Expose TOC via scope for consumers (keeps function signature stable)+ const tocMarkdown = collectedToc+ .map((h) => `${' '.repeat(Math.max(0, h.lvl - 1))}- [${h.content}](#${h.slug})`)+ .join('\n')++ mdxSource.scope = {+ ...(mdxSource.scope || {}),+ toc: {+ content: tocMarkdown,+ json: collectedToc,+ },+ }+return mdxSource}diff --git a/apps/www/lib/posts.tsx b/apps/www/lib/posts.tsxindex b943dbca1ef..0da58e2d1ac 100644--- a/apps/www/lib/posts.tsx+++ b/apps/www/lib/posts.tsx@@ -2,7 +2,6 @@ import fs from 'fs'import path from 'path'import matter from 'gray-matter'import { generateReadingTime } from './helpers'-import { BlogPost } from '../.contentlayer/generated'type Directories = '_blog' | '_case-studies' | '_customers' | '_alternatives' | '_events'diff --git a/apps/www/lib/remotePatterns.js b/apps/www/lib/remotePatterns.jsindex 17a174cdbdd..85300ef1a1a 100644--- a/apps/www/lib/remotePatterns.js+++ b/apps/www/lib/remotePatterns.js@@ -1,3 +1,43 @@+const CMS_SITE_ORIGIN =+ process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'+ ? 'https://supabase.com'+ : process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL &&+ typeof process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL === 'string'+ ? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL?.replace('zone-www-dot-com-git-', 'cms-git-')}`+ : 'http://localhost:3030'++// Function to generate CMS remote patterns from CMS_SITE_ORIGIN+function generateCMSRemotePatterns() {+ const patterns = []++ try {+ const cmsUrl = new URL(CMS_SITE_ORIGIN)+ const cmsHostname = cmsUrl.hostname+ const cmsProtocol = cmsUrl.protocol?.replace(':', '')++ // Validate hostname+ if (!cmsHostname) {+ console.warn('[remotePatterns] Invalid hostname extracted from CMS_SITE_ORIGIN')+ return patterns+ }++ // Add patterns for the current CMS hostname+ const pathPatterns = ['/media/**', '/api/media/**', '/api/media/file/**']++ pathPatterns.forEach((pathname) => {+ patterns.push({+ protocol: cmsProtocol,+ hostname: cmsHostname,+ pathname,+ })+ })+ } catch (error) {+ console.warn(`[remotePatterns] Failed to parse CMS_SITE_ORIGIN: "${CMS_SITE_ORIGIN}"`, error)+ }++ return patterns+}+module.exports = [{protocol: 'https',@@ -5,6 +45,12 @@ module.exports = [port: '',pathname: '**',},+ {+ protocol: 'http',+ hostname: 'localhost',+ port: '3030',+ pathname: '**',+ },{protocol: 'https',hostname: 'avatars.githubusercontent.com',@@ -101,4 +147,6 @@ module.exports = [port: '',pathname: '/dms/image/**',},+ // Dynamically generated CMS patterns based on CMS_SITE_ORIGIN+ ...generateCMSRemotePatterns(),]diff --git a/apps/www/lib/static-content.ts b/apps/www/lib/static-content.tsnew file mode 100644index 00000000000..7fba53b9512--- /dev/null+++ b/apps/www/lib/static-content.ts@@ -0,0 +1,45 @@+export interface StaticContent {+ latestBlogPosts: Array<{+ title: string+ url: string+ description: string+ date: string+ formattedDate: string+ }>+ jobsCount: number+ githubStars: number+}++// Default values for client-side rendering+const defaultStaticContent: StaticContent = {+ latestBlogPosts: [],+ jobsCount: 0,+ githubStars: 0,+}++/**+ * Get latest blog posts from static content+ * Only works on server-side during build time+ */+export const getLatestBlogPosts = (): StaticContent['latestBlogPosts'] => {+ // Always return empty array for client-side usage+ return defaultStaticContent.latestBlogPosts+}++/**+ * Get jobs count from static content+ * Only works on server-side during build time+ */+export const getJobsCount = (): number => {+ // Always return default value for client-side usage+ return defaultStaticContent.jobsCount+}++/**+ * Get GitHub stars from static content+ * Only works on server-side during build time+ */+export const getGitHubStars = (): number => {+ // Always return default value for client-side usage+ return defaultStaticContent.githubStars+}diff --git a/apps/www/lib/telemetry.ts b/apps/www/lib/telemetry.tsindex fe5f38c7f2a..0e781bd5eed 100644--- a/apps/www/lib/telemetry.ts+++ b/apps/www/lib/telemetry.ts@@ -1,16 +1,19 @@+'use client'+import { sendTelemetryEvent } from 'common'-import { TelemetryEvent } from 'common/telemetry-constants'+import type { TelemetryEvent } from 'common/telemetry-constants'import { API_URL } from 'lib/constants'-import { useRouter } from 'next/router'-import { useCallback } from 'react'+import { usePathname, useSearchParams } from 'next/navigation'export function useSendTelemetryEvent() {- const router = useRouter()+ const pathname = usePathname()+ const searchParams = useSearchParams()++ return (event: TelemetryEvent) => {+ const url = new URL(API_URL ?? 'http://localhost:3000')+ url.pathname = pathname ?? ''+ url.search = searchParams?.toString() ?? ''- return useCallback(- (event: TelemetryEvent) => {- return sendTelemetryEvent(API_URL, event, router.pathname)- },- [router.pathname]- )+ return sendTelemetryEvent(API_URL, event, url.toString())+ }}diff --git a/apps/www/lib/theme.utils.ts b/apps/www/lib/theme.utils.tsindex 124bfe920c3..1237d5f5dcc 100644--- a/apps/www/lib/theme.utils.ts+++ b/apps/www/lib/theme.utils.ts@@ -1,6 +1,8 @@+'use client'+import { useEffect } from 'react'import { useTheme } from 'next-themes'-import { useRouter } from 'next/router'+import { useRouter } from 'next/compat/router'import useDarkLaunchWeeks from '../hooks/useDarkLaunchWeeks'export function useForceDeepDark() {diff --git a/apps/www/lib/toc.ts b/apps/www/lib/toc.tsnew file mode 100644index 00000000000..c003b300a3f--- /dev/null+++ b/apps/www/lib/toc.ts@@ -0,0 +1,40 @@+type TocItem = { content: string; slug: string; lvl: number }++function stripFencedCodeBlocks(markdown: string): string {+ const segments = markdown.split('```')+ let acc = ''+ for (let i = 0; i < segments.length; i++) {+ if (i % 2 === 0) acc += segments[i]+ }+ return acc+}++function slugify(input: string): string {+ return input+ .trim()+ .toLowerCase()+ .replace(/[`~!@#$%^&*()+=|{}\[\]\\:\";'<>?,./]+/g, '')+ .replace(/\s+/g, '-')+}++export async function generateTocFromMarkdown(markdown: string, maxDepth: number) {+ const noCode = stripFencedCodeBlocks(markdown)+ const lines = noCode.split(/\r?\n/)+ const items: TocItem[] = []++ for (const line of lines) {+ const m = /^(#{1,6})\s+(.*)$/.exec(line)+ if (!m) continue+ const depth = m[1].length+ if (depth > maxDepth) continue+ const text = m[2].trim()+ if (!text) continue+ items.push({ content: text, slug: slugify(text), lvl: depth })+ }++ const content = items+ .map((h) => `${' '.repeat(Math.max(0, h.lvl - 1))}- [${h.content}](#${h.slug})`)+ .join('\n')++ return { content, json: items }+}diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjsindex 88390c9889d..e5dcfa5ca18 100644--- a/apps/www/next.config.mjs+++ b/apps/www/next.config.mjs@@ -12,8 +12,6 @@ import rewrites from './lib/rewrites.js'import { remarkCodeHike } from '@code-hike/mdx'import codeHikeTheme from 'config/code-hike.theme.json' with { type: 'json' }-import { withContentlayer } from 'next-contentlayer2'-const withMDX = nextMdx({extension: /\.mdx?$/,options: {@@ -60,6 +58,20 @@ const nextConfig = {// needed to make the octokit packages work in /changelogesmExternals: 'loose',},+ /**+ * Exclude huge directories from being traced into serverless functions+ * to avoid the max size limit for Serverless Functions on Vercel:+ * https://vercel.com/guides/troubleshooting-function-250mb-limit+ */+ outputFileTracingExcludes: {+ '*': [+ // Next.js build artifacts+ '.next/cache/**/*',+ '.next/static/**/*',+ // Static assets+ 'public/**/*',+ ],+ },reactStrictMode: true,images: {dangerouslyAllowSVG: false,@@ -67,8 +79,30 @@ const nextConfig = {},async headers() {return [+ // Allow CMS preview iframe embedding by omitting X-Frame-Options for blog routes+ {+ source: '/blog/:slug*',+ headers: [+ {+ key: 'X-Robots-Tag',+ value: 'all',+ },+ // No X-Frame-Options header to allow iframe embedding+ ],+ },+ {+ source: '/api-v2/cms/preview',+ headers: [+ {+ key: 'content-type',+ value: 'text/html',+ },+ // No X-Frame-Options header to allow iframe embedding+ ],+ },+ // Default X-Frame-Options for all other paths{- source: '/:path*',+ source: '/((?!blog|api-v2/cms/preview).*)',headers: [{key: 'X-Robots-Tag',@@ -126,7 +160,7 @@ const nextConfig = {// next.config.js.const configExport = () => {- const plugins = [withContentlayer, withMDX, withBundleAnalyzer]+ const plugins = [withMDX, withBundleAnalyzer]return plugins.reduce((acc, next) => next(acc), nextConfig)}diff --git a/apps/www/package.json b/apps/www/package.jsonindex 8cfc903c24c..e6b7b16de46 100644--- a/apps/www/package.json+++ b/apps/www/package.json@@ -12,7 +12,7 @@"lint": "next lint","clean": "rimraf node_modules","typecheck": "pnpm run content:build && tsc --noEmit",- "content:build": "contentlayer2 build && node scripts/generateStaticContent.mjs",+ "content:build": "node scripts/generateStaticContent.mjs","prettier": "prettier --cache --write \"./{pages,components,lib,stores,styles,tests}/**/*.{ts,tsx,md,js,jsx,json}\"","postbuild": "node ./internals/generate-sitemap.mjs && ./../../scripts/upload-static-assets.sh"},@@ -25,6 +25,7 @@"@next/bundle-analyzer": "15.3.1","@next/mdx": "15.3.1","@octokit/auth-app": "^7.0.0",+ "@payloadcms/live-preview-react": "^3.0.0","@octokit/core": "^6.0.0","@octokit/graphql": "^8.0.0","@octokit/plugin-paginate-graphql": "^4.0.0",@@ -42,7 +43,6 @@"common": "workspace:*","common-tags": "^1.8.2","config": "workspace:*",- "contentlayer2": "0.5.3","dayjs": "^1.11.12","eslint-config-supabase": "workspace:*","framer-motion": "^11.0.3",@@ -52,7 +52,6 @@"lucide-react": "*","markdown-toc": "^1.2.0","next": "catalog:",- "next-contentlayer2": "0.5.3","next-mdx-remote": "^4.4.1","next-seo": "^6.5.0","next-themes": "^0.3.0",diff --git a/apps/www/pages/blog.tsx b/apps/www/pages/blog.tsxdeleted file mode 100644index 430b2922b4c..00000000000--- a/apps/www/pages/blog.tsx+++ /dev/null@@ -1,130 +0,0 @@-import fs from 'fs'-import { useState } from 'react'-import { useRouter } from 'next/router'-import { NextSeo } from 'next-seo'-import { generateRss } from '~/lib/rss'-import { getSortedPosts } from '~/lib/posts'--import type PostTypes from '~/types/post'-import DefaultLayout from '~/components/Layouts/Default'-import BlogGridItem from '~/components/Blog/BlogGridItem'-import BlogListItem from '~/components/Blog/BlogListItem'-import BlogFilters from '~/components/Blog/BlogFilters'-import FeaturedThumb from '~/components/Blog/FeaturedThumb'-import { cn } from 'ui'-import { LOCAL_STORAGE_KEYS, isBrowser } from 'common'--export type BlogView = 'list' | 'grid'--function Blog(props: any) {- const { BLOG_VIEW } = LOCAL_STORAGE_KEYS- const localView = isBrowser ? (localStorage?.getItem(BLOG_VIEW) as BlogView) : undefined- const [blogs, setBlogs] = useState(props.blogs)- const [view, setView] = useState<BlogView>(localView ?? 'list')- const isList = view === 'list'- const router = useRouter()-- const meta_title = 'Supabase Blog: the Postgres development platform'- const meta_description = 'Get all your Supabase News on the Supabase blog.'-- return (- <>- <NextSeo- title={meta_title}- description={meta_description}- openGraph={{- title: meta_title,- description: meta_description,- url: `https://supabase.com/${router.pathname}`,- images: [- {- url: `https://supabase.com/images/og/supabase-og.png`,- },- ],- }}- additionalLinkTags={[- {- rel: 'alternate',- type: 'application/rss+xml',- href: `https://supabase.com/rss.xml`,- },- ]}- />- <DefaultLayout>- <h1 className="sr-only">Supabase blog</h1>- <div className="md:container mx-auto py-4 lg:py-10 px-4 sm:px-12 xl:px-16">- {props.blogs.slice(0, 1).map((blog: any, i: number) => (- <FeaturedThumb key={i} {...blog} />- ))}- </div>-- <div className="border-default border-t">- <div className="md:container mx-auto mt-6 lg:mt-8 px-6 sm:px-16 xl:px-20">- <BlogFilters- allPosts={props.blogs}- setPosts={setBlogs}- view={view as BlogView}- setView={setView}- />-- <ol- className={cn(- 'grid -mx-2 sm:-mx-4 py-6 lg:py-6 lg:pb-20',- isList ? 'grid-cols-1' : 'grid-cols-12 lg:gap-4'- )}- >- {blogs?.length ? (- blogs?.map((blog: PostTypes, idx: number) =>- isList ? (- <div className="col-span-12 px-2 sm:px-4 [&_a]:last:border-none" key={idx}>- <BlogListItem post={blog} />- </div>- ) : (- <div- className="col-span-12 mb-4 md:col-span-12 lg:col-span-6 xl:col-span-4 h-full"- key={idx}- >- <BlogGridItem post={blog} />- </div>- )- )- ) : (- <p className="text-sm text-light col-span-full">No results</p>- )}- </ol>- </div>- </div>- </DefaultLayout>- </>- )-}--export async function getStaticProps() {- const allPostsData = getSortedPosts({ directory: '_blog', runner: '** BLOG PAGE **' })- const rss = generateRss(allPostsData)-- // create a rss feed in public directory- // rss feed is added via <Head> component in render return- fs.writeFileSync('./public/rss.xml', rss)-- // generate a series of rss feeds for each author (for PlanetPG)- const planetPgPosts = allPostsData.filter((post: any) => post.tags?.includes('planetpg'))- const planetPgAuthors = planetPgPosts.map((post: any) => post.author.split(','))- const uniquePlanetPgAuthors = new Set([].concat(...planetPgAuthors))-- uniquePlanetPgAuthors.forEach((author) => {- const authorPosts = planetPgPosts.filter((post: any) => post.author.includes(author))- if (authorPosts.length > 0) {- const authorRss = generateRss(authorPosts, author)- fs.writeFileSync(`./public/planetpg-${author}-rss.xml`, authorRss)- }- })-- return {- props: {- blogs: allPostsData,- },- }-}--export default Blogdiff --git a/apps/www/pages/blog/[slug].tsx b/apps/www/pages/blog/[slug].tsxdeleted file mode 100644index c6a40d78693..00000000000--- a/apps/www/pages/blog/[slug].tsx+++ /dev/null@@ -1,395 +0,0 @@-import matter from 'gray-matter'-import type { GetStaticProps, InferGetStaticPropsType } from 'next'-import { MDXRemote } from 'next-mdx-remote'-import { NextSeo } from 'next-seo'-import Image from 'next/image'-import Link from 'next/link'-import { useRouter } from 'next/router'-import { ReactMarkdown } from 'react-markdown/lib/react-markdown'-import { Badge } from 'ui'-import dayjs from 'dayjs'--import authors from 'lib/authors.json'-import { generateReadingTime, isNotNullOrUndefined } from 'lib/helpers'-import mdxComponents from 'lib/mdx/mdxComponents'-import { mdxSerialize } from 'lib/mdx/mdxSerialize'-import { getAllPostSlugs, getPostdata, getSortedPosts } from 'lib/posts'--import ShareArticleActions from 'components/Blog/ShareArticleActions'-import CTABanner from 'components/CTABanner'-import LW11Summary from 'components/LaunchWeek/11/LW11Summary'-import LW12Summary from 'components/LaunchWeek/12/LWSummary'-import LW13Summary from 'components/LaunchWeek/13/Releases/LWSummary'-import LW14Summary from 'components/LaunchWeek/14/Releases/LWSummary'-import LW15Summary from 'components/LaunchWeek/15/LWSummary'-import BlogLinks from 'components/LaunchWeek/7/BlogLinks'-import LWXSummary from 'components/LaunchWeek/X/LWXSummary'-import DefaultLayout from 'components/Layouts/Default'-import { ChevronLeft } from 'lucide-react'--type Post = ReturnType<typeof getSortedPosts>[number]--type BlogData = {- title: string- description: string- tags?: string[]- date: string- toc_depth?: number- author: string- image?: string- thumb?: string- youtubeHero?: string- author_url?: string- launchweek?: number | string- meta_title?: string- meta_description?: string- video?: string-}--type MatterReturn = {- data: BlogData- content: string-}--type Blog = {- slug: string- source: string- content: any- toc: any-}--type BlogPostPageProps = {- prevPost: Post | null- nextPost: Post | null- relatedPosts: (Post & BlogData)[]- blog: Blog & BlogData-}--type Params = {- slug: string-}--// table of contents extractor-const toc = require('markdown-toc')--export async function getStaticPaths() {- const paths = getAllPostSlugs('_blog')- return {- paths,- fallback: false,- }-}--export const getStaticProps: GetStaticProps<BlogPostPageProps, Params> = async ({ params }) => {- if (params?.slug === undefined) {- throw new Error('Missing slug for pages/blog/[slug].tsx')- }-- const filePath = `${params.slug}`- const postContent = await getPostdata(filePath, '_blog')- const { data, content } = matter(postContent) as unknown as MatterReturn-- const mdxSource: any = await mdxSerialize(content)-- const relatedPosts = getSortedPosts({- directory: '_blog',- limit: 5,- tags: mdxSource.scope.tags,- currentPostSlug: filePath,- }) as unknown as (BlogData & Post)[]-- const allPosts = getSortedPosts({ directory: '_blog' })-- const currentIndex = allPosts- .map(function (e) {- return e.slug- })- .indexOf(filePath)-- const nextPost = allPosts[currentIndex + 1]- const prevPost = allPosts[currentIndex - 1]-- const tocResult = toc(content, { maxdepth: data.toc_depth ? data.toc_depth : 2 })- const processedContent = tocResult.content.replace(/%23/g, '')-- return {- props: {- prevPost: currentIndex === 0 ? null : prevPost ? prevPost : null,- nextPost: currentIndex === allPosts.length ? null : nextPost ? nextPost : null,- relatedPosts,- blog: {- slug: `${params.slug}`,- source: content,- ...data,- content: mdxSource,- toc: {- ...tocResult,- content: processedContent,- },- },- },- }-}--function BlogPostPage(props: InferGetStaticPropsType<typeof getStaticProps>) {- const content = props.blog.content- const authorArray = props.blog.author.split(',')- const isLaunchWeek7 = props.blog.launchweek === '7'- const isLaunchWeekX = props.blog.launchweek?.toString().toLocaleLowerCase() === 'x'- const isGAWeek = props.blog.launchweek?.toString().toLocaleLowerCase() === '11'- const isLaunchWeek12 = props.blog.launchweek?.toString().toLocaleLowerCase() === '12'- const isLaunchWeek13 = props.blog.launchweek?.toString().toLocaleLowerCase() === '13'- const isLaunchWeek14 = props.blog.launchweek?.toString().toLocaleLowerCase() === '14'- const isLaunchWeek15 = props.blog.launchweek?.toString().toLocaleLowerCase() === '15'-- const author = authorArray- .map((authorId) => {- return authors.find((author) => author.author_id === authorId)- })- .filter(isNotNullOrUndefined)-- const authorUrls = author.map((author) => author?.author_url).filter(isNotNullOrUndefined)-- const { basePath } = useRouter()-- const NextCard = (props: any) => {- const { post, label, className } = props-- return (- <Link href={`${post.path}`} as={`${post.path}`}>- <div className={className}>- <div className="hover:bg-control cursor-pointer rounded border p-6 transition">- <div className="space-y-4">- <div>- <p className="text-foreground-lighter text-sm">{label}</p>- </div>- <div>- <h4 className="text-foreground text-lg">{post.title}</h4>- <p className="small">{post.formattedDate}</p>- </div>- </div>- </div>- </div>- </Link>- )- }-- const toc = props.blog.toc && (- <div className="space-y-8 py-8 lg:py-0">- <div>- <div className="flex flex-wrap gap-2">- {props.blog.tags?.map((tag: string) => {- return (- <Link href={`/blog/tags/${tag}`} key={`category-badge-${tag}`}>- <Badge>{tag}</Badge>- </Link>- )- })}- </div>- </div>- <div>- <div>- <p className="text-foreground mb-4">On this page</p>- <div className="prose-toc">- <ReactMarkdown>{props.blog.toc.content}</ReactMarkdown>- </div>- </div>- </div>- </div>- )-- const meta = {- title: props.blog.meta_title ?? props.blog.title,- description: props.blog.meta_description ?? props.blog.description,- url: `https://supabase.com/blog/${props.blog.slug}`,- }-- return (- <>- <NextSeo- title={meta.title}- description={meta.description}- openGraph={{- title: meta.title,- description: meta.description,- url: meta.url,- type: 'article',- videos: props.blog.video- ? [- {- // youtube based video meta- url: props.blog.video,- type: 'application/x-shockwave-flash',- width: 640,- height: 385,- },- ]- : undefined,- article: {- //- // to do: add expiration and modified dates- // https://github.com/garmeeh/next-seo#article- publishedTime: props.blog.date,- //- // to do: author urls should be internal in future- // currently we have external links to github profiles- authors: authorUrls,- tags: props.blog.tags?.map((cat: string) => {- return cat- }),- },- images: [- {- url: `https://supabase.com${basePath}/images/blog/${- props.blog.image ? props.blog.image : props.blog.thumb- }`,- alt: `${props.blog.title} thumbnail`,- },- ],- }}- />- <DefaultLayout className="overflow-x-hidden">- <div- className="- container mx-auto px-4 py-4 md:py-8 xl:py-10 sm:px-16- xl:px-20- "- >- <div className="grid grid-cols-12 gap-4">- <div className="hidden col-span-12 xl:block lg:col-span-2">- {/* Back button */}- <Link- href="/blog"- className="text-foreground-lighter hover:text-foreground flex cursor-pointer items-center text-sm transition"- >- <ChevronLeft style={{ padding: 0 }} />- Back- </Link>- </div>- <div className="col-span-12 lg:col-span-12 xl:col-span-10">- {/* Title and description */}- <div className="mb-6 lg:mb-10 max-w-5xl space-y-8">- <div className="space-y-4">- <Link href="/blog" className="text-brand hidden lg:inline">- Blog- </Link>- <h1 className="text-2xl sm:text-4xl">{props.blog.title}</h1>- <div className="text-light flex space-x-3 text-sm">- <p>{dayjs(props.blog.date).format('DD MMM YYYY')}</p>- <p>•</p>- <p>{generateReadingTime(props.blog.source)}</p>- </div>- <div className="hidden lg:flex justify-between">- <div className="flex-1 flex flex-col gap-3 pt-2 md:flex-row md:gap-0 lg:gap-3">- {author.map((author: any, i: number) => {- return (- <div className="mr-4 w-max" key={i}>- <Link- href={author.author_url}- target="_blank"- className="cursor-pointer"- >- <div className="flex items-center gap-3">- {author.author_image_url && (- <div className="w-10">- <Image- src={author.author_image_url}- className="border-default rounded-full border w-full aspect-square object-cover"- alt={`${author.author} avatar`}- width={40}- height={40}- />- </div>- )}- <div className="flex flex-col">- <span className="text-foreground mb-0 text-sm">- {author.author}- </span>- <span className="text-foreground-lighter mb-0 text-xs">- {author.position}- </span>- </div>- </div>- </Link>- </div>- )- })}- </div>- </div>- </div>- </div>- <div className="grid grid-cols-12 lg:gap-16 xl:gap-8">- {/* Content */}- <div className="col-span-12 lg:col-span-7 xl:col-span-7">- <article>- <div className={['prose prose-docs'].join(' ')}>- {props.blog.youtubeHero ? (- <iframe- className="w-full"- width="700"- height="350"- src={props.blog.youtubeHero}- allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"- allowFullScreen={true}- />- ) : (- props.blog.thumb && (- <div className="hidden md:block relative mb-8 w-full aspect-[3/2] overflow-auto rounded-lg border">- <Image- src={'/images/blog/' + props.blog.thumb}- alt={props.blog.title}- fill- quality={100}- sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"- className="object-cover m-0"- />- </div>- )- )}- <MDXRemote {...content} components={mdxComponents('blog')} />- </div>- </article>- {isLaunchWeek7 && <BlogLinks />}- {isLaunchWeekX && <LWXSummary />}- {isGAWeek && <LW11Summary />}- {isLaunchWeek12 && <LW12Summary />}- {isLaunchWeek13 && <LW13Summary />}- {isLaunchWeek14 && <LW14Summary />}- {isLaunchWeek15 && <LW15Summary />}- <div className="block lg:hidden py-8">- <div className="text-foreground-lighter text-sm">Share this article</div>- <ShareArticleActions title={props.blog.title} slug={props.blog.slug} />- </div>- <div className="grid gap-8 py-8 lg:grid-cols-1">- <div>- {props.prevPost && <NextCard post={props.prevPost} label="Last post" />}- </div>- <div>- {props.nextPost && (- <NextCard post={props.nextPost} label="Next post" className="text-right" />- )}- </div>- </div>- </div>- {/* Sidebar */}- <div className="relative col-span-12 space-y-8 lg:col-span-5 xl:col-span-3 xl:col-start-9">- <div className="space-y-6">- <div className="hidden lg:block">{toc}</div>- <div className="hidden lg:block">- <div className="text-foreground text-sm">Share this article</div>- <ShareArticleActions title={props.blog.title} slug={props.blog.slug} />- </div>- </div>- </div>- </div>- </div>- </div>- </div>-- <CTABanner />- </DefaultLayout>- </>- )-}--export default BlogPostPagediff --git a/apps/www/pages/blog/categories/[category].tsx b/apps/www/pages/blog/categories/[category].tsxdeleted file mode 100644index 2251a159f47..00000000000--- a/apps/www/pages/blog/categories/[category].tsx+++ /dev/null@@ -1,68 +0,0 @@-import { NextSeo } from 'next-seo'-import { getSortedPosts, getAllCategories } from '~/lib/posts'-import Link from 'next/link'-import { startCase } from 'lib/helpers'--import DefaultLayout from '~/components/Layouts/Default'-import BlogGridItem from '~/components/Blog/BlogGridItem'-import type PostTypes from '~/types/post'--export async function getStaticProps({ params }: any) {- const posts = getSortedPosts({ directory: '_blog', limit: 0, categories: [params.category] })- return {- props: {- category: params.category,- blogs: posts,- },- }-}--export async function getStaticPaths() {- const categories = getAllCategories('_blog')- return {- paths: categories.map((category: any) => ({ params: { category: category } })),- fallback: false,- }-}--interface Props {- category: string- blogs: PostTypes[]-}--function CategoriesIndex(props: Props) {- const { blogs, category } = props- const capitalizedCategory = startCase(category.replaceAll('-', ' '))-- return (- <>- <NextSeo- title={`Blog | ${capitalizedCategory}`}- description="Latest news from the Supabase team."- />- <DefaultLayout>- <div className="container mx-auto px-8 py-16 sm:px-16 xl:px-20">- <div className="text-foreground-lighter flex space-x-1">- <h1 className="cursor-pointer">- <Link href="/blog">Blog</Link>- <span className="px-2">/</span>- <span>{`${capitalizedCategory}`}</span>- </h1>- </div>- <ol className="grid grid-cols-12 gap-8 py-16 lg:gap-16">- {blogs.map((blog: PostTypes, idx: number) => (- <div- className="col-span-12 mb-16 md:col-span-12 lg:col-span-6 xl:col-span-4"- key={idx}- >- <BlogGridItem post={blog} />- </div>- ))}- </ol>- </div>- </DefaultLayout>- </>- )-}--export default CategoriesIndexdiff --git a/apps/www/pages/blog/tags/[tag].tsx b/apps/www/pages/blog/tags/[tag].tsxdeleted file mode 100644index 59efb04edf0..00000000000--- a/apps/www/pages/blog/tags/[tag].tsx+++ /dev/null@@ -1,68 +0,0 @@-import { NextSeo } from 'next-seo'-import { getSortedPosts, getAllTags } from '~/lib/posts'-import Link from 'next/link'-import { startCase } from 'lib/helpers'--import DefaultLayout from '~/components/Layouts/Default'-import BlogGridItem from '~/components/Blog/BlogGridItem'-import PostTypes from '~/types/post'--export async function getStaticProps({ params }: any) {- const posts = getSortedPosts({ directory: '_blog', limit: 0, tags: [params.tag] })- return {- props: {- tag: params.tag,- blogs: posts,- },- }-}--export async function getStaticPaths() {- const tags = getAllTags('_blog')- return {- paths: tags.map((tag: any) => ({ params: { tag: tag } })),- fallback: false,- }-}--interface Props {- tag: string- blogs: PostTypes[]-}--function TagBlogsPage(props: Props) {- const { blogs, tag } = props- const capitalizedTag = startCase(tag.replaceAll('-', ' '))-- return (- <>- <NextSeo- title={`Blog | ${capitalizedTag}`}- description="Latest news from the Supabase team."- />- <DefaultLayout>- <div className="container mx-auto px-8 py-16 sm:px-16 xl:px-20">- <div className="text-foreground-lighter flex space-x-1">- <h1 className="cursor-pointer">- <Link href="/blog">Blog</Link>- <span className="px-2">/</span>- <span>{`${capitalizedTag}`}</span>- </h1>- </div>- <ol className="grid grid-cols-12 gap-8 py-16 lg:gap-16">- {blogs.map((blog: PostTypes, idx: number) => (- <div- className="col-span-12 mb-16 md:col-span-12 lg:col-span-6 xl:col-span-4"- key={idx}- >- <BlogGridItem post={blog} />- </div>- ))}- </ol>- </div>- </DefaultLayout>- </>- )-}--export default TagBlogsPagediff --git a/apps/www/pages/features.tsx b/apps/www/pages/features.tsxindex 7286a4e7e11..ae9aec13381 100644--- a/apps/www/pages/features.tsx+++ b/apps/www/pages/features.tsx@@ -1,6 +1,6 @@import React, { useEffect, useState, useCallback } from 'react'import Link from 'next/link'-import { useRouter } from 'next/router'+import { useRouter } from 'next/compat/router'import { NextSeo } from 'next-seo'import { motion } from 'framer-motion'import { Search } from 'lucide-react'@@ -15,10 +15,9 @@ import { features } from '~/data/features'function FeaturesPage() {const router = useRouter()- const { basePath, query } = router- const [searchTerm, setSearchTerm] = useState<string>((query.q as string) || '')+ const [searchTerm, setSearchTerm] = useState<string>((router?.query.q as string) || '')const [selectedProducts, setSelectedProducts] = useState<string[]>(- (query.products as string)?.split(',') || []+ (router?.query.products as string)?.split(',') || [])const HAS_ACTIVE_FILTERS = selectedProducts.length || searchTerm.length@@ -36,7 +35,7 @@ function FeaturesPage() {if (searchTerm) params.set('q', searchTerm)if (selectedProducts.length > 0) params.set('products', selectedProducts.join(','))- router.replace({ pathname: '/features', query: params.toString() }, undefined, {+ router?.replace({ pathname: '/features', query: params.toString() }, undefined, {shallow: true,})}@@ -49,11 +48,11 @@ function FeaturesPage() {// Sync state with query parameters when they changeuseEffect(() => {- if (query.q !== searchTerm) setSearchTerm((query.q as string) || '')- if (query.products !== selectedProducts.join(',')) {- setSelectedProducts((query.products as string)?.split(',') || [])+ if (router?.query.q !== searchTerm) setSearchTerm((router?.query.q as string) || '')+ if (router?.query.products !== selectedProducts.join(',')) {+ setSelectedProducts((router?.query.products as string)?.split(',') || [])}- }, [query.q, query.products])+ }, [router?.query.q, router?.query.products])// Handle search input changeconst handleSearchChange = (e: React.ChangeEvent<HTMLInputElement>) => {@@ -95,7 +94,7 @@ function FeaturesPage() {openGraph={{title: meta.title,description: meta.description,- url: `${basePath}/customers`,+ url: '/customers',}}/><DefaultLayout>diff --git a/apps/www/public/customers-rss.xml b/apps/www/public/customers-rss.xmlindex 015bdda3750..dc9f05f5e7f 100644--- a/apps/www/public/customers-rss.xml+++ b/apps/www/public/customers-rss.xml@@ -5,21 +5,21 @@<link>https://supabase.com</link><description>Latest news from Supabase</description><language>en</language>- <lastBuildDate>Tue, 29 Apr 2025 00:00:00 -0700</lastBuildDate>+ <lastBuildDate>Wed, 21 May 2025 00:00:00 -0700</lastBuildDate><atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/><item><guid>https://supabase.com/customers/kayhanspace</guid><title>Kayhan Space saw 8x improvement in developer speed when moving to Supabase</title><link>https://supabase.com/customers/kayhanspace</link><description>The Kayhan Space team migrated to Supabase from Amazon RDS and Auth0 to simplify infrastructure and unlock developer velocity.</description>- <pubDate>Tue, 20 May 2025 00:00:00 -0700</pubDate>+ <pubDate>Wed, 21 May 2025 00:00:00 -0700</pubDate></item><item><guid>https://supabase.com/customers/udio</guid><title>Udio hits the right notes with Supabase</title><link>https://supabase.com/customers/udio</link><description>Udio built a scalable, AI-driven music platform on a Supabase backend from day one.</description>- <pubDate>Tue, 20 May 2025 00:00:00 -0700</pubDate>+ <pubDate>Wed, 21 May 2025 00:00:00 -0700</pubDate></item><item><guid>https://supabase.com/customers/euka</guid>diff --git a/apps/www/public/sitemap_www.xml b/apps/www/public/sitemap_www.xmlindex 82007bd3a66..6f39590a7cc 100644--- a/apps/www/public/sitemap_www.xml+++ b/apps/www/public/sitemap_www.xml@@ -1941,1237 +1941,1087 @@</url><url>- <loc>https://supabase.com/customers/berriai</loc>+ <loc>https://supabase.com/blog/dedicated-poolers</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/chatbase</loc>+ <loc>https://supabase.com/blog/migrating-mongodb-data-api-with-supabase</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/e2b</loc>+ <loc>https://supabase.com/blog/migrating-from-fauna-to-supabase</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/epsilon3</loc>+ <loc>https://supabase.com/blog/postgres-language-server</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/good-tape</loc>+ <loc>https://supabase.com/blog/clerk-tpa-pricing</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/happyteams</loc>+ <loc>https://supabase.com/blog/supabase-ui-library</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/humata</loc>+ <loc>https://supabase.com/blog/automatic-embeddings</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/maergo</loc>+ <loc>https://supabase.com/blog/supabase-edge-functions-deploy-dashboard-deno-2-1</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/markprompt</loc>+ <loc>https://supabase.com/blog/realtime-broadcast-from-database</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/mendableai</loc>+ <loc>https://supabase.com/blog/tabs-dashboard-updates</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/mobbin</loc>+ <loc>https://supabase.com/blog/declarative-schemas</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/next-door-lending</loc>+ <loc>https://supabase.com/blog/data-api-nearest-read-replica</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/pebblely</loc>+ <loc>https://supabase.com/blog/launch-week-14-top-10</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/quivr</loc>+ <loc>https://supabase.com/blog/mcp-server</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/replenysh</loc>+ <loc>https://supabase.com/blog/event-triggers-wo-superuser</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/shotgun</loc>+ <loc>https://supabase.com/blog/simplify-backend-with-data-api</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/tinloof</loc>+ <loc>https://supabase.com/blog/open-data-standards-postgres-otel-iceberg</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/voypost</loc>+ <loc>https://supabase.com/blog/building-on-open-table-formats</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers/xendit</loc>+ <loc>https://supabase.com/blog/multigres-vitess-for-postgres</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/events/scale-to-millions-generative-ai-humata</loc>+ <loc>https://supabase.com/blog/natural-db</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/events/launch-week-12-hackathon</loc>+ <loc>https://supabase.com/blog/jwt-signing-keys</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/events/scale-to-millions-goodtape-auth</loc>+ <loc>https://supabase.com/blog/supabase-ui-platform-kit</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/events/supabase-ai-hackathon-at-y-combinator</loc>+ <loc>https://supabase.com/blog/analytics-buckets</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/events/launch-week-13-hackathon</loc>+ <loc>https://supabase.com/blog/figma-make-support-for-supabase</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/ai-assistant</loc>+ <loc>https://supabase.com/blog/stripe-engine-as-sync-library</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/ai-integrations</loc>+ <loc>https://supabase.com/blog/branching-2-0</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/auth-captcha-protection</loc>+ <loc>https://supabase.com/blog/improved-security-controls</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/auto-generated-graphql-api</loc>+ <loc>https://supabase.com/blog/algolia-connector-for-supabase</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/auto-generated-rest-api</loc>+ <loc>https://supabase.com/blog/new-observability-features-in-supabase</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/branching</loc>+ <loc>https://supabase.com/blog/launch-week-15-top-10</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/cdn</loc>+ <loc>https://supabase.com/blog/lw15-hackathon</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/cli</loc>+ <loc>https://supabase.com/blog/persistent-storage-for-faster-edge-functions</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/client-library-flutter</loc>+ <loc>https://supabase.com/blog/storage-500gb-uploads-cheaper-egress-pricing</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/client-library-javascript</loc>+ <loc>https://supabase.com/blog/supabase-auth-build-vs-buy</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/client-library-python</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/client-library-swift</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/custom-domains</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/database-backups</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/database-webhooks</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/deno-edge-functions</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/email-login</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/file-storage</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/foreign-key-selector</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/image-transformations</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/log-drains</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/logs-analytics</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/management-api</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/multi-factor-authentication</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/network-restrictions</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/npm-compatibility</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/orioledb</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/passwordless-login-via-magicklink</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/phone-logins</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/policy-templates</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/postgres-database</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/postgres-extensions</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/postgres-roles</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/queues</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/read-replicas</loc>- <changefreq>weekly</changefreq>- <priority>0.5</priority>- </url>-- <url>- <loc>https://supabase.com/features/realtime-broadcast-authorization</loc>+ <loc>https://supabase.com/customers/asap-work</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/realtime-broadcast</loc>+ <loc>https://supabase.com/customers/berriai</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/realtime-postgres-changes</loc>+ <loc>https://supabase.com/customers/bree</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/realtime-presence-authorization</loc>+ <loc>https://supabase.com/customers/chatbase</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/realtime-presence</loc>+ <loc>https://supabase.com/customers/deriv</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/regional-invocations</loc>+ <loc>https://supabase.com/customers/e2b</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/reports-and-metrics</loc>+ <loc>https://supabase.com/customers/epsilon3</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/resumable-uploads</loc>+ <loc>https://supabase.com/customers/euka</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/role-based-access-control</loc>+ <loc>https://supabase.com/customers/good-tape</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/row-level-security</loc>+ <loc>https://supabase.com/customers/happyteams</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/s3-compatibility</loc>+ <loc>https://supabase.com/customers/humata</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/security-and-performance-advisor</loc>+ <loc>https://supabase.com/customers/kayhanspace</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/server-side-auth</loc>+ <loc>https://supabase.com/customers/maergo</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/smart-cdn</loc>+ <loc>https://supabase.com/customers/markprompt</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/soc-2-compliance</loc>+ <loc>https://supabase.com/customers/mendableai</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/social-login</loc>+ <loc>https://supabase.com/customers/meshy</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/sql-editor</loc>+ <loc>https://supabase.com/customers/mobbin</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/ssl-enforcement</loc>+ <loc>https://supabase.com/customers/next-door-lending</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/supabase-cron</loc>+ <loc>https://supabase.com/customers/pebblely</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/supavisor</loc>+ <loc>https://supabase.com/customers/quilia</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/terraform-provider</loc>+ <loc>https://supabase.com/customers/quivr</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/user-impersonation</loc>+ <loc>https://supabase.com/customers/replenysh</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/vault</loc>+ <loc>https://supabase.com/customers/resend</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/vector-database</loc>+ <loc>https://supabase.com/customers/shotgun</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features/visual-schema-designer</loc>+ <loc>https://supabase.com/customers/tinloof</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/appsmith</loc>+ <loc>https://supabase.com/customers/udio</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/arengu</loc>+ <loc>https://supabase.com/customers/voypost</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/artie</loc>+ <loc>https://supabase.com/customers/xendit</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/atomic_crm</loc>+ <loc>https://supabase.com/events/scale-to-millions-generative-ai-humata</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/auth0</loc>+ <loc>https://supabase.com/events/launch-week-12-hackathon</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/authsignal</loc>+ <loc>https://supabase.com/events/scale-to-millions-goodtape-auth</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/basedash</loc>+ <loc>https://supabase.com/events/supabase-ai-hackathon-at-y-combinator</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/bemi</loc>+ <loc>https://supabase.com/events/launch-week-13-hackathon</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/buster</loc>+ <loc>https://supabase.com/features/ai-assistant</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/clerk</loc>+ <loc>https://supabase.com/features/ai-integrations</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/cloudflare-workers</loc>+ <loc>https://supabase.com/features/auth-captcha-protection</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/clutch</loc>+ <loc>https://supabase.com/features/auto-generated-graphql-api</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/codesandbox</loc>+ <loc>https://supabase.com/features/auto-generated-rest-api</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/corbado</loc>+ <loc>https://supabase.com/features/branching</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/cyberduck</loc>+ <loc>https://supabase.com/features/cdn</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/deepnote</loc>+ <loc>https://supabase.com/features/cli</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/dezbor</loc>+ <loc>https://supabase.com/features/client-library-flutter</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/dhiwise</loc>+ <loc>https://supabase.com/features/client-library-javascript</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/directus</loc>+ <loc>https://supabase.com/features/client-library-python</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/doppler</loc>+ <loc>https://supabase.com/features/client-library-swift</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/draftbit</loc>+ <loc>https://supabase.com/features/custom-domains</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/drapcode</loc>+ <loc>https://supabase.com/features/database-backups</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/draxlr</loc>+ <loc>https://supabase.com/features/database-webhooks</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/dronahq</loc>+ <loc>https://supabase.com/features/declarative-schemas</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/electricsql</loc>+ <loc>https://supabase.com/features/deno-edge-functions</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/estuary</loc>+ <loc>https://supabase.com/features/email-login</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/explo</loc>+ <loc>https://supabase.com/features/file-storage</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/fezto</loc>+ <loc>https://supabase.com/features/foreign-key-selector</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/flutterflow</loc>+ <loc>https://supabase.com/features/image-transformations</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/forestadmin</loc>+ <loc>https://supabase.com/features/log-drains</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/getstream_io</loc>+ <loc>https://supabase.com/features/logs-analytics</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/illa</loc>+ <loc>https://supabase.com/features/management-api</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/infisical</loc>+ <loc>https://supabase.com/features/mcp-server</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/insightbase</loc>+ <loc>https://supabase.com/features/multi-factor-authentication</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/internalio</loc>+ <loc>https://supabase.com/features/network-restrictions</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/jetadmin</loc>+ <loc>https://supabase.com/features/npm-compatibility</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/keyri</loc>+ <loc>https://supabase.com/features/orioledb</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/kinde</loc>+ <loc>https://supabase.com/features/passwordless-login-via-magicklink</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/litellm</loc>+ <loc>https://supabase.com/features/phone-logins</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/loops</loc>+ <loc>https://supabase.com/features/policy-templates</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/n8n</loc>+ <loc>https://supabase.com/features/postgres-database</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/nextauth</loc>+ <loc>https://supabase.com/features/postgres-extensions</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/nuxt</loc>+ <loc>https://supabase.com/features/postgres-roles</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/onesignal</loc>+ <loc>https://supabase.com/features/queues</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/ory</loc>+ <loc>https://supabase.com/features/read-replicas</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/passageidentity</loc>+ <loc>https://supabase.com/features/realtime-broadcast-authorization</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/pgmustard</loc>+ <loc>https://supabase.com/features/realtime-broadcast</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/plasmic</loc>+ <loc>https://supabase.com/features/realtime-postgres-changes</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/powersync</loc>+ <loc>https://supabase.com/features/realtime-presence-authorization</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/prisma</loc>+ <loc>https://supabase.com/features/realtime-presence</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/react-admin</loc>+ <loc>https://supabase.com/features/regional-invocations</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/readyset</loc>+ <loc>https://supabase.com/features/reports-and-metrics</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/refine_dev</loc>+ <loc>https://supabase.com/features/resumable-uploads</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/replibyte</loc>+ <loc>https://supabase.com/features/role-based-access-control</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/replicache</loc>+ <loc>https://supabase.com/features/row-level-security</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/resend</loc>+ <loc>https://supabase.com/features/s3-compatibility</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/retool</loc>+ <loc>https://supabase.com/features/security-and-performance-advisor</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/risingwave</loc>+ <loc>https://supabase.com/features/server-side-auth</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/sequin_io</loc>+ <loc>https://supabase.com/features/smart-cdn</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/stacksync</loc>+ <loc>https://supabase.com/features/soc-2-compliance</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/stormkit</loc>+ <loc>https://supabase.com/features/social-login</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/streamlit</loc>+ <loc>https://supabase.com/features/sql-editor</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/stytch</loc>+ <loc>https://supabase.com/features/ssl-enforcement</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/supabase_wrapper_bigquery</loc>+ <loc>https://supabase.com/features/supabase-cron</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/supabase_wrapper_firebase</loc>+ <loc>https://supabase.com/features/supavisor</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/supabase_wrapper_stripe</loc>+ <loc>https://supabase.com/features/terraform-provider</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/supertokens</loc>+ <loc>https://supabase.com/features/user-impersonation</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/tamagui-takeout</loc>+ <loc>https://supabase.com/features/vault</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/toddle</loc>+ <loc>https://supabase.com/features/vector-database</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/trevor_io</loc>+ <loc>https://supabase.com/features/visual-schema-designer</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/triggerdotdev</loc>+ <loc>https://supabase.com/assistant</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/vercel</loc>+ <loc>https://supabase.com/aup</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/voltapp</loc>+ <loc>https://supabase.com/auth</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/weweb</loc>+ <loc>https://supabase.com/beta</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/windmill</loc>+ <loc>https://supabase.com/brand-assets</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/yepcode</loc>+ <loc>https://supabase.com/careers</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/zapier</loc>+ <loc>https://supabase.com/changelog</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/zapp_run</loc>+ <loc>https://supabase.com/company</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations/zuplo</loc>+ <loc>https://supabase.com/contact/sales</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/assistant</loc>+ <loc>https://supabase.com/customers</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/aup</loc>+ <loc>https://supabase.com/database</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/auth</loc>+ <loc>https://supabase.com/edge-functions</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/beta</loc>+ <loc>https://supabase.com/events</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/blog</loc>+ <loc>https://supabase.com/features</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/blog/</loc>+ <loc>https://supabase.com/ga-week</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/blog/</loc>+ <loc>https://supabase.com/ga</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/brand-assets</loc>+ <loc>https://supabase.com</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/careers</loc>+ <loc>https://supabase.com/launch-week/12</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/changelog</loc>+ <loc>https://supabase.com/launch-week/13</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/company</loc>+ <loc>https://supabase.com/launch-week/14</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/contact/sales</loc>+ <loc>https://supabase.com/launch-week/6</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/customers</loc>+ <loc>https://supabase.com/launch-week/7</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/database</loc>+ <loc>https://supabase.com/launch-week/8</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/edge-functions</loc>+ <loc>https://supabase.com/launch-week</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/enterprise</loc>+ <loc>https://supabase.com/launch-week/ticket</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/events</loc>+ <loc>https://supabase.com/launch-week/x</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/features</loc>+ <loc>https://supabase.com/legal/dpa</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/ga-week</loc>+ <loc>https://supabase.com/modules/cron</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/ga</loc>+ <loc>https://supabase.com/modules/queues</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com</loc>+ <loc>https://supabase.com/modules/vector</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/launch-week/12</loc>+ <loc>https://supabase.com/nextjs</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/launch-week/6</loc>+ <loc>https://supabase.com/open-source</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/launch-week/7</loc>+ <loc>https://supabase.com/opt-out/[ref]</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/launch-week/8</loc>+ <loc>https://supabase.com/opt-out</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/launch-week</loc>+ <loc>https://supabase.com/partners</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/launch-week/x</loc>+ <loc>https://supabase.com/partners/integrations</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/legal/dpa</loc>+ <loc>https://supabase.com/pricing</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/modules/cron</loc>+ <loc>https://supabase.com/privacy-241009</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/modules/queues</loc>+ <loc>https://supabase.com/privacy-250314</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/modules/vector</loc>+ <loc>https://supabase.com/privacy</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/nextjs</loc>+ <loc>https://supabase.com/realtime</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/open-source</loc>+ <loc>https://supabase.com/security</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/opt-out/[ref]</loc>+ <loc>https://supabase.com/sla</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/opt-out</loc>+ <loc>https://supabase.com/solutions/ai-builders</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners</loc>+ <loc>https://supabase.com/solutions/beginners</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/partners/integrations</loc>+ <loc>https://supabase.com/solutions/developers</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/pricing</loc>+ <loc>https://supabase.com/solutions/enterprise</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/privacy-240804</loc>+ <loc>https://supabase.com/solutions/no-code</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/privacy</loc>+ <loc>https://supabase.com/solutions/postgres-developers</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/realtime</loc>+ <loc>https://supabase.com/solutions/startups</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/security</loc>+ <loc>https://supabase.com/solutions/switch-from-neon</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url>- <loc>https://supabase.com/sla</loc>+ <loc>https://supabase.com/state-of-startups</loc><changefreq>weekly</changefreq><priority>0.5</priority></url>diff --git a/apps/www/scripts/generateStaticContent.mjs b/apps/www/scripts/generateStaticContent.mjsindex 0fbfdeaf9cc..6c0e71fbab4 100644--- a/apps/www/scripts/generateStaticContent.mjs+++ b/apps/www/scripts/generateStaticContent.mjs@@ -1,9 +1,19 @@import { promises as fs } from 'fs'+import fsSync from 'fs'import path from 'path'import { fileURLToPath } from 'url'+import matter from 'gray-matter'-// Latest Blog Posts-import { allBlogPosts } from '../.contentlayer/generated/index.mjs'+// Constants+const FILENAME_SUBSTRING = 11 // based on YYYY-MM-DD format+const CMS_SITE_ORIGIN =+ process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'+ ? 'https://supabase.com'+ : process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL &&+ typeof process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL === 'string'+ ? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL?.replace('zone-www-dot-com-git-', 'cms-git-')}`+ : 'http://localhost:3030'+const CMS_API_KEY = process.env.CMS_API_KEY/*** Fixes Safari dates sorting bug@@ -24,10 +34,132 @@ const sortDates = (a, b, direction = 'desc') => {return isAsc ? dates[0] - dates[1] : dates[1] - dates[0] //Returns the difference between the date (if b > a then a - b < 0)}-const latestBlogPosts = allBlogPosts- .sort(sortDates)- .slice(0, 2)- .map(({ title, url, description }) => ({ title, url, description }))+/**+ * Get static blog posts from _blog directory+ */+const getStaticBlogPosts = () => {+ const __dirname = path.dirname(fileURLToPath(import.meta.url))+ const postDirectory = path.join(__dirname, '../_blog')++ try {+ const fileNames = fsSync.readdirSync(postDirectory)++ const allPosts = fileNames+ .filter((filename) => filename.endsWith('.mdx'))+ .map((filename) => {+ const slug = filename.replace('.mdx', '').substring(FILENAME_SUBSTRING)+ const fullPath = path.join(postDirectory, filename)++ // Extract contents of the MDX file+ const fileContents = fsSync.readFileSync(fullPath, 'utf8')+ const { data } = matter(fileContents)++ const options = { month: 'long', day: 'numeric', year: 'numeric' }+ const formattedDate = new Date(data.date).toLocaleDateString('en-IN', options)++ return {+ slug,+ title: data.title,+ description: data.description,+ date: data.date,+ formattedDate,+ url: `/blog/${slug}`,+ isStatic: true,+ ...data,+ }+ })+ .filter((post) => post.title && post.description && post.date)++ return allPosts+ } catch (error) {+ console.warn('Error reading static blog posts:', error)+ return []+ }+}++/**+ * Get CMS blog posts+ */+const getCMSBlogPosts = async () => {+ try {+ const url = `${CMS_SITE_ORIGIN}/api/posts?depth=2&draft=false&where[_status][equals]=published`++ const response = await fetch(url, {+ headers: {+ 'Content-Type': 'application/json',+ ...(CMS_API_KEY && { Authorization: `Bearer ${CMS_API_KEY}` }),+ },+ })++ if (!response.ok) {+ const responseText = await response.text()++ throw new Error(`HTTP error! status: ${response.status}`)+ }++ const contentType = response.headers.get('content-type') || ''+ if (!contentType.toLowerCase().includes('application/json')) {+ const body = await response.text()+ console.warn(+ `[getCMSBlogPosts] Non-JSON response from ${CMS_SITE_ORIGIN}/api/posts (content-type: '${contentType}'). Returning empty posts. Body (truncated): ${body.slice(0, 200)}`+ )+ return []+ }++ const data = await response.json()++ const posts = data.docs+ .filter((post) => post.slug && post.title && post.description)+ .map((post) => {+ const options = { month: 'long', day: 'numeric', year: 'numeric' }+ const formattedDate = new Date(post.date || new Date()).toLocaleDateString('en-IN', options)++ return {+ slug: post.slug,+ title: post.title,+ description: post.description,+ date: post.date || null, // Keep null if no date instead of using current time+ formattedDate,+ url: `/blog/${post.slug}`,+ isCMS: true,+ ...post,+ }+ })++ return posts+ } catch (_error) {+ // don't console error to avoid noise if env vars not set+ return []+ }+}++/**+ * Get latest blog posts from both sources+ */+const getLatestBlogPosts = async () => {+ const staticPosts = getStaticBlogPosts()++ const cmsPosts = await getCMSBlogPosts()++ // Combine and sort all posts by date+ const allPosts = [...staticPosts, ...cmsPosts]++ // Filter out posts without valid dates and sort+ const validPosts = allPosts.sort((a, b) => sortDates(a, b, 'desc'))++ // Return latest 10 posts+ const latestPosts = validPosts+ .slice(0, 10)+ .map(({ title, url, description, date, formattedDate }) => ({+ title,+ url,+ description,+ date,+ formattedDate,+ }))++ return latestPosts+}let stars = 0@@ -47,15 +179,19 @@ const fetchOctoData = async () => {try {stars = await fetchOctoData()} catch (error) {- throw error+ console.warn('Error fetching GitHub stars:', error)}// Careers Jobs countconst getCareerCount = async () => {- const job_res = await fetch('https://api.ashbyhq.com/posting-api/job-board/supabase')- const job_data = await job_res.json()-- return job_data.jobs.length+ try {+ const job_res = await fetch('https://api.ashbyhq.com/posting-api/job-board/supabase')+ const job_data = await job_res.json()+ return job_data.jobs.length+ } catch (error) {+ console.warn('Error fetching career count:', error)+ return 0+ }}let careersCount = 0@@ -63,12 +199,21 @@ let careersCount = 0try {careersCount = await getCareerCount()} catch (error) {- throw error+ console.warn('Error getting career count:', error)+}++// Get latest blog posts+let latestBlogPosts = []+try {+ latestBlogPosts = await getLatestBlogPosts()+} catch (error) {+ console.warn('Error getting latest blog posts:', error)+ latestBlogPosts = []}// Create folder for static contentconst __dirname = path.dirname(fileURLToPath(import.meta.url))-const folderPath = path.join(__dirname, '../.contentlayer/generated/staticContent')+const folderPath = path.join(__dirname, '../.generated/staticContent')try {await fs.mkdir(folderPath, { recursive: true })} catch (error) {@@ -79,9 +224,19 @@ try {}// Write static content to file-const filePath = path.join(__dirname, '../.contentlayer/generated/staticContent/_index.json')+const filePath = path.join(__dirname, '../.generated/staticContent/_index.json')await fs.writeFile(filePath,- JSON.stringify({ latestBlogPosts: latestBlogPosts, jobsCount: careersCount, githubStars: stars }),+ JSON.stringify(+ {+ latestBlogPosts: latestBlogPosts,+ jobsCount: careersCount,+ githubStars: stars,+ },+ null,+ 2+ ),'utf8')++console.log(`✅ Generated static content with ${latestBlogPosts.length} blog posts`)diff --git a/apps/www/types/post.ts b/apps/www/types/post.tsindex d5ab8ad9aaa..8413e1aefd9 100644--- a/apps/www/types/post.ts+++ b/apps/www/types/post.ts@@ -1,6 +1,9 @@-type PostTypes = {- slug?: string+import type { getSortedPosts } from 'lib/posts'+import type { MDXRemoteSerializeResult } from 'next-mdx-remote'++export interface PostTypes {type: 'casestudy' | 'blog' | 'event'+ slug?: stringtitle: stringname?: stringdate: string@@ -36,6 +39,188 @@ type PostTypes = {target?: '_blank' | '_self'label?: string} // used on event previews to link to a custom event page+ isCMS?: boolean+}++export type Event = {+ slug: string+ source: string+ content: any+}++type EventType = 'webinar' | 'meetup' | 'conference' | 'talk' | 'hackathon' | 'launch_week'++type CTA = {+ url: string+ label?: string+ disabled_label?: string+ disabled?: boolean+ target?: '_blank' | '_self'+}++type CompanyType = {+ name: string+ website_url: string+ logo: string+ logo_light: string+}++export type StaticAuthor = {+ author: string+ author_image_url: string | null+ author_url: string+ position: string+}++export type CMSAuthor = {+ author: string+ author_image_url:+ | {+ url: string+ }+ | string+ | null+ author_url: string+ position: string+}++export type Blog = {+ slug: string+ title: string+ description?: string+ content: MDXRemoteSerializeResult+ toc: string | { content: string }+ author?: string+ authors?: (CMSAuthor | StaticAuthor)[]+ date: string+ categories?: string[]+ tags?:+ | string[]+ | Array<{+ id: number+ documentId: string+ name: string+ createdAt: string+ updatedAt: string+ publishedAt: string+ }>+ toc_depth?: number+ video?: string+ docs_url?: string+ blog_url?: string+ url?: string+ source: string+ image?: string+ thumb?: string+ youtubeHero?: string+ launchweek?: number | string+ meta_title?: string+ meta_description?: string+ meta_image?: string+ isCMS?: boolean}+export type BlogData = {+ slug: string+ title: string+ description?: string+ content: MDXRemoteSerializeResult+ toc: string | { content: string }+ author?: string+ authors?: (CMSAuthor | StaticAuthor)[]+ date: string+ categories?: string[]+ tags?:+ | string[]+ | Array<{+ id: number+ documentId: string+ name: string+ createdAt: string+ updatedAt: string+ publishedAt: string+ }>+ toc_depth?: number+ docs_url?: string+ blog_url?: string+ url?: string+ source: string+ image?: string+ thumb?: string+ youtubeHero?: string+ launchweek?: number | string+ meta_title?: string+ meta_description?: string+ meta_image?: string+ video?: string+ isCMS?: boolean+}++export type Tag =+ | string+ | {+ name: string+ id: number+ documentId: string+ createdAt: string+ updatedAt: string+ publishedAt: string+ }++export type Category = string | { name: string }++// Add a new type for processed blog data+export type ProcessedBlogData = Blog &+ BlogData & {+ needsSerialization?: boolean+ }++export type ProcessedEventData = EventData & {+ needsSerialization?: boolean+}++export interface EventData {+ title: string+ subtitle?: string+ main_cta?: CTA+ description: string+ type: EventType+ company?: CompanyType+ onDemand?: boolean+ disable_page_build?: boolean+ duration?: string+ timezone?: string+ tags?: string[]+ date: string+ end_date?: string+ speakers: string+ speakers_label?: string+ og_image?: string+ thumb?: string+ thumb_light?: string+ youtubeHero?: string+ author_url?: string+ launchweek?: number | string+ meta_title?: string+ meta_description?: string+ video?: string+ isCMS?: boolean+}++export interface CMSPostTypes extends PostTypes {+ isCMS?: boolean+ authors?: Array<{+ author: string+ author_id: string+ position: string+ author_url: string+ author_image_url: {+ url: string+ }+ username: string+ }>+}++export type PostReturnType = ReturnType<typeof getSortedPosts>[number]+export default PostTypesdiff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 30bc57a9c47..e66d081a634 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -88,38 +88,38 @@ importers:apps/cms:dependencies:'@payloadcms/admin-bar':- specifier: ^3.50.0+ specifier: ^3.52.0'@payloadcms/db-postgres':- specifier: ^3.50.0- version: 3.50.0(@electric-sql/[email protected])(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))([email protected])+ specifier: ^3.52.0+ version: 3.54.0(@electric-sql/[email protected])(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))([email protected])'@payloadcms/live-preview-react':- specifier: ^3.50.0+ specifier: ^3.52.0'@payloadcms/next':- 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])+ specifier: 3.52.0+ version: 3.52.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.50.0+ specifier: 3.52.0'@payloadcms/plugin-form-builder':- 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])+ specifier: 3.52.0+ version: 3.52.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.50.0+ specifier: 3.52.0'@payloadcms/plugin-seo':- 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])+ specifier: 3.52.0+ version: 3.52.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.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])+ specifier: 3.52.0+ version: 3.52.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.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])+ specifier: 3.52.0+ version: 3.52.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.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])+ specifier: 3.52.0+ version: 3.52.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.2version: 1.3.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])@@ -132,12 +132,21 @@ importers:'@radix-ui/react-slot':specifier: ^1.2.3version: 1.2.3(@types/[email protected])([email protected])+ '@types/node':+ specifier: 'catalog:'+ version: 22.13.14+ '@types/react':+ specifier: 'catalog:'+ version: 18.3.3+ '@types/react-dom':+ specifier: 'catalog:'+ version: 18.3.0class-variance-authority:specifier: ^0.7.1version: 0.7.1clsx:- specifier: ^1.2.1- version: 1.2.1+ specifier: ^2.1.1+ version: 2.1.1common:specifier: workspace:*version: link:../../packages/common@@ -163,8 +172,8 @@ importers: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.50.0- version: 3.50.0([email protected])([email protected])+ specifier: 3.52.0+ version: 3.52.0([email protected])([email protected])pg:specifier: ^8.16.3version: 8.16.3@@ -183,22 +192,12 @@ importers:tailwind-merge:specifier: ^1.13.2version: 1.14.0- devDependencies:- '@types/node':- specifier: 'catalog:'- version: 22.13.14- '@types/react':- specifier: 'catalog:'- version: 18.3.3- '@types/react-dom':- specifier: 'catalog:'- version: 18.3.0tsx:specifier: ^4.19.3version: 4.19.3typescript:- specifier: 5.7.3- version: 5.7.3+ specifier: ~5.5.0+ version: 5.5.2apps/design-system:dependencies:@@ -373,7 +372,7 @@ importers:version: 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: ^10.3.0- version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])+ version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[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])'@supabase/supabase-js':specifier: 'catalog:'version: 2.49.3@@ -782,7 +781,7 @@ importers:version: 1.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: ^10.3.0- version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])+ version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[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])'@std/path':specifier: npm:@jsr/std__path@^1.0.8version: '@jsr/[email protected]'@@ -1528,7 +1527,7 @@ importers:version: 15.3.1'@next/mdx':specifier: 15.3.1- version: 15.3.1(@mdx-js/[email protected]([email protected])([email protected]([email protected])))(@mdx-js/[email protected]([email protected]))+ version: 15.3.1(@mdx-js/[email protected]([email protected])([email protected]))(@mdx-js/[email protected]([email protected]))'@octokit/auth-app':specifier: ^7.0.0version: 7.1.5@@ -1544,12 +1543,15 @@ importers:'@octokit/rest':specifier: ^21.0.0version: 21.1.1+ '@payloadcms/live-preview-react':+ specifier: ^3.0.0'@radix-ui/react-dialog':specifier: ^1.0.5version: 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: ^10- version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[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]))+ version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[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])'@supabase/supabase-js':specifier: 'catalog:'version: 2.49.3@@ -1583,9 +1585,6 @@ importers:config:specifier: workspace:*version: link:../../packages/config- contentlayer2:- specifier: 0.5.3dayjs:specifier: ^1.11.12version: 1.11.13@@ -1613,9 +1612,6 @@ importers: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])- next-contentlayer2:- specifier: 0.5.3- version: 0.5.3([email protected]([email protected])([email protected])([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])next-mdx-remote:specifier: ^4.4.1@@ -3196,15 +3192,9 @@ packages:'@contentlayer2/[email protected]':resolution: {integrity: sha512-ZJ+Iiu2rVI50x60XoqnrsO/Q8eqFX5AlP1L0U/3ygaAas3tnOqTzQZ1UsxYQMpJzcLok24ddlhKfQKbCMUJPiQ==}- '@contentlayer2/[email protected]':- resolution: {integrity: sha512-8xO+piFSNVq5Ad2P3D30nM0BzQh1qQ0Q4kIx2otlLhYe3tdeuf3TCB3nFZTgfOJESnZABxqy6XTcfpmeAfNd/Q==}-'@contentlayer2/[email protected]':resolution: {integrity: sha512-Znz6zW0ShVRq3OCQ6SwsfPQ1Wn28dQpiL33r53OjWuiirXhaSdam4MXRjYSFzCq5JK0kY6Hx0CF0fk3oVbsiVQ==}- '@contentlayer2/[email protected]':- resolution: {integrity: sha512-ZlrPpNhK+jNF00f20G6MIlELiEnVjUPuyjXeRHNsq582DzqcdgE/Etqa5O5zJ9/w3fhvyj5N1h7fP0MLFoswPw==}-'@contentlayer2/[email protected]':resolution: {integrity: sha512-jNagCFHLB8u/qfjoAI+JUuz3jf2hxYFYusgfh+oSq9+jHala4bbLEJOhJmmaY1Dmv2AV6BI7W8Jjy6WIu5g5Yg==}peerDependencies:@@ -3216,29 +3206,12 @@ packages:markdown-wasm:optional: true- '@contentlayer2/[email protected]':- resolution: {integrity: sha512-qGDryuO+6Uw0U8JZ9cdrxzieEJkkwuTuT+soycnYFShuvqofb+wkpktnsaTn4wUXLd5ut/ngPrH/9w/IbOlF2w==}- peerDependencies:- esbuild: ^0.25.2- markdown-wasm: 1.x- peerDependenciesMeta:- esbuild:- optional: true- markdown-wasm:- optional: true-'@contentlayer2/[email protected]':resolution: {integrity: sha512-NaLkK9iJcjS7xdqbtEJElEXhdEXv47yj4Ju2TCiZU7/8veQQ67QwtTDesyRMSw4mBt5+hxiAcqvf0hKaHh6lxw==}- '@contentlayer2/[email protected]':- resolution: {integrity: sha512-kESg2zAJKDQio5rCILpFPhsWklX5xmMdlJa9KSj5UdXMd7/gY+q0GiVqZ2PAmZi5+hG73pVihg9ieC2TEjLSIQ==}-'@contentlayer2/[email protected]':resolution: {integrity: sha512-uow1teWiAJA0WNbqqjEz4FfLPQF6BpdhRfF8JHgX7r8jzqChB5zS8bXX9xJDGhn41oEqR/FDDI1Pn7564H8lsA==}- '@contentlayer2/[email protected]':- resolution: {integrity: sha512-0dxoLfS7EbVR3Xap4MPSmzLvQCGrMwtXVIA4ZmRHLOGzG+vWpaY9BtnCACb/Om4tUQBsCA9oduBjNqRu4Sx+gQ==}-'@contentlayer2/[email protected]':resolution: {integrity: sha512-E360wNhvGemU1X+uhIwkzA5v+b8U5Q+Gps50uIDAVW6TWV9boUgAGPspSXXcFAIYG+H4z2eV3jTZjFCwyXGMxg==}peerDependencies:@@ -3247,14 +3220,6 @@ packages:'@effect-ts/otel-node':optional: true- '@contentlayer2/[email protected]':- resolution: {integrity: sha512-2nTFhZ7xnOevoZQnGP6BSIkTCpNos1PkGJ894gMYSmRMaMkyv+9VE9adoa0sywIA1y01iLU8niqcxJiuCQ1OkQ==}- peerDependencies:- '@effect-ts/otel-node': '*'- peerDependenciesMeta:- '@effect-ts/otel-node':- optional: true-'@cspotcode/[email protected]':resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}engines: {node: '>=12'}@@ -5220,109 +5185,109 @@ packages:resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==}engines: {node: '>= 10.0.0'}- '@payloadcms/[email protected]':- resolution: {integrity: sha512-q9DzV5+rIyFsogkk5yndmEIENaCsWSknKelPlvMSvbhmX3SVFpWVCMHpN8zBojMjgBlC1DbasSS7msdlDIyZCw==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-aBwwt2+C19uIaKgfeKd9DgMLQyf0GWKHs1rTkk5xtiNVUzHfazbQoSu54FivgXLTyN+zGr5q44acfNdsTZFPxw==}peerDependencies:react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-Uvnv1EotdO0eElg3LJgr8nar3yQc4qYh+T0NtaTAz+usbI7gPM4BwX3pAcig3/fHF3WgG7zQbrCuBU+a+ljIZA==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-C1tADNHHRTfXyJ6UXTPrHhDVji8kQFKPmT3R/LxOfXwMX5SQanfGx4dGotug647EuZCLgP9YH/ASmGgSFG2RjQ==}peerDependencies:- payload: 3.50.0+ payload: 3.54.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-sRaSWoPogLb7Vo/8w+xAur/pwkNw2PVmiY0nRnCmdZFG82dLMIu1fZXj7C3ZhzaiSYwQuekwtmKFKFopknAtdA==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-nz3luQKWav/CGfPKIRMl9lwmgs11HYWvlTpsGUnni8/cJl4EZgi05/Z4yLz3T6RJLbzyCpqvV1D+8tmdRPIHBw==}peerDependencies:- payload: 3.50.0+ payload: 3.54.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-/cI57DBLyM5/N1rzxWvbpqLKrrx4hAxODaqjSC1Q5okBvmSc7okJzRxSL9yXqziAk+Xd+tzQ+fLzyr23fvT40A==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-2lC5MVm3AT/jrfwJk+zd7dmSlnqLhRJNyi0QowDyLgXeOLXpzyakJ6KzK0OjbArNY1rqny00jw8G1/lJtpywKA==}engines: {node: ^18.20.2 || >=20.9.0}peerDependencies:- payload: 3.50.0+ payload: 3.52.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-BrhtTaEOmnK2fbBOMbr1sbOh0hTI6pl9fZ0Y+PzlS9/2SjjDJBe1xv2v6YjhujklTaU0GaKLs6xFHA8u+ppoAQ==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-F8jaMldtxzgVUVYt18t36OgcYf6wUkM9kFVxbtY4LzpzaUVV8NhaBQsPKWAOGCOSn4wqJITbLVHm6edh6WjTwg==}hasBin: truepeerDependencies:graphql: ^16.8.1- payload: 3.50.0+ payload: 3.52.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-LzXD0AOtzXsCq6IUW3Hkzza2I4XClXwWBnHr9cS36q7Xh05zIS1yN/cgf6h1ilykSHDkv0JZEjQviFeQT5+5Og==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-vTHhwnKEn1oRfQAllPKiNzqcw5UhuP+FBdlD2fPkFEEA7TL/+eV75gROYu+/gBv4g5ZTA+AHtE3UvRuNEUHdTA==}peerDependencies:react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc-65a56d0e-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-Twux96/MxleN0zDTr5f1DmarRo5igRN5dxQpcME8N7tP/PiXQTqmaRiMY4ayQ3q32gnZIXvcYi8HknrC+eiiMA==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-BJjgrbOe/lnt3RNjwtpzv23n1snEKSYhpEupYyhSuImWTQ4FfppgyxYLLdtoGP0kbwhFN1VP2+sZtfbaW42F7w==}- '@payloadcms/[email protected]':- resolution: {integrity: sha512-9piyBDLsVW4huCKgas6eorq5PcKM1VoTZ2spWkaLQ9hbWYBspblGVkb3kcMWVGGYSA6Yw4qJlhomAqIY/sVoFA==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-Cy23EDAMatFB/hx17DhG7RmFFVmacuoNZIlEEkjrTHk+XAQW1TAGBch7TcuFGbzciwvt6pb/MuiPbe3T0/hgqA==}engines: {node: ^18.20.2 || >=20.9.0}peerDependencies:graphql: ^16.8.1next: ^15.2.3- payload: 3.50.0+ payload: 3.52.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-wH8/kOYA/m5zXVJG5PQdxUNao3fb15aVRQUJbNfF8o6VBAZNXXCm9LJghUjcpyo5NGQai5Kjodycx/y+1PqrjA==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-y3pEWtV7/s8GFov+iW6VjkGW+LKBeXyL+iOojU9Bcre1fupmInfMyVu7zI1BS4c8w48Ia8GmDJzJgjkCOItLvQ==}peerDependencies:- payload: 3.50.0+ payload: 3.52.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-UJjIh8yKsRuAveFV3eegHGuOYwAzYhiVi8bZR9PNWfzD/WFQqwJmlnBM+fpC19ZiWKsPQf4M6g3PxFW2PkkaZw==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-LQ4144YVrVW5T9x0jKPMSWFj2UNaBrByS+84Z8PNvXNiWI3tCSGvzUR31kbiKXfO057qE2UZt+g//ZrL1H+pUA==}peerDependencies:- payload: 3.50.0+ payload: 3.52.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-DUrXIX+XAcrZi4kSm23KRnDWHLiQAcY2z/FUFs+HRQQoalAjH7iErOjH6b1uwZTEnCIPWkMiqvaGoE5Z7we5LQ==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-Jn9yoMCB2wMTU6uLos/iAp7stTdtf3YVT3onUzJ9otFDQTi6cYh9minYP2/BSTlJCKVNjbvmidpniqhg7xDYDg==}peerDependencies:- payload: 3.50.0+ payload: 3.52.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-d0tbolBtUgb5WAhXhEGN5XQSDDakj1lKpXExrXqR1JJM5tACNfFvwk9OugNsukcjPpSeDB1VZa4173kaKOOcQg==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-ZqX3GU9PTRXF5RKj3+ddUseUvJL3hQ+350e1erDQhMyGIFXH5KcYG+i0NW+2fL/fbOb6apFxD6QfK4zCBuP0MA==}peerDependencies:- payload: 3.50.0+ payload: 3.52.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-fwAd7yrC486o4RKYUfU8EyX40F1CEaRWSQsdsQxRdSmGj+vdypsD0QI8Gw0QXUAqzy/yX5CjGxIkgfq9skcs3A==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-GkrStaidYi9cI9XqGxGAcxP6R2pKgcxJXB3qTMGwJ6tRTNd8bVthR+dWDV5nD0NLJ8G/xb3T6NFfCYtdSpkJkg==}peerDependencies:- payload: 3.50.0+ payload: 3.52.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-bW3LdTdVvipcaxZL3GxvHky+WEN2x7w+jOkXIHHnYkd+PzgF3aL3mNjHJve9JDdqJF5cHFLq8mFBi9WQfs80FQ==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-iutfonJA91apP0psfcILMOJyMvEKDn8uYtVq7WUCKY8eM/aucxXaxs/r4WhKajRW1iRlX8BCbMeDzct/a/asPw==}engines: {node: ^18.20.2 || >=20.9.0}peerDependencies:'@faceless-ui/modal': 3.0.0-beta.2'@faceless-ui/scroll-info': 2.0.0- '@payloadcms/next': 3.50.0- payload: 3.50.0+ '@payloadcms/next': 3.52.0+ payload: 3.52.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-b37jENtIRG2TWMymthQEGMUeQSTqwqn9T0exnJZuo10D38z4zws72dYO2CLVHSFArtV6DwhpLoWsHQXAJLpX0w==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-hzZX8rDNSrvSKg/Ye+J3vEe4vHcHZybe2sP9nqMVL14XJSBPZdNqs6C5o7cBE/vFgKqdrExFi1Xo+NdzCY2HzQ==}engines: {node: ^18.20.2 || >=20.9.0}peerDependencies:- payload: 3.50.0+ payload: 3.52.0- '@payloadcms/[email protected]':- resolution: {integrity: sha512-Po3dnuY+cchLessSB4+r3Al5MF5joWoh7RFuMnOB/mcpBgkoSCP2bV9Th/U3CTc67CmEBArCnRrDtfSdE7eDrA==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-pzQRcOPMBNT2qYk8fO2t9D4Toe9eC+Wn/pE/tjwL3r/6TgfsORy0sif7/RDtoFMqTKwITU7hznz/x5IUaCijMA==}- '@payloadcms/[email protected]':- resolution: {integrity: sha512-oC9qCu1sPXeUpSCQ63zCOIWrFz9eY5xFXmCyUqEFrUI0xbeHMyVYfYUpIeFQmCR9MwaDiRdEf6CoKoD0Xk1Qog==}+ '@payloadcms/[email protected]':+ resolution: {integrity: sha512-ug80MbpxxFEGvoVlEHX9jc/eR5dtJ/2MOtHwFQDvDMmE5ZzWboFPiUrEvoCtAet1PINqL/mBCG3y7mowGXBzBg==}engines: {node: ^18.20.2 || >=20.9.0}peerDependencies:next: ^15.2.3- payload: 3.50.0+ payload: 3.52.0react: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020react-dom: ^19.0.0 || ^19.0.0-rc-65a56d0e-20241020@@ -10154,11 +10119,6 @@ packages:engines: {node: '>=14.18'}hasBin: true- resolution: {integrity: sha512-0vHdTWsuTgY/dMKxhCc8wILoeaCK5ye42i1gRd1jOoKFXQ6q/eMnSp+gSE81V8wbBa2jv7cjP90xpiRfzaXTWw==}- engines: {node: '>=18'}- hasBin: true-resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==}@@ -10247,10 +10207,6 @@ packages:resolution: {integrity: sha512-p0SaNjrHOnQeR8/VnfGbmg9te2kfyYSQ7Sc/j/6DtPL3JQvKxmjO9TSjNFpujqV3vEYYBvNNvXSxzyksBWAx1Q==}engines: {node: '>=12.0.0'}- resolution: {integrity: sha512-onMB0OkDjkXunhdW9htFjEhqrD54+M94i6ackoUkjHKbRnXdyEyKRelp4nJ1kAz32+s27jP1FsebpJCVl0BsvA==}- engines: {node: '>=18.0'}-resolution: {integrity: sha512-p9nwwR4qyT5W996vBZhdvBCnMhicY5ytZkR4D1Xj0wuTDEiMnjwR57Q3RXYY/s0EpX6Ay3vgIcfaR+ewGHsi+g==}engines: {node: '>=18.0'}@@ -14205,14 +14161,6 @@ packages:react: '*'react-dom: '*'- resolution: {integrity: sha512-xNuiAJxeQOABiWsjJ6hFv/Ovb9vRujBgamaEjvYXiVecrBtCIyCDF3WpdDx4krfAd9WJRW8TN6OLpyZsG2ApjA==}- peerDependencies:- contentlayer2: 0.5.3- next: '>=12.0.0'- react: ^18 || ^19 || ^19.0.0-rc- react-dom: ^18 || ^19 || ^19.0.0-rc-resolution: {integrity: sha512-1BvyXaIou6xy3XoNF4yaMZUCb6vD2GTAa5ciOa6WoO+gAUTYsb1K4rI/HSC2ogAWLrb/7VSV52skz07vOzmqIQ==}engines: {node: '>=14', npm: '>=7'}@@ -14843,8 +14791,8 @@ packages:resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==}engines: {node: '>= 14.16'}- resolution: {integrity: sha512-zIDV+NRjp/unb4rPBp7SxOgc1vTKh/ZvNckMEvUgB4OG3XW7tiI/93CCZkht2kNsK9f+KpZqjsOQ2eFPfQ0DaA==}+ resolution: {integrity: sha512-Zft3sHTNJRUGkp7j7/aZ+TYSPuIsIxNe9qIrI0Bwk6kgS0YkRvI4BSCN6+2bNRT5MNpxnshoe17CBdkQl6emvw==}engines: {node: ^18.20.2 || >=20.9.0}hasBin: truepeerDependencies:@@ -20016,18 +19964,6 @@ snapshots:- markdown-wasm- supports-color- dependencies:- '@contentlayer2/utils': 0.5.3- clipanion: 3.2.1([email protected])- typanion: 3.14.0- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color-dependencies:@@ -20037,15 +19973,6 @@ snapshots:- markdown-wasm- supports-color- dependencies:- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color-dependencies:'@contentlayer2/utils': 0.4.3@@ -20067,27 +19994,6 @@ snapshots:- '@effect-ts/otel-node'- supports-color- dependencies:- '@contentlayer2/utils': 0.5.3- camel-case: 4.1.2- comment-json: 4.2.3- gray-matter: 4.0.3- mdx-bundler: 10.0.2([email protected])([email protected])- rehype-stringify: 10.0.0- remark-frontmatter: 5.0.0([email protected])- remark-parse: 11.0.0([email protected])- remark-rehype: 11.1.1- source-map-support: 0.5.21- type-fest: 4.30.0- unified: 11.0.5- optionalDependencies:- esbuild: 0.25.2- markdown-wasm: 1.2.0- transitivePeerDependencies:- - '@effect-ts/otel-node'- - supports-color-dependencies:@@ -20107,25 +20013,6 @@ snapshots:- markdown-wasm- supports-color- dependencies:- '@contentlayer2/utils': 0.5.3- chokidar: 3.6.0- fast-glob: 3.3.3- gray-matter: 4.0.3- imagescript: 1.3.0- micromatch: 4.0.8- ts-pattern: 5.1.1- unified: 11.0.5- yaml: 2.4.5- zod: 3.25.76- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color-dependencies:@@ -20137,17 +20024,6 @@ snapshots:- markdown-wasm- supports-color- dependencies:- '@contentlayer2/utils': 0.5.3- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color-'@contentlayer2/[email protected]':dependencies:'@effect-ts/core': 0.60.5@@ -20169,27 +20045,6 @@ snapshots:ts-pattern: 5.1.1type-fest: 4.30.0- '@contentlayer2/[email protected]':- dependencies:- '@effect-ts/core': 0.60.5- '@effect-ts/otel': 0.15.1(@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))- '@effect-ts/otel-sdk-trace-node': 0.15.1(@effect-ts/[email protected])(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))- '@js-temporal/polyfill': 0.4.4- '@opentelemetry/api': 1.9.0- '@opentelemetry/core': 1.30.1(@opentelemetry/[email protected])- '@opentelemetry/exporter-trace-otlp-grpc': 0.51.1(@opentelemetry/[email protected])- '@opentelemetry/resources': 1.30.1(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-base': 1.30.1(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-node': 1.24.1(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.36.0- chokidar: 3.6.0- hash-wasm: 4.11.0- inflection: 3.0.0- memfs: 4.14.1- oo-ascii-tree: 1.98.0- ts-pattern: 5.1.1- type-fest: 4.30.0-'@cspotcode/[email protected]':dependencies:'@jridgewell/trace-mapping': 0.3.9@@ -21764,15 +21619,6 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- '@mdx-js/mdx': 2.3.0([email protected])- source-map: 0.7.4- webpack: 5.94.0([email protected])- transitivePeerDependencies:- - supports-color- optional: true-dependencies:'@mdx-js/mdx': 2.3.0([email protected])@@ -21958,13 +21804,6 @@ snapshots:dependencies:fast-glob: 3.3.1- '@next/[email protected](@mdx-js/[email protected]([email protected])([email protected]([email protected])))(@mdx-js/[email protected]([email protected]))':- dependencies:- source-map: 0.7.4- optionalDependencies:- '@mdx-js/react': 2.3.0([email protected])-'@next/[email protected](@mdx-js/[email protected]([email protected])([email protected]))(@mdx-js/[email protected]([email protected]))':dependencies:source-map: 0.7.4@@ -22709,19 +22548,19 @@ snapshots:'@parcel/watcher-win32-ia32': 2.5.1'@parcel/watcher-win32-x64': 2.5.1dependencies:react: 18.3.1react-dom: 18.3.1([email protected])- '@payloadcms/[email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])([email protected]([email protected])([email protected]))([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])+ '@payloadcms/drizzle': 3.54.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.1drizzle-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])+ payload: 3.52.0([email protected])([email protected])pg: 8.16.3prompts: 2.4.2to-snake-case: 1.0.0@@ -22757,12 +22596,12 @@ snapshots:- sqlite3- supports-color- '@payloadcms/[email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[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.1dequal: 2.0.3drizzle-orm: 0.44.2(@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])- payload: 3.50.0([email protected])([email protected])+ payload: 3.52.0([email protected])([email protected])prompts: 2.4.2to-snake-case: 1.0.0uuid: 9.0.0@@ -22797,36 +22636,36 @@ snapshots:- sql.js- sqlite3dependencies:nodemailer: 6.9.16- payload: 3.50.0([email protected])([email protected])+ payload: 3.52.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.50.0([email protected])([email protected])+ payload: 3.52.0([email protected])([email protected])pluralize: 8.0.0- ts-essentials: 10.0.3([email protected])+ ts-essentials: 10.0.3([email protected])tsx: 4.19.2transitivePeerDependencies:- typescriptdependencies:- '@payloadcms/live-preview': 3.50.0+ '@payloadcms/live-preview': 3.54.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.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])+ '@payloadcms/graphql': 3.52.0([email protected])([email protected]([email protected])([email protected]))([email protected])+ '@payloadcms/translations': 3.52.0+ '@payloadcms/ui': 3.52.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@@ -22836,7 +22675,7 @@ 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.50.0([email protected])([email protected])+ payload: 3.52.0([email protected])([email protected])qs-esm: 7.0.2sass: 1.77.4uuid: 10.0.0@@ -22848,25 +22687,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.50.0([email protected])([email protected])+ payload: 3.52.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.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': 3.52.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.50.0([email protected])([email protected])+ payload: 3.52.0([email protected])([email protected])range-parser: 1.2.1react: 18.3.1react-dom: 18.3.1([email protected])@@ -22877,11 +22716,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.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': 3.52.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.50.0([email protected])([email protected])+ payload: 3.52.0([email protected])([email protected])react: 18.3.1react-dom: 18.3.1([email protected])transitivePeerDependencies:@@ -22891,15 +22730,15 @@ snapshots:- supports-color- typescriptdependencies:- payload: 3.50.0([email protected])([email protected])+ payload: 3.52.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.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])+ '@payloadcms/translations': 3.52.0+ '@payloadcms/ui': 3.52.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.52.0([email protected])([email protected])react: 18.3.1react-dom: 18.3.1([email protected])transitivePeerDependencies:@@ -22909,7 +22748,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:@@ -22923,9 +22762,9 @@ snapshots:'@lexical/selection': 0.28.0'@lexical/table': 0.28.0'@lexical/utils': 0.28.0- '@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])+ '@payloadcms/next': 3.52.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.52.0+ '@payloadcms/ui': 3.52.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@@ -22937,12 +22776,12 @@ 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.50.0([email protected])([email protected])+ payload: 3.52.0([email protected])([email protected])qs-esm: 7.0.2react: 18.3.1react-dom: 18.3.1([email protected])react-error-boundary: 4.1.2([email protected])- ts-essentials: 10.0.3([email protected])+ ts-essentials: 10.0.3([email protected])uuid: 10.0.0transitivePeerDependencies:- '@types/react'@@ -22952,13 +22791,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.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])+ '@payloadcms/plugin-cloud-storage': 3.52.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.52.0([email protected])([email protected])transitivePeerDependencies:- '@types/react'- aws-crt@@ -22969,11 +22808,11 @@ 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@@ -22983,14 +22822,14 @@ snapshots:'@monaco-editor/react': 4.7.0([email protected])([email protected]([email protected]))([email protected])- '@payloadcms/translations': 3.50.0+ '@payloadcms/translations': 3.52.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.50.0([email protected])([email protected])+ payload: 3.52.0([email protected])([email protected])qs-esm: 7.0.2react: 18.3.1@@ -22999,7 +22838,7 @@ snapshots:react-select: 5.9.0(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])scheduler: 0.25.0- ts-essentials: 10.0.3([email protected])+ ts-essentials: 10.0.3([email protected])use-context-selector: 2.0.0([email protected])([email protected])uuid: 10.0.0transitivePeerDependencies:@@ -25465,33 +25304,7 @@ snapshots:'@sentry/[email protected]': {}- '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[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]))':- dependencies:- '@opentelemetry/api': 1.9.0- '@opentelemetry/semantic-conventions': 1.36.0- '@rollup/plugin-commonjs': 28.0.1([email protected])- '@sentry-internal/browser-utils': 10.3.0- '@sentry/core': 10.3.0- '@sentry/node': 10.3.0([email protected])- '@sentry/opentelemetry': 10.3.0(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])- '@sentry/react': 10.3.0([email protected])- '@sentry/vercel-edge': 10.3.0- '@sentry/webpack-plugin': 4.0.2([email protected])([email protected])([email protected]([email protected]))- chalk: 3.0.0- next: 15.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])- resolve: 1.22.8- rollup: 4.38.0- stacktrace-parser: 0.1.10- transitivePeerDependencies:- - '@opentelemetry/context-async-hooks'- - '@opentelemetry/core'- - '@opentelemetry/sdk-trace-base'- - encoding- - react- - supports-color- - webpack-- '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])':+ '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[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])':dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/semantic-conventions': 1.36.0@@ -25570,15 +25383,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@sentry/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])':- dependencies:- '@opentelemetry/api': 1.9.0- '@opentelemetry/context-async-hooks': 2.0.1(@opentelemetry/[email protected])- '@opentelemetry/core': 1.30.1(@opentelemetry/[email protected])- '@opentelemetry/sdk-trace-base': 1.30.1(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.36.0- '@sentry/core': 10.3.0-'@sentry/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])':dependencies:'@opentelemetry/api': 1.9.0@@ -25601,16 +25405,6 @@ snapshots:'@opentelemetry/resources': 2.0.1(@opentelemetry/[email protected])'@sentry/core': 10.3.0- '@sentry/[email protected]([email protected])([email protected])([email protected]([email protected]))':- dependencies:- '@sentry/bundler-plugin-core': 4.0.2([email protected])([email protected])- unplugin: 1.0.1- uuid: 9.0.1- webpack: 5.94.0([email protected])- transitivePeerDependencies:- - encoding- - supports-color-dependencies:'@sentry/bundler-plugin-core': 4.0.2([email protected])([email protected])@@ -26849,7 +26643,7 @@ snapshots:dependencies:'@tanstack/virtual-file-routes': 1.114.12prettier: 3.5.3- tsx: 4.19.3+ tsx: 4.20.3zod: 3.25.76optionalDependencies:@@ -27499,7 +27293,7 @@ snapshots:'@types/[email protected]':dependencies:'@types/node': 22.13.14- pg-protocol: 1.7.1+ pg-protocol: 1.10.3pg-types: 4.0.2'@types/[email protected]':@@ -29209,20 +29003,6 @@ snapshots:- markdown-wasm- supports-color- dependencies:- '@contentlayer2/source-remote-files': 0.5.3([email protected])([email protected])([email protected])- '@contentlayer2/utils': 0.5.3- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color-@@ -29300,8 +29080,6 @@ snapshots:dependencies:luxon: 3.5.0- [email protected]: {}-@@ -34216,20 +33994,6 @@ snapshots:- markdown-wasm- supports-color- [email protected]([email protected]([email protected])([email protected])([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]):- dependencies:- '@contentlayer2/utils': 0.5.3- next: 15.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])- transitivePeerDependencies:- - '@effect-ts/otel-node'- - esbuild- - markdown-wasm- - supports-color-dependencies:'@mdx-js/mdx': 2.3.0([email protected])@@ -34313,7 +34077,7 @@ snapshots:confbox: 0.2.1consola: 3.4.2cookie-es: 2.0.0- croner: 9.0.0+ croner: 9.1.0crossws: 0.3.4db0: 0.3.1(@electric-sql/[email protected])([email protected](@electric-sql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))defu: 6.1.4@@ -35031,10 +34795,10 @@ snapshots:dependencies:'@next/env': 15.3.3- '@payloadcms/translations': 3.50.0+ '@payloadcms/translations': 3.52.0'@types/busboy': 1.5.4ajv: 8.17.1bson-objectid: 2.0.4@@ -35060,7 +34824,7 @@ snapshots:qs-esm: 7.0.2sanitize-filename: 1.6.3scmp: 2.1.0- ts-essentials: 10.0.3([email protected])+ ts-essentials: 10.0.3([email protected])tsx: 4.20.3undici: 7.10.0uuid: 10.0.0@@ -37771,6 +37535,7 @@ snapshots:webpack: 5.94.0([email protected])optionalDependencies:esbuild: 0.25.2+ optional: truedependencies:@@ -37956,9 +37721,9 @@ snapshots:optionalDependencies:- typescript: 5.7.3+ typescript: 5.5.2@@ -39130,6 +38895,7 @@ snapshots:- '@swc/core'- esbuild- uglify-js+ optional: truedependencies:diff --git a/turbo.json b/turbo.jsonindex cefe8e664e6..d67bdaf8ca6 100644--- a/turbo.json+++ b/turbo.json@@ -12,7 +12,10 @@"BLOG_APP_URL","CRON_SECRET","DATABASE_URI",+ "NEXT_PUBLIC_VERCEL_BRANCH_URL","NEXT_PUBLIC_SERVER_URL",+ "NEXT_PUBLIC_VERCEL_ENV",+ "NODE_ENV","PAYLOAD_SECRET","PREVIEW_SECRET","S3_BUCKET",@@ -111,6 +114,8 @@"dependsOn": ["^build"],"env": ["ANALYZE",+ "CMS_API_KEY",+ "CMS_PREVIEW_SECRET","NEXT_PUBLIC_MISC_USE_URL","NEXT_PUBLIC_MISC_USE_ANON_KEY","NEXT_PUBLIC_STUDIO_URL",