diff --git a/TODO.md b/TODO.md index 58d0471..48086b8 100755 --- a/TODO.md +++ b/TODO.md @@ -169,6 +169,7 @@ Cél: a weboldal magyar (alapértelmezett, prefix nélkül, pl. `/rolunk`) és a | MITHOME-135 | Mentési megőrzés 14 napra a weboldalon (a salutem kapacitásának ellenőrzése után) | 📋 | | MITHOME-136 | A weboldal adatbázisának átállítása MongoDB-ről PostgreSQL-re (élesítés előtt) | 🔄 staging átállt, tesztek zöldek; hátra: a MongoDB kivezetése a következő kiadással | | MITHOME-137 | Port-ellenőrzés minden portdefiníció előtt (deploy és eldobható konténerek) | ✅ | +| MITHOME-138 | Home: a usps/items sorok szerkeszthető azonosítója külön `key` mezőbe | 🔄 kész a main-en, staging deployra vár | | MITHOME-24 | Performance optimalizálás | 📋 | | MITHOME-25 | Reszponzív design finomítása | 📋 | | MITHOME-26 | Analytics integráció (Plausible / GA4) | 📋 | @@ -225,6 +226,7 @@ docker-compose -f docker-compose.dev.yml down ## Frissítési Napló - **2026-09-29**: Staging deploy (`3a8b2eb`). Mentés: `~/backups/mozdit-staging-20260929-182546-pre-mithome-133.archive`. 459 unit teszt, az indexelhetőségi őr és 10/10 smoke zöld. A `20260929_atlantisz_pending` lefutott: az Atlantisz „Egyeztetés alatt” állapotban van (MITHOME-133), a főoldalon csak az Angele látszik. - **2026-09-29**: Atlantisz logó: a honlapjukról letöltött `atlantisz_logo.png` felirata fehér (sötét fejléchez készült), a mi világos oldalunkon olvashatatlan, és a logón álló név („Pihenőpark & Halásztanya”) eltér az admin-bejegyzéstől. Felhasználói döntés: később rendezzük, addig **pending** (egyeztetés alatt). A partner_references migráció a még le nem futott környezetekben pendinggel sorol be; a stagingre a `20260929_atlantisz_pending` követő migráció állítja át (a következő deploykor). Új ticket: MITHOME-133. +- **2026-09-29**: MITHOME-138 kész (main, staging deploy még nem történt). A Home `about.usps` és `services.items` szerkeszthető `id`-ja külön `key` mezőbe került (PostgreSQL-ben a sor elsődleges kulcsa volt). A `20260929_213538_home_row_keys` migráció kézzel írt kitöltéssel másolja át az értékeket (fő tábla: `id`, verziótábla: `_uuid`). A staging `pg_dump`-ján próbálva: a kulcsok átkerültek, a második futás 0 lépés, a 14 publikus oldal szövege változatlan. A React-kulcsok a stabil `key`-re álltak. - **2026-09-29**: MITHOME-136 3.3: az integrációs (13/13) és az e2e (9/9) tesztek zöldek egy élő, PostgreSQL-es dev stacken az llmdev-en (`2166ab5`); egy elavult e2e-elvárás javítva. A MongoDB kivezetése (4.3) a tulajdonos döntése szerint a következő kiadással megy. - **2026-09-29**: MITHOME-136: a staging átállt PostgreSQL-re (`fe5594b`). Lépések: `POSTGRES_PASSWORD` generálva a szerveren (a `.env.staging` előtte mentve), export a futó staging MongoDB-ből, deploy (az app lefuttatta a kiinduló migrációt), import egy tranzakcióban, majd egy második, teljes deploy. Eredmény: a 14 publikus oldal szövege betűre egyezik az átállás előtti állapottal, a logó betölt, 11/11 smoke zöld, az admin (`ADMIN_EMAIL`) létrejött. Mentések: `~/backups/mozdit-staging-20260929-224411-pre-deploy.archive` (MongoDB), `…-225431-pre-deploy.pgdump`. A MongoDB-konténer egy kiadásig visszaútként marad. - **2026-09-29**: MITHOME-137 kiadva stagingre (`66b169c`). A port-ellenőrzés élesben lefutott a build előtt. Mentés: `~/backups/mozdit-staging-20260929-214434-pre-mithome-137.archive`. 516 unit teszt, az indexelhetőségi őr és 11/11 smoke zöld. diff --git a/proto/scripts/migrate-content-to-payload.ts b/proto/scripts/migrate-content-to-payload.ts index 1d55de1..7e692cc 100644 --- a/proto/scripts/migrate-content-to-payload.ts +++ b/proto/scripts/migrate-content-to-payload.ts @@ -73,10 +73,12 @@ function buildHomeData(json: typeof homeJson) { trustBullets: toStringArray(hero.trustBullets), cta: { primary: toCtaLink(hero.cta.primary), secondary: toCtaLink(hero.cta.secondary) }, }, - about, + // MITHOME-138: the JSON `id` is the row key, not the row id. + about: { ...about, usps: about.usps.map(({ id, ...usp }) => ({ key: id, ...usp })) }, services: { ...services, - items: services.items.map((item) => ({ + items: services.items.map(({ id, ...item }) => ({ + key: id, ...item, features: toStringArray(item.features), })), diff --git a/proto/scripts/transfer-content.ts b/proto/scripts/transfer-content.ts index 4282da1..a9c9c12 100644 --- a/proto/scripts/transfer-content.ts +++ b/proto/scripts/transfer-content.ts @@ -155,8 +155,9 @@ async function importBundle(file: string) { } for (const g of globals) { - const entry = bundle.globals[g.slug] - if (!entry) continue + const raw = bundle.globals[g.slug] + if (!raw) continue + const entry: BundleDoc = { published: upgradeDoc(g.slug, raw.published), ...(raw.draft ? { draft: upgradeDoc(g.slug, raw.draft) } : {}) } const slug = g.slug as GlobalSlug const status = hasDrafts(g) ? { _status: 'published' } : {} for (const locale of LOCALES) { diff --git a/proto/src/app/(frontend)/[locale]/layout.tsx b/proto/src/app/(frontend)/[locale]/layout.tsx index 378becc..c9c3660 100644 --- a/proto/src/app/(frontend)/[locale]/layout.tsx +++ b/proto/src/app/(frontend)/[locale]/layout.tsx @@ -57,7 +57,7 @@ export default async function LocaleLayout({ contactEmail={siteConfig.contact.email} footerAddress={common.footer.address} footerCopyright={common.footer.copyright} - homeServices={home.services.items.map((item) => ({ id: item.id, title: item.title, icon: item.icon }))} + homeServices={home.services.items.map((item) => ({ id: item.key, title: item.title, icon: item.icon }))} locale={locale} /> diff --git a/proto/src/components/views/HomeView.tsx b/proto/src/components/views/HomeView.tsx index afc93e6..0206e9f 100755 --- a/proto/src/components/views/HomeView.tsx +++ b/proto/src/components/views/HomeView.tsx @@ -116,7 +116,7 @@ export default function HomeView({ content: pageContent, partners, locale }: Hom
{(pageContent.about.usps ?? []).map((usp, index) => (
{pageContent.services.items.map((service, index) => (
diff --git a/proto/src/components/views/ServicesView.tsx b/proto/src/components/views/ServicesView.tsx index 2fc47cc..b8eaefe 100755 --- a/proto/src/components/views/ServicesView.tsx +++ b/proto/src/components/views/ServicesView.tsx @@ -30,7 +30,7 @@ export default function ServicesView({ content: pageContent, homeServices, featu
{homeServices.map((service) => ( -
+
{service.icon}
diff --git a/proto/src/globals/Home.ts b/proto/src/globals/Home.ts index 29aee23..a0db42c 100644 --- a/proto/src/globals/Home.ts +++ b/proto/src/globals/Home.ts @@ -55,7 +55,8 @@ export const Home: GlobalConfig = { name: 'usps', type: 'array', fields: [ - { name: 'id', type: 'text', required: true }, + // MITHOME-138: own field; as the row `id` it was the row's primary key. + { name: 'key', type: 'text', required: true, admin: { description: 'Rövid, egyedi azonosító (pl. hosting).' } }, { name: 'title', type: 'text', required: true, localized: true }, { name: 'description', type: 'textarea', required: true, localized: true }, { name: 'icon', type: 'text', required: true }, @@ -73,7 +74,8 @@ export const Home: GlobalConfig = { name: 'items', type: 'array', fields: [ - { name: 'id', type: 'text', required: true }, + // MITHOME-138: own field; as the row `id` it was the row's primary key. + { name: 'key', type: 'text', required: true, admin: { description: 'Rövid, egyedi azonosító (pl. hosting).' } }, { name: 'title', type: 'text', required: true, localized: true }, { name: 'description', type: 'textarea', required: true, localized: true }, { name: 'icon', type: 'text', required: true }, diff --git a/proto/src/lib/content-transfer.test.ts b/proto/src/lib/content-transfer.test.ts index a13d3d2..89aee51 100644 --- a/proto/src/lib/content-transfer.test.ts +++ b/proto/src/lib/content-transfer.test.ts @@ -92,4 +92,10 @@ describe('content transfer (MITHOME-136)', () => { expect(upgradeDoc('legal-pages', upgradeDoc('legal-pages', doc))).toEqual(upgradeDoc('legal-pages', doc)) expect(upgradeDoc('partners', doc)).toBe(doc) }) + it('should move the Home usps/items key out of the row id, keeping the row id', () => { + const home = { about: { usps: [{ id: 'egyszeru', icon: '🎯' }] }, services: { items: [{ id: 'hosting' }] } } + const upgraded = upgradeDoc('home', home) as { about: { usps: unknown[] }; services: { items: unknown[] } } + expect(upgraded.about.usps).toEqual([{ id: 'egyszeru', key: 'egyszeru', icon: '🎯' }]) + expect(upgraded.services.items).toEqual([{ id: 'hosting', key: 'hosting' }]) + }) }) diff --git a/proto/src/lib/content-transfer.ts b/proto/src/lib/content-transfer.ts index a3899b0..b8bf58f 100644 --- a/proto/src/lib/content-transfer.ts +++ b/proto/src/lib/content-transfer.ts @@ -58,8 +58,20 @@ function splitFields(fields: readonly Field[], source: Data, locale: Locale, ids * - legal-pages: the section anchor was the array row `id`; it is now the * `anchor` field, and the row id must be unique across all pages (it is a * table-wide primary key in PostgreSQL), so it becomes `-`. + * - home (global): the usps/items row `id` was the editable key; it is now the + * `key` field (MITHOME-138). The row id stays, so both locales hit the same row. */ +const withKey = (rows: unknown) => + Array.isArray(rows) + ? rows.map((row) => (isObject(row) && typeof row.id === 'string' && !('key' in row) ? { ...row, key: row.id } : row)) + : rows + export function upgradeDoc(collection: string, doc: Data): Data { + if (collection === 'home') { + const about = isObject(doc.about) ? { ...doc.about, usps: withKey(doc.about.usps) } : doc.about + const services = isObject(doc.services) ? { ...doc.services, items: withKey(doc.services.items) } : doc.services + return { ...doc, about, services } + } if (collection !== 'legal-pages' || !Array.isArray(doc.sections)) return doc return { ...doc, diff --git a/proto/src/migrations/20260929_213538_home_row_keys.json b/proto/src/migrations/20260929_213538_home_row_keys.json new file mode 100644 index 0000000..76d1f28 --- /dev/null +++ b/proto/src/migrations/20260929_213538_home_row_keys.json @@ -0,0 +1,11163 @@ +{ + "version": "7", + "dialect": "postgresql", + "tables": { + "public.users_sessions": { + "name": "users_sessions", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "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": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "name": { + "name": "name", + "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()" + }, + "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.legal_pages_sections": { + "name": "legal_pages_sections", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "anchor": { + "name": "anchor", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "legal_pages_sections_order_idx": { + "name": "legal_pages_sections_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "legal_pages_sections_parent_id_idx": { + "name": "legal_pages_sections_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "legal_pages_sections_parent_id_fk": { + "name": "legal_pages_sections_parent_id_fk", + "tableFrom": "legal_pages_sections", + "tableTo": "legal_pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.legal_pages_sections_locales": { + "name": "legal_pages_sections_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content": { + "name": "content", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "legal_pages_sections_locales_locale_parent_id_unique": { + "name": "legal_pages_sections_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "legal_pages_sections_locales_parent_id_fk": { + "name": "legal_pages_sections_locales_parent_id_fk", + "tableFrom": "legal_pages_sections_locales", + "tableTo": "legal_pages_sections", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.legal_pages_legal_validation_reviews": { + "name": "legal_pages_legal_validation_reviews", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "model": { + "name": "model", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "reviewed_at": { + "name": "reviewed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "verdict": { + "name": "verdict", + "type": "enum_legal_pages_legal_validation_reviews_verdict", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "result": { + "name": "result", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "notes": { + "name": "notes", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "legal_pages_legal_validation_reviews_order_idx": { + "name": "legal_pages_legal_validation_reviews_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "legal_pages_legal_validation_reviews_parent_id_idx": { + "name": "legal_pages_legal_validation_reviews_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "legal_pages_legal_validation_reviews_parent_id_fk": { + "name": "legal_pages_legal_validation_reviews_parent_id_fk", + "tableFrom": "legal_pages_legal_validation_reviews", + "tableTo": "legal_pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.legal_pages": { + "name": "legal_pages", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "en_translation_status": { + "name": "en_translation_status", + "type": "enum_legal_pages_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "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_legal_pages_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + } + }, + "indexes": { + "legal_pages_slug_idx": { + "name": "legal_pages_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "legal_pages_updated_at_idx": { + "name": "legal_pages_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "legal_pages_created_at_idx": { + "name": "legal_pages_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "legal_pages__status_idx": { + "name": "legal_pages__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.legal_pages_locales": { + "name": "legal_pages_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "last_updated": { + "name": "last_updated", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "legal_pages_locales_locale_parent_id_unique": { + "name": "legal_pages_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "legal_pages_locales_parent_id_fk": { + "name": "legal_pages_locales_parent_id_fk", + "tableFrom": "legal_pages_locales", + "tableTo": "legal_pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._legal_pages_v_version_sections": { + "name": "_legal_pages_v_version_sections", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "anchor": { + "name": "anchor", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_legal_pages_v_version_sections_order_idx": { + "name": "_legal_pages_v_version_sections_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_version_sections_parent_id_idx": { + "name": "_legal_pages_v_version_sections_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_legal_pages_v_version_sections_parent_id_fk": { + "name": "_legal_pages_v_version_sections_parent_id_fk", + "tableFrom": "_legal_pages_v_version_sections", + "tableTo": "_legal_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._legal_pages_v_version_sections_locales": { + "name": "_legal_pages_v_version_sections_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content": { + "name": "content", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_legal_pages_v_version_sections_locales_locale_parent_id_uni": { + "name": "_legal_pages_v_version_sections_locales_locale_parent_id_uni", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_legal_pages_v_version_sections_locales_parent_id_fk": { + "name": "_legal_pages_v_version_sections_locales_parent_id_fk", + "tableFrom": "_legal_pages_v_version_sections_locales", + "tableTo": "_legal_pages_v_version_sections", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._legal_pages_v_version_legal_validation_reviews": { + "name": "_legal_pages_v_version_legal_validation_reviews", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "model": { + "name": "model", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "reviewed_at": { + "name": "reviewed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "verdict": { + "name": "verdict", + "type": "enum__legal_pages_v_version_legal_validation_reviews_verdict", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "result": { + "name": "result", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "notes": { + "name": "notes", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_legal_pages_v_version_legal_validation_reviews_order_idx": { + "name": "_legal_pages_v_version_legal_validation_reviews_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_version_legal_validation_reviews_parent_id_idx": { + "name": "_legal_pages_v_version_legal_validation_reviews_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_legal_pages_v_version_legal_validation_reviews_parent_id_fk": { + "name": "_legal_pages_v_version_legal_validation_reviews_parent_id_fk", + "tableFrom": "_legal_pages_v_version_legal_validation_reviews", + "tableTo": "_legal_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._legal_pages_v": { + "name": "_legal_pages_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "parent_id": { + "name": "parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": false + }, + "version_slug": { + "name": "version_slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_en_translation_status": { + "name": "version_en_translation_status", + "type": "enum__legal_pages_v_version_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "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__legal_pages_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__legal_pages_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_legal_pages_v_parent_idx": { + "name": "_legal_pages_v_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_version_version_slug_idx": { + "name": "_legal_pages_v_version_version_slug_idx", + "columns": [ + { + "expression": "version_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_version_version_updated_at_idx": { + "name": "_legal_pages_v_version_version_updated_at_idx", + "columns": [ + { + "expression": "version_updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_version_version_created_at_idx": { + "name": "_legal_pages_v_version_version_created_at_idx", + "columns": [ + { + "expression": "version_created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_version_version__status_idx": { + "name": "_legal_pages_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_created_at_idx": { + "name": "_legal_pages_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_updated_at_idx": { + "name": "_legal_pages_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_snapshot_idx": { + "name": "_legal_pages_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_published_locale_idx": { + "name": "_legal_pages_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_legal_pages_v_latest_idx": { + "name": "_legal_pages_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_legal_pages_v_parent_id_legal_pages_id_fk": { + "name": "_legal_pages_v_parent_id_legal_pages_id_fk", + "tableFrom": "_legal_pages_v", + "tableTo": "legal_pages", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._legal_pages_v_locales": { + "name": "_legal_pages_v_locales", + "schema": "", + "columns": { + "version_title": { + "name": "version_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_last_updated": { + "name": "version_last_updated", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_legal_pages_v_locales_locale_parent_id_unique": { + "name": "_legal_pages_v_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_legal_pages_v_locales_parent_id_fk": { + "name": "_legal_pages_v_locales_parent_id_fk", + "tableFrom": "_legal_pages_v_locales", + "tableTo": "_legal_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.media": { + "name": "media", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "alt": { + "name": "alt", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "media_updated_at_idx": { + "name": "media_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_created_at_idx": { + "name": "media_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_filename_idx": { + "name": "media_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.partners": { + "name": "partners", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "relationship": { + "name": "relationship", + "type": "enum_partners_relationship", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "publication_permission": { + "name": "publication_permission", + "type": "enum_partners_publication_permission", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "permission_reference": { + "name": "permission_reference", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "permission_review_date": { + "name": "permission_review_date", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "logo_id": { + "name": "logo_id", + "type": "uuid", + "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_partners_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + } + }, + "indexes": { + "partners_logo_idx": { + "name": "partners_logo_idx", + "columns": [ + { + "expression": "logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "partners_updated_at_idx": { + "name": "partners_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "partners_created_at_idx": { + "name": "partners_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "partners__status_idx": { + "name": "partners__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "partners_logo_id_media_id_fk": { + "name": "partners_logo_id_media_id_fk", + "tableFrom": "partners", + "tableTo": "media", + "columnsFrom": [ + "logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._partners_v": { + "name": "_partners_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "parent_id": { + "name": "parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": false + }, + "version_name": { + "name": "version_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_url": { + "name": "version_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_relationship": { + "name": "version_relationship", + "type": "enum__partners_v_version_relationship", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "version_publication_permission": { + "name": "version_publication_permission", + "type": "enum__partners_v_version_publication_permission", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "version_permission_reference": { + "name": "version_permission_reference", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_permission_review_date": { + "name": "version_permission_review_date", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "version_logo_id": { + "name": "version_logo_id", + "type": "uuid", + "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__partners_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__partners_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_partners_v_parent_idx": { + "name": "_partners_v_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_partners_v_version_version_logo_idx": { + "name": "_partners_v_version_version_logo_idx", + "columns": [ + { + "expression": "version_logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_partners_v_version_version_updated_at_idx": { + "name": "_partners_v_version_version_updated_at_idx", + "columns": [ + { + "expression": "version_updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_partners_v_version_version_created_at_idx": { + "name": "_partners_v_version_version_created_at_idx", + "columns": [ + { + "expression": "version_created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_partners_v_version_version__status_idx": { + "name": "_partners_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_partners_v_created_at_idx": { + "name": "_partners_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_partners_v_updated_at_idx": { + "name": "_partners_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_partners_v_snapshot_idx": { + "name": "_partners_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_partners_v_published_locale_idx": { + "name": "_partners_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_partners_v_latest_idx": { + "name": "_partners_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_partners_v_parent_id_partners_id_fk": { + "name": "_partners_v_parent_id_partners_id_fk", + "tableFrom": "_partners_v", + "tableTo": "partners", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_partners_v_version_logo_id_media_id_fk": { + "name": "_partners_v_version_logo_id_media_id_fk", + "tableFrom": "_partners_v", + "tableTo": "media", + "columnsFrom": [ + "version_logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.contact_submissions": { + "name": "contact_submissions", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "email": { + "name": "email", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "subject": { + "name": "subject", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "message": { + "name": "message", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "gdpr_consent": { + "name": "gdpr_consent", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "status": { + "name": "status", + "type": "enum_contact_submissions_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'new'" + }, + "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": { + "contact_submissions_updated_at_idx": { + "name": "contact_submissions_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "contact_submissions_created_at_idx": { + "name": "contact_submissions_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.products_public_features": { + "name": "products_public_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "products_public_features_order_idx": { + "name": "products_public_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "products_public_features_parent_id_idx": { + "name": "products_public_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "products_public_features_locale_idx": { + "name": "products_public_features_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "products_public_features_parent_id_fk": { + "name": "products_public_features_parent_id_fk", + "tableFrom": "products_public_features", + "tableTo": "products", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.products": { + "name": "products", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "product_type": { + "name": "product_type", + "type": "enum_products_product_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'hosting'" + }, + "status": { + "name": "status", + "type": "enum_products_lifecycle_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "sort_order": { + "name": "sort_order", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "highlighted": { + "name": "highlighted", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "pricing_net_amount": { + "name": "pricing_net_amount", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "pricing_billing_period": { + "name": "pricing_billing_period", + "type": "enum_products_pricing_billing_period", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yearly'" + }, + "service_definition_storage_gb": { + "name": "service_definition_storage_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "service_definition_mail_storage_gb": { + "name": "service_definition_mail_storage_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "service_definition_domains": { + "name": "service_definition_domains", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "service_definition_domain_aliases": { + "name": "service_definition_domain_aliases", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "service_definition_databases": { + "name": "service_definition_databases", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "service_definition_mailboxes": { + "name": "service_definition_mailboxes", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "service_definition_ssl": { + "name": "service_definition_ssl", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "service_definition_spam_filter": { + "name": "service_definition_spam_filter", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "en_translation_status": { + "name": "en_translation_status", + "type": "enum_products_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "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_products_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + } + }, + "indexes": { + "products_slug_idx": { + "name": "products_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "products_updated_at_idx": { + "name": "products_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "products_created_at_idx": { + "name": "products_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "products__status_idx": { + "name": "products__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.products_locales": { + "name": "products_locales", + "schema": "", + "columns": { + "public_audience": { + "name": "public_audience", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "public_short_description": { + "name": "public_short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "public_cta_text": { + "name": "public_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "public_seo_description": { + "name": "public_seo_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "service_definition_backup": { + "name": "service_definition_backup", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "products_locales_locale_parent_id_unique": { + "name": "products_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "products_locales_parent_id_fk": { + "name": "products_locales_parent_id_fk", + "tableFrom": "products_locales", + "tableTo": "products", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._products_v_version_public_features": { + "name": "_products_v_version_public_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_products_v_version_public_features_order_idx": { + "name": "_products_v_version_public_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_version_public_features_parent_id_idx": { + "name": "_products_v_version_public_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_version_public_features_locale_idx": { + "name": "_products_v_version_public_features_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_products_v_version_public_features_parent_id_fk": { + "name": "_products_v_version_public_features_parent_id_fk", + "tableFrom": "_products_v_version_public_features", + "tableTo": "_products_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._products_v": { + "name": "_products_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "parent_id": { + "name": "parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": false + }, + "version_name": { + "name": "version_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_slug": { + "name": "version_slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_product_type": { + "name": "version_product_type", + "type": "enum__products_v_version_product_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'hosting'" + }, + "version_status": { + "name": "version_status", + "type": "enum_products_lifecycle_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "version_sort_order": { + "name": "version_sort_order", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "version_highlighted": { + "name": "version_highlighted", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "version_pricing_net_amount": { + "name": "version_pricing_net_amount", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "version_pricing_billing_period": { + "name": "version_pricing_billing_period", + "type": "enum__products_v_version_pricing_billing_period", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yearly'" + }, + "version_service_definition_storage_gb": { + "name": "version_service_definition_storage_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "version_service_definition_mail_storage_gb": { + "name": "version_service_definition_mail_storage_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "version_service_definition_domains": { + "name": "version_service_definition_domains", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "version_service_definition_domain_aliases": { + "name": "version_service_definition_domain_aliases", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "version_service_definition_databases": { + "name": "version_service_definition_databases", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "version_service_definition_mailboxes": { + "name": "version_service_definition_mailboxes", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "version_service_definition_ssl": { + "name": "version_service_definition_ssl", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "version_service_definition_spam_filter": { + "name": "version_service_definition_spam_filter", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "version_en_translation_status": { + "name": "version_en_translation_status", + "type": "enum__products_v_version_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "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__products_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__products_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_products_v_parent_idx": { + "name": "_products_v_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_version_version_slug_idx": { + "name": "_products_v_version_version_slug_idx", + "columns": [ + { + "expression": "version_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_version_version_updated_at_idx": { + "name": "_products_v_version_version_updated_at_idx", + "columns": [ + { + "expression": "version_updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_version_version_created_at_idx": { + "name": "_products_v_version_version_created_at_idx", + "columns": [ + { + "expression": "version_created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_version_version__status_idx": { + "name": "_products_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_created_at_idx": { + "name": "_products_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_updated_at_idx": { + "name": "_products_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_snapshot_idx": { + "name": "_products_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_published_locale_idx": { + "name": "_products_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_products_v_latest_idx": { + "name": "_products_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_products_v_parent_id_products_id_fk": { + "name": "_products_v_parent_id_products_id_fk", + "tableFrom": "_products_v", + "tableTo": "products", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._products_v_locales": { + "name": "_products_v_locales", + "schema": "", + "columns": { + "version_public_audience": { + "name": "version_public_audience", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_public_short_description": { + "name": "version_public_short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_public_cta_text": { + "name": "version_public_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_public_seo_description": { + "name": "version_public_seo_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_service_definition_backup": { + "name": "version_service_definition_backup", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_products_v_locales_locale_parent_id_unique": { + "name": "_products_v_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_products_v_locales_parent_id_fk": { + "name": "_products_v_locales_parent_id_fk", + "tableFrom": "_products_v_locales", + "tableTo": "_products_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_kv": { + "name": "payload_kv", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "jsonb", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "payload_kv_key_idx": { + "name": "payload_kv_key_idx", + "columns": [ + { + "expression": "key", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_locked_documents": { + "name": "payload_locked_documents", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "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": "uuid", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "uuid", + "primaryKey": false, + "notNull": false + }, + "legal_pages_id": { + "name": "legal_pages_id", + "type": "uuid", + "primaryKey": false, + "notNull": false + }, + "media_id": { + "name": "media_id", + "type": "uuid", + "primaryKey": false, + "notNull": false + }, + "partners_id": { + "name": "partners_id", + "type": "uuid", + "primaryKey": false, + "notNull": false + }, + "contact_submissions_id": { + "name": "contact_submissions_id", + "type": "uuid", + "primaryKey": false, + "notNull": false + }, + "products_id": { + "name": "products_id", + "type": "uuid", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_locked_documents_rels_order_idx": { + "name": "payload_locked_documents_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_parent_idx": { + "name": "payload_locked_documents_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_path_idx": { + "name": "payload_locked_documents_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_users_id_idx": { + "name": "payload_locked_documents_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_legal_pages_id_idx": { + "name": "payload_locked_documents_rels_legal_pages_id_idx", + "columns": [ + { + "expression": "legal_pages_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_partners_id_idx": { + "name": "payload_locked_documents_rels_partners_id_idx", + "columns": [ + { + "expression": "partners_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_contact_submissions_id_idx": { + "name": "payload_locked_documents_rels_contact_submissions_id_idx", + "columns": [ + { + "expression": "contact_submissions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_products_id_idx": { + "name": "payload_locked_documents_rels_products_id_idx", + "columns": [ + { + "expression": "products_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_locked_documents_rels_parent_fk": { + "name": "payload_locked_documents_rels_parent_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "payload_locked_documents", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_users_fk": { + "name": "payload_locked_documents_rels_users_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_legal_pages_fk": { + "name": "payload_locked_documents_rels_legal_pages_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "legal_pages", + "columnsFrom": [ + "legal_pages_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_partners_fk": { + "name": "payload_locked_documents_rels_partners_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "partners", + "columnsFrom": [ + "partners_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_contact_submissions_fk": { + "name": "payload_locked_documents_rels_contact_submissions_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "contact_submissions", + "columnsFrom": [ + "contact_submissions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_products_fk": { + "name": "payload_locked_documents_rels_products_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "products", + "columnsFrom": [ + "products_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": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "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": "uuid", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "uuid", + "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": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "batch": { + "name": "batch", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_migrations_updated_at_idx": { + "name": "payload_migrations_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_migrations_created_at_idx": { + "name": "payload_migrations_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.home_hero_trust_bullets": { + "name": "home_hero_trust_bullets", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "home_hero_trust_bullets_order_idx": { + "name": "home_hero_trust_bullets_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "home_hero_trust_bullets_parent_id_idx": { + "name": "home_hero_trust_bullets_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "home_hero_trust_bullets_locale_idx": { + "name": "home_hero_trust_bullets_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "home_hero_trust_bullets_parent_id_fk": { + "name": "home_hero_trust_bullets_parent_id_fk", + "tableFrom": "home_hero_trust_bullets", + "tableTo": "home", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.home_about_usps": { + "name": "home_about_usps", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "home_about_usps_order_idx": { + "name": "home_about_usps_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "home_about_usps_parent_id_idx": { + "name": "home_about_usps_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "home_about_usps_parent_id_fk": { + "name": "home_about_usps_parent_id_fk", + "tableFrom": "home_about_usps", + "tableTo": "home", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.home_about_usps_locales": { + "name": "home_about_usps_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "home_about_usps_locales_locale_parent_id_unique": { + "name": "home_about_usps_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "home_about_usps_locales_parent_id_fk": { + "name": "home_about_usps_locales_parent_id_fk", + "tableFrom": "home_about_usps_locales", + "tableTo": "home_about_usps", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.home_services_items_features": { + "name": "home_services_items_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "home_services_items_features_order_idx": { + "name": "home_services_items_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "home_services_items_features_parent_id_idx": { + "name": "home_services_items_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "home_services_items_features_locale_idx": { + "name": "home_services_items_features_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "home_services_items_features_parent_id_fk": { + "name": "home_services_items_features_parent_id_fk", + "tableFrom": "home_services_items_features", + "tableTo": "home_services_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.home_services_items": { + "name": "home_services_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "home_services_items_order_idx": { + "name": "home_services_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "home_services_items_parent_id_idx": { + "name": "home_services_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "home_services_items_parent_id_fk": { + "name": "home_services_items_parent_id_fk", + "tableFrom": "home_services_items", + "tableTo": "home", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.home_services_items_locales": { + "name": "home_services_items_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "home_services_items_locales_locale_parent_id_unique": { + "name": "home_services_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "home_services_items_locales_parent_id_fk": { + "name": "home_services_items_locales_parent_id_fk", + "tableFrom": "home_services_items_locales", + "tableTo": "home_services_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.home": { + "name": "home", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "hero_cta_primary_link_type": { + "name": "hero_cta_primary_link_type", + "type": "enum_home_hero_cta_primary_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'page'" + }, + "hero_cta_primary_page": { + "name": "hero_cta_primary_page", + "type": "enum_home_hero_cta_primary_page", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "hero_cta_secondary_link_type": { + "name": "hero_cta_secondary_link_type", + "type": "enum_home_hero_cta_secondary_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'page'" + }, + "hero_cta_secondary_page": { + "name": "hero_cta_secondary_page", + "type": "enum_home_hero_cta_secondary_page", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "en_translation_status": { + "name": "en_translation_status", + "type": "enum_home_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "_status": { + "name": "_status", + "type": "enum_home_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "home__status_idx": { + "name": "home__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.home_locales": { + "name": "home_locales", + "schema": "", + "columns": { + "hero_title": { + "name": "hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_subtitle": { + "name": "hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_description": { + "name": "hero_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_cta_primary_text": { + "name": "hero_cta_primary_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_cta_primary_href": { + "name": "hero_cta_primary_href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_cta_secondary_text": { + "name": "hero_cta_secondary_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_cta_secondary_href": { + "name": "hero_cta_secondary_href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "about_title": { + "name": "about_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "services_title": { + "name": "services_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "services_subtitle": { + "name": "services_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_title": { + "name": "cta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_subtitle": { + "name": "cta_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_button": { + "name": "cta_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "service_features_title": { + "name": "service_features_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "references_section_clients_title": { + "name": "references_section_clients_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "references_section_clients_subtitle": { + "name": "references_section_clients_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "references_section_partners_title": { + "name": "references_section_partners_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "references_section_partners_subtitle": { + "name": "references_section_partners_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "references_section_relationship_labels_technology_partner": { + "name": "references_section_relationship_labels_technology_partner", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "references_section_relationship_labels_infrastructure": { + "name": "references_section_relationship_labels_infrastructure", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "references_section_relationship_labels_supplier": { + "name": "references_section_relationship_labels_supplier", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "references_section_relationship_labels_technology_used": { + "name": "references_section_relationship_labels_technology_used", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "references_section_relationship_labels_professional_partner": { + "name": "references_section_relationship_labels_professional_partner", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "home_locales_locale_parent_id_unique": { + "name": "home_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "home_locales_parent_id_fk": { + "name": "home_locales_parent_id_fk", + "tableFrom": "home_locales", + "tableTo": "home", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._home_v_version_hero_trust_bullets": { + "name": "_home_v_version_hero_trust_bullets", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_home_v_version_hero_trust_bullets_order_idx": { + "name": "_home_v_version_hero_trust_bullets_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_version_hero_trust_bullets_parent_id_idx": { + "name": "_home_v_version_hero_trust_bullets_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_version_hero_trust_bullets_locale_idx": { + "name": "_home_v_version_hero_trust_bullets_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_home_v_version_hero_trust_bullets_parent_id_fk": { + "name": "_home_v_version_hero_trust_bullets_parent_id_fk", + "tableFrom": "_home_v_version_hero_trust_bullets", + "tableTo": "_home_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._home_v_version_about_usps": { + "name": "_home_v_version_about_usps", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_home_v_version_about_usps_order_idx": { + "name": "_home_v_version_about_usps_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_version_about_usps_parent_id_idx": { + "name": "_home_v_version_about_usps_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_home_v_version_about_usps_parent_id_fk": { + "name": "_home_v_version_about_usps_parent_id_fk", + "tableFrom": "_home_v_version_about_usps", + "tableTo": "_home_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._home_v_version_about_usps_locales": { + "name": "_home_v_version_about_usps_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_home_v_version_about_usps_locales_locale_parent_id_unique": { + "name": "_home_v_version_about_usps_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_home_v_version_about_usps_locales_parent_id_fk": { + "name": "_home_v_version_about_usps_locales_parent_id_fk", + "tableFrom": "_home_v_version_about_usps_locales", + "tableTo": "_home_v_version_about_usps", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._home_v_version_services_items_features": { + "name": "_home_v_version_services_items_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_home_v_version_services_items_features_order_idx": { + "name": "_home_v_version_services_items_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_version_services_items_features_parent_id_idx": { + "name": "_home_v_version_services_items_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_version_services_items_features_locale_idx": { + "name": "_home_v_version_services_items_features_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_home_v_version_services_items_features_parent_id_fk": { + "name": "_home_v_version_services_items_features_parent_id_fk", + "tableFrom": "_home_v_version_services_items_features", + "tableTo": "_home_v_version_services_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._home_v_version_services_items": { + "name": "_home_v_version_services_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_home_v_version_services_items_order_idx": { + "name": "_home_v_version_services_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_version_services_items_parent_id_idx": { + "name": "_home_v_version_services_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_home_v_version_services_items_parent_id_fk": { + "name": "_home_v_version_services_items_parent_id_fk", + "tableFrom": "_home_v_version_services_items", + "tableTo": "_home_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._home_v_version_services_items_locales": { + "name": "_home_v_version_services_items_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_home_v_version_services_items_locales_locale_parent_id_uniq": { + "name": "_home_v_version_services_items_locales_locale_parent_id_uniq", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_home_v_version_services_items_locales_parent_id_fk": { + "name": "_home_v_version_services_items_locales_parent_id_fk", + "tableFrom": "_home_v_version_services_items_locales", + "tableTo": "_home_v_version_services_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._home_v": { + "name": "_home_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "version_hero_cta_primary_link_type": { + "name": "version_hero_cta_primary_link_type", + "type": "enum__home_v_version_hero_cta_primary_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'page'" + }, + "version_hero_cta_primary_page": { + "name": "version_hero_cta_primary_page", + "type": "enum__home_v_version_hero_cta_primary_page", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "version_hero_cta_secondary_link_type": { + "name": "version_hero_cta_secondary_link_type", + "type": "enum__home_v_version_hero_cta_secondary_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'page'" + }, + "version_hero_cta_secondary_page": { + "name": "version_hero_cta_secondary_page", + "type": "enum__home_v_version_hero_cta_secondary_page", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "version_en_translation_status": { + "name": "version_en_translation_status", + "type": "enum__home_v_version_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "version__status": { + "name": "version__status", + "type": "enum__home_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "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 + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__home_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_home_v_version_version__status_idx": { + "name": "_home_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_created_at_idx": { + "name": "_home_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_updated_at_idx": { + "name": "_home_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_snapshot_idx": { + "name": "_home_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_published_locale_idx": { + "name": "_home_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_home_v_latest_idx": { + "name": "_home_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._home_v_locales": { + "name": "_home_v_locales", + "schema": "", + "columns": { + "version_hero_title": { + "name": "version_hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_subtitle": { + "name": "version_hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_description": { + "name": "version_hero_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_cta_primary_text": { + "name": "version_hero_cta_primary_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_cta_primary_href": { + "name": "version_hero_cta_primary_href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_cta_secondary_text": { + "name": "version_hero_cta_secondary_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_cta_secondary_href": { + "name": "version_hero_cta_secondary_href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_about_title": { + "name": "version_about_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_services_title": { + "name": "version_services_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_services_subtitle": { + "name": "version_services_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_title": { + "name": "version_cta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_subtitle": { + "name": "version_cta_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_button": { + "name": "version_cta_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_service_features_title": { + "name": "version_service_features_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_references_section_clients_title": { + "name": "version_references_section_clients_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_references_section_clients_subtitle": { + "name": "version_references_section_clients_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_references_section_partners_title": { + "name": "version_references_section_partners_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_references_section_partners_subtitle": { + "name": "version_references_section_partners_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_references_section_relationship_labels_technology_partner": { + "name": "version_references_section_relationship_labels_technology_partner", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_references_section_relationship_labels_infrastructure": { + "name": "version_references_section_relationship_labels_infrastructure", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_references_section_relationship_labels_supplier": { + "name": "version_references_section_relationship_labels_supplier", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_references_section_relationship_labels_technology_used": { + "name": "version_references_section_relationship_labels_technology_used", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_references_section_relationship_labels_professional_partner": { + "name": "version_references_section_relationship_labels_professional_partner", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_home_v_locales_locale_parent_id_unique": { + "name": "_home_v_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_home_v_locales_parent_id_fk": { + "name": "_home_v_locales_parent_id_fk", + "tableFrom": "_home_v_locales", + "tableTo": "_home_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.about_story_paragraphs": { + "name": "about_story_paragraphs", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "about_story_paragraphs_order_idx": { + "name": "about_story_paragraphs_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "about_story_paragraphs_parent_id_idx": { + "name": "about_story_paragraphs_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "about_story_paragraphs_locale_idx": { + "name": "about_story_paragraphs_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "about_story_paragraphs_parent_id_fk": { + "name": "about_story_paragraphs_parent_id_fk", + "tableFrom": "about_story_paragraphs", + "tableTo": "about", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.about_mission_values": { + "name": "about_mission_values", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "about_mission_values_order_idx": { + "name": "about_mission_values_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "about_mission_values_parent_id_idx": { + "name": "about_mission_values_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "about_mission_values_parent_id_fk": { + "name": "about_mission_values_parent_id_fk", + "tableFrom": "about_mission_values", + "tableTo": "about", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.about_mission_values_locales": { + "name": "about_mission_values_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "about_mission_values_locales_locale_parent_id_unique": { + "name": "about_mission_values_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "about_mission_values_locales_parent_id_fk": { + "name": "about_mission_values_locales_parent_id_fk", + "tableFrom": "about_mission_values_locales", + "tableTo": "about_mission_values", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.about_team_paragraphs": { + "name": "about_team_paragraphs", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "about_team_paragraphs_order_idx": { + "name": "about_team_paragraphs_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "about_team_paragraphs_parent_id_idx": { + "name": "about_team_paragraphs_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "about_team_paragraphs_locale_idx": { + "name": "about_team_paragraphs_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "about_team_paragraphs_parent_id_fk": { + "name": "about_team_paragraphs_parent_id_fk", + "tableFrom": "about_team_paragraphs", + "tableTo": "about", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.about": { + "name": "about", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "en_translation_status": { + "name": "en_translation_status", + "type": "enum_about_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "_status": { + "name": "_status", + "type": "enum_about_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "about__status_idx": { + "name": "about__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.about_locales": { + "name": "about_locales", + "schema": "", + "columns": { + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_og_description": { + "name": "meta_og_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_title": { + "name": "hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_subtitle": { + "name": "hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "story_title": { + "name": "story_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mission_title": { + "name": "mission_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mission_subtitle": { + "name": "mission_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "team_title": { + "name": "team_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "team_subtitle": { + "name": "team_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_title": { + "name": "cta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_subtitle": { + "name": "cta_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_button": { + "name": "cta_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "about_locales_locale_parent_id_unique": { + "name": "about_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "about_locales_parent_id_fk": { + "name": "about_locales_parent_id_fk", + "tableFrom": "about_locales", + "tableTo": "about", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._about_v_version_story_paragraphs": { + "name": "_about_v_version_story_paragraphs", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_about_v_version_story_paragraphs_order_idx": { + "name": "_about_v_version_story_paragraphs_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_version_story_paragraphs_parent_id_idx": { + "name": "_about_v_version_story_paragraphs_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_version_story_paragraphs_locale_idx": { + "name": "_about_v_version_story_paragraphs_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_about_v_version_story_paragraphs_parent_id_fk": { + "name": "_about_v_version_story_paragraphs_parent_id_fk", + "tableFrom": "_about_v_version_story_paragraphs", + "tableTo": "_about_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._about_v_version_mission_values": { + "name": "_about_v_version_mission_values", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_about_v_version_mission_values_order_idx": { + "name": "_about_v_version_mission_values_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_version_mission_values_parent_id_idx": { + "name": "_about_v_version_mission_values_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_about_v_version_mission_values_parent_id_fk": { + "name": "_about_v_version_mission_values_parent_id_fk", + "tableFrom": "_about_v_version_mission_values", + "tableTo": "_about_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._about_v_version_mission_values_locales": { + "name": "_about_v_version_mission_values_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_about_v_version_mission_values_locales_locale_parent_id_uni": { + "name": "_about_v_version_mission_values_locales_locale_parent_id_uni", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_about_v_version_mission_values_locales_parent_id_fk": { + "name": "_about_v_version_mission_values_locales_parent_id_fk", + "tableFrom": "_about_v_version_mission_values_locales", + "tableTo": "_about_v_version_mission_values", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._about_v_version_team_paragraphs": { + "name": "_about_v_version_team_paragraphs", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_about_v_version_team_paragraphs_order_idx": { + "name": "_about_v_version_team_paragraphs_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_version_team_paragraphs_parent_id_idx": { + "name": "_about_v_version_team_paragraphs_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_version_team_paragraphs_locale_idx": { + "name": "_about_v_version_team_paragraphs_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_about_v_version_team_paragraphs_parent_id_fk": { + "name": "_about_v_version_team_paragraphs_parent_id_fk", + "tableFrom": "_about_v_version_team_paragraphs", + "tableTo": "_about_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._about_v": { + "name": "_about_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "version_en_translation_status": { + "name": "version_en_translation_status", + "type": "enum__about_v_version_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "version__status": { + "name": "version__status", + "type": "enum__about_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "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 + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__about_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_about_v_version_version__status_idx": { + "name": "_about_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_created_at_idx": { + "name": "_about_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_updated_at_idx": { + "name": "_about_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_snapshot_idx": { + "name": "_about_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_published_locale_idx": { + "name": "_about_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_about_v_latest_idx": { + "name": "_about_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._about_v_locales": { + "name": "_about_v_locales", + "schema": "", + "columns": { + "version_meta_title": { + "name": "version_meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_meta_description": { + "name": "version_meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_meta_og_description": { + "name": "version_meta_og_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_title": { + "name": "version_hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_subtitle": { + "name": "version_hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_story_title": { + "name": "version_story_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_mission_title": { + "name": "version_mission_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_mission_subtitle": { + "name": "version_mission_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_team_title": { + "name": "version_team_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_team_subtitle": { + "name": "version_team_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_title": { + "name": "version_cta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_subtitle": { + "name": "version_cta_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_button": { + "name": "version_cta_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_about_v_locales_locale_parent_id_unique": { + "name": "_about_v_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_about_v_locales_parent_id_fk": { + "name": "_about_v_locales_parent_id_fk", + "tableFrom": "_about_v_locales", + "tableTo": "_about_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.services_details_services_specs_items": { + "name": "services_details_services_specs_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "services_details_services_specs_items_order_idx": { + "name": "services_details_services_specs_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "services_details_services_specs_items_parent_id_idx": { + "name": "services_details_services_specs_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "services_details_services_specs_items_locale_idx": { + "name": "services_details_services_specs_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "services_details_services_specs_items_parent_id_fk": { + "name": "services_details_services_specs_items_parent_id_fk", + "tableFrom": "services_details_services_specs_items", + "tableTo": "services_details_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.services_details_services": { + "name": "services_details_services", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "services_details_services_order_idx": { + "name": "services_details_services_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "services_details_services_parent_id_idx": { + "name": "services_details_services_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "services_details_services_parent_id_fk": { + "name": "services_details_services_parent_id_fk", + "tableFrom": "services_details_services", + "tableTo": "services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.services_details_services_locales": { + "name": "services_details_services_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "specs_title": { + "name": "specs_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "services_details_services_locales_locale_parent_id_unique": { + "name": "services_details_services_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "services_details_services_locales_parent_id_fk": { + "name": "services_details_services_locales_parent_id_fk", + "tableFrom": "services_details_services_locales", + "tableTo": "services_details_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.services_support_channels": { + "name": "services_support_channels", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "services_support_channels_order_idx": { + "name": "services_support_channels_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "services_support_channels_parent_id_idx": { + "name": "services_support_channels_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "services_support_channels_parent_id_fk": { + "name": "services_support_channels_parent_id_fk", + "tableFrom": "services_support_channels", + "tableTo": "services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.services_support_channels_locales": { + "name": "services_support_channels_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "services_support_channels_locales_locale_parent_id_unique": { + "name": "services_support_channels_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "services_support_channels_locales_parent_id_fk": { + "name": "services_support_channels_locales_parent_id_fk", + "tableFrom": "services_support_channels_locales", + "tableTo": "services_support_channels", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.services": { + "name": "services", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "en_translation_status": { + "name": "en_translation_status", + "type": "enum_services_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "_status": { + "name": "_status", + "type": "enum_services_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "services__status_idx": { + "name": "services__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.services_locales": { + "name": "services_locales", + "schema": "", + "columns": { + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_og_description": { + "name": "meta_og_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_title": { + "name": "hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_subtitle": { + "name": "hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "details_title": { + "name": "details_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "details_subtitle": { + "name": "details_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "support_title": { + "name": "support_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "support_subtitle": { + "name": "support_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_title": { + "name": "cta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_subtitle": { + "name": "cta_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_primary_button": { + "name": "cta_primary_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_secondary_button": { + "name": "cta_secondary_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "services_locales_locale_parent_id_unique": { + "name": "services_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "services_locales_parent_id_fk": { + "name": "services_locales_parent_id_fk", + "tableFrom": "services_locales", + "tableTo": "services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._services_v_version_details_services_specs_items": { + "name": "_services_v_version_details_services_specs_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_services_v_version_details_services_specs_items_order_idx": { + "name": "_services_v_version_details_services_specs_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_services_v_version_details_services_specs_items_parent_id_idx": { + "name": "_services_v_version_details_services_specs_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_services_v_version_details_services_specs_items_locale_idx": { + "name": "_services_v_version_details_services_specs_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_services_v_version_details_services_specs_items_parent_id_fk": { + "name": "_services_v_version_details_services_specs_items_parent_id_fk", + "tableFrom": "_services_v_version_details_services_specs_items", + "tableTo": "_services_v_version_details_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._services_v_version_details_services": { + "name": "_services_v_version_details_services", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_services_v_version_details_services_order_idx": { + "name": "_services_v_version_details_services_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_services_v_version_details_services_parent_id_idx": { + "name": "_services_v_version_details_services_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_services_v_version_details_services_parent_id_fk": { + "name": "_services_v_version_details_services_parent_id_fk", + "tableFrom": "_services_v_version_details_services", + "tableTo": "_services_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._services_v_version_details_services_locales": { + "name": "_services_v_version_details_services_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "specs_title": { + "name": "specs_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_services_v_version_details_services_locales_locale_parent_i": { + "name": "_services_v_version_details_services_locales_locale_parent_i", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_services_v_version_details_services_locales_parent_id_fk": { + "name": "_services_v_version_details_services_locales_parent_id_fk", + "tableFrom": "_services_v_version_details_services_locales", + "tableTo": "_services_v_version_details_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._services_v_version_support_channels": { + "name": "_services_v_version_support_channels", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_services_v_version_support_channels_order_idx": { + "name": "_services_v_version_support_channels_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_services_v_version_support_channels_parent_id_idx": { + "name": "_services_v_version_support_channels_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_services_v_version_support_channels_parent_id_fk": { + "name": "_services_v_version_support_channels_parent_id_fk", + "tableFrom": "_services_v_version_support_channels", + "tableTo": "_services_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._services_v_version_support_channels_locales": { + "name": "_services_v_version_support_channels_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_services_v_version_support_channels_locales_locale_parent_i": { + "name": "_services_v_version_support_channels_locales_locale_parent_i", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_services_v_version_support_channels_locales_parent_id_fk": { + "name": "_services_v_version_support_channels_locales_parent_id_fk", + "tableFrom": "_services_v_version_support_channels_locales", + "tableTo": "_services_v_version_support_channels", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._services_v": { + "name": "_services_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "version_en_translation_status": { + "name": "version_en_translation_status", + "type": "enum__services_v_version_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "version__status": { + "name": "version__status", + "type": "enum__services_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "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 + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__services_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_services_v_version_version__status_idx": { + "name": "_services_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_services_v_created_at_idx": { + "name": "_services_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_services_v_updated_at_idx": { + "name": "_services_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_services_v_snapshot_idx": { + "name": "_services_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_services_v_published_locale_idx": { + "name": "_services_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_services_v_latest_idx": { + "name": "_services_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._services_v_locales": { + "name": "_services_v_locales", + "schema": "", + "columns": { + "version_meta_title": { + "name": "version_meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_meta_description": { + "name": "version_meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_meta_og_description": { + "name": "version_meta_og_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_title": { + "name": "version_hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_subtitle": { + "name": "version_hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_details_title": { + "name": "version_details_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_details_subtitle": { + "name": "version_details_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_support_title": { + "name": "version_support_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_support_subtitle": { + "name": "version_support_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_title": { + "name": "version_cta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_subtitle": { + "name": "version_cta_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_primary_button": { + "name": "version_cta_primary_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_cta_secondary_button": { + "name": "version_cta_secondary_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_services_v_locales_locale_parent_id_unique": { + "name": "_services_v_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_services_v_locales_parent_id_fk": { + "name": "_services_v_locales_parent_id_fk", + "tableFrom": "_services_v_locales", + "tableTo": "_services_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.contact_faq_items": { + "name": "contact_faq_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "contact_faq_items_order_idx": { + "name": "contact_faq_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "contact_faq_items_parent_id_idx": { + "name": "contact_faq_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "contact_faq_items_parent_id_fk": { + "name": "contact_faq_items_parent_id_fk", + "tableFrom": "contact_faq_items", + "tableTo": "contact", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.contact_faq_items_locales": { + "name": "contact_faq_items_locales", + "schema": "", + "columns": { + "question": { + "name": "question", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "answer": { + "name": "answer", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "contact_faq_items_locales_locale_parent_id_unique": { + "name": "contact_faq_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "contact_faq_items_locales_parent_id_fk": { + "name": "contact_faq_items_locales_parent_id_fk", + "tableFrom": "contact_faq_items_locales", + "tableTo": "contact_faq_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.contact": { + "name": "contact", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "en_translation_status": { + "name": "en_translation_status", + "type": "enum_contact_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "_status": { + "name": "_status", + "type": "enum_contact_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "contact__status_idx": { + "name": "contact__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.contact_locales": { + "name": "contact_locales", + "schema": "", + "columns": { + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_title": { + "name": "hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_subtitle": { + "name": "hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_title": { + "name": "form_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_success_message": { + "name": "form_success_message", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_error_message": { + "name": "form_error_message", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_name_label": { + "name": "form_fields_name_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_name_placeholder": { + "name": "form_fields_name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_name_error": { + "name": "form_fields_name_error", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_email_label": { + "name": "form_fields_email_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_email_placeholder": { + "name": "form_fields_email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_email_error_required": { + "name": "form_fields_email_error_required", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_email_error_invalid": { + "name": "form_fields_email_error_invalid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_subject_label": { + "name": "form_fields_subject_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_subject_placeholder": { + "name": "form_fields_subject_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_subject_error": { + "name": "form_fields_subject_error", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_message_label": { + "name": "form_fields_message_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_message_placeholder": { + "name": "form_fields_message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_message_error_required": { + "name": "form_fields_message_error_required", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_message_error_min_length": { + "name": "form_fields_message_error_min_length", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_gdpr_label": { + "name": "form_fields_gdpr_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_fields_gdpr_error": { + "name": "form_fields_gdpr_error", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_submit_button": { + "name": "form_submit_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "form_submitting_button": { + "name": "form_submitting_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "info_title": { + "name": "info_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "info_email_title": { + "name": "info_email_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "info_email_response_time": { + "name": "info_email_response_time", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "info_company_title": { + "name": "info_company_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "info_webmail_title": { + "name": "info_webmail_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "info_webmail_link_text": { + "name": "info_webmail_link_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "info_webmail_subtitle": { + "name": "info_webmail_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "faq_title": { + "name": "faq_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "contact_locales_locale_parent_id_unique": { + "name": "contact_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "contact_locales_parent_id_fk": { + "name": "contact_locales_parent_id_fk", + "tableFrom": "contact_locales", + "tableTo": "contact", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._contact_v_version_faq_items": { + "name": "_contact_v_version_faq_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_contact_v_version_faq_items_order_idx": { + "name": "_contact_v_version_faq_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_contact_v_version_faq_items_parent_id_idx": { + "name": "_contact_v_version_faq_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_contact_v_version_faq_items_parent_id_fk": { + "name": "_contact_v_version_faq_items_parent_id_fk", + "tableFrom": "_contact_v_version_faq_items", + "tableTo": "_contact_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._contact_v_version_faq_items_locales": { + "name": "_contact_v_version_faq_items_locales", + "schema": "", + "columns": { + "question": { + "name": "question", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "answer": { + "name": "answer", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_contact_v_version_faq_items_locales_locale_parent_id_unique": { + "name": "_contact_v_version_faq_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_contact_v_version_faq_items_locales_parent_id_fk": { + "name": "_contact_v_version_faq_items_locales_parent_id_fk", + "tableFrom": "_contact_v_version_faq_items_locales", + "tableTo": "_contact_v_version_faq_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._contact_v": { + "name": "_contact_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "version_en_translation_status": { + "name": "version_en_translation_status", + "type": "enum__contact_v_version_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "version__status": { + "name": "version__status", + "type": "enum__contact_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "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 + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__contact_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_contact_v_version_version__status_idx": { + "name": "_contact_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_contact_v_created_at_idx": { + "name": "_contact_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_contact_v_updated_at_idx": { + "name": "_contact_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_contact_v_snapshot_idx": { + "name": "_contact_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_contact_v_published_locale_idx": { + "name": "_contact_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_contact_v_latest_idx": { + "name": "_contact_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._contact_v_locales": { + "name": "_contact_v_locales", + "schema": "", + "columns": { + "version_meta_title": { + "name": "version_meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_meta_description": { + "name": "version_meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_title": { + "name": "version_hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_subtitle": { + "name": "version_hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_title": { + "name": "version_form_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_success_message": { + "name": "version_form_success_message", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_error_message": { + "name": "version_form_error_message", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_name_label": { + "name": "version_form_fields_name_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_name_placeholder": { + "name": "version_form_fields_name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_name_error": { + "name": "version_form_fields_name_error", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_email_label": { + "name": "version_form_fields_email_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_email_placeholder": { + "name": "version_form_fields_email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_email_error_required": { + "name": "version_form_fields_email_error_required", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_email_error_invalid": { + "name": "version_form_fields_email_error_invalid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_subject_label": { + "name": "version_form_fields_subject_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_subject_placeholder": { + "name": "version_form_fields_subject_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_subject_error": { + "name": "version_form_fields_subject_error", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_message_label": { + "name": "version_form_fields_message_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_message_placeholder": { + "name": "version_form_fields_message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_message_error_required": { + "name": "version_form_fields_message_error_required", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_message_error_min_length": { + "name": "version_form_fields_message_error_min_length", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_gdpr_label": { + "name": "version_form_fields_gdpr_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_fields_gdpr_error": { + "name": "version_form_fields_gdpr_error", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_submit_button": { + "name": "version_form_submit_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_form_submitting_button": { + "name": "version_form_submitting_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_info_title": { + "name": "version_info_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_info_email_title": { + "name": "version_info_email_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_info_email_response_time": { + "name": "version_info_email_response_time", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_info_company_title": { + "name": "version_info_company_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_info_webmail_title": { + "name": "version_info_webmail_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_info_webmail_link_text": { + "name": "version_info_webmail_link_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_info_webmail_subtitle": { + "name": "version_info_webmail_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_faq_title": { + "name": "version_faq_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_contact_v_locales_locale_parent_id_unique": { + "name": "_contact_v_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_contact_v_locales_parent_id_fk": { + "name": "_contact_v_locales_parent_id_fk", + "tableFrom": "_contact_v_locales", + "tableTo": "_contact_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.common": { + "name": "common", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "footer_address": { + "name": "footer_address", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "en_translation_status": { + "name": "en_translation_status", + "type": "enum_common_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "_status": { + "name": "_status", + "type": "enum_common_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "common__status_idx": { + "name": "common__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.common_locales": { + "name": "common_locales", + "schema": "", + "columns": { + "buttons_contact": { + "name": "buttons_contact", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "buttons_learn_more": { + "name": "buttons_learn_more", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "buttons_webmail": { + "name": "buttons_webmail", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "buttons_send_message": { + "name": "buttons_send_message", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_required": { + "name": "labels_required", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_features": { + "name": "labels_features", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "validation_required": { + "name": "validation_required", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "validation_invalid_email": { + "name": "validation_invalid_email", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "validation_min_length": { + "name": "validation_min_length", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "staging_banner": { + "name": "staging_banner", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "footer_copyright": { + "name": "footer_copyright", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "a11y_open_menu": { + "name": "a11y_open_menu", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "a11y_close_menu": { + "name": "a11y_close_menu", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "common_locales_locale_parent_id_unique": { + "name": "common_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "common_locales_parent_id_fk": { + "name": "common_locales_parent_id_fk", + "tableFrom": "common_locales", + "tableTo": "common", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._common_v": { + "name": "_common_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "version_footer_address": { + "name": "version_footer_address", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_en_translation_status": { + "name": "version_en_translation_status", + "type": "enum__common_v_version_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "version__status": { + "name": "version__status", + "type": "enum__common_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "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 + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__common_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_common_v_version_version__status_idx": { + "name": "_common_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_common_v_created_at_idx": { + "name": "_common_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_common_v_updated_at_idx": { + "name": "_common_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_common_v_snapshot_idx": { + "name": "_common_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_common_v_published_locale_idx": { + "name": "_common_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_common_v_latest_idx": { + "name": "_common_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._common_v_locales": { + "name": "_common_v_locales", + "schema": "", + "columns": { + "version_buttons_contact": { + "name": "version_buttons_contact", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_buttons_learn_more": { + "name": "version_buttons_learn_more", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_buttons_webmail": { + "name": "version_buttons_webmail", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_buttons_send_message": { + "name": "version_buttons_send_message", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_required": { + "name": "version_labels_required", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_features": { + "name": "version_labels_features", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_validation_required": { + "name": "version_validation_required", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_validation_invalid_email": { + "name": "version_validation_invalid_email", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_validation_min_length": { + "name": "version_validation_min_length", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_staging_banner": { + "name": "version_staging_banner", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_footer_copyright": { + "name": "version_footer_copyright", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_a11y_open_menu": { + "name": "version_a11y_open_menu", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_a11y_close_menu": { + "name": "version_a11y_close_menu", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_common_v_locales_locale_parent_id_unique": { + "name": "_common_v_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_common_v_locales_parent_id_fk": { + "name": "_common_v_locales_parent_id_fk", + "tableFrom": "_common_v_locales", + "tableTo": "_common_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.hosting_plans": { + "name": "hosting_plans", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "vat_rate_percent": { + "name": "vat_rate_percent", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 27 + }, + "en_translation_status": { + "name": "en_translation_status", + "type": "enum_hosting_plans_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "_status": { + "name": "_status", + "type": "enum_hosting_plans_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "hosting_plans__status_idx": { + "name": "hosting_plans__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.hosting_plans_locales": { + "name": "hosting_plans_locales", + "schema": "", + "columns": { + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_title": { + "name": "hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_subtitle": { + "name": "hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_storage": { + "name": "labels_storage", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_mail_storage": { + "name": "labels_mail_storage", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_domains": { + "name": "labels_domains", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_domain_aliases": { + "name": "labels_domain_aliases", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_databases": { + "name": "labels_databases", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_mailboxes": { + "name": "labels_mailboxes", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_backup": { + "name": "labels_backup", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_ssl": { + "name": "labels_ssl", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_spam_filter": { + "name": "labels_spam_filter", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_per_year": { + "name": "labels_per_year", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_per_month": { + "name": "labels_per_month", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_one_time": { + "name": "labels_one_time", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_plus_vat": { + "name": "labels_plus_vat", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_gross_price": { + "name": "labels_gross_price", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_recommended": { + "name": "labels_recommended", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_included": { + "name": "labels_included", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "labels_price_note": { + "name": "labels_price_note", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "larger_needs_title": { + "name": "larger_needs_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "larger_needs_text": { + "name": "larger_needs_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "larger_needs_button": { + "name": "larger_needs_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "hosting_plans_locales_locale_parent_id_unique": { + "name": "hosting_plans_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "hosting_plans_locales_parent_id_fk": { + "name": "hosting_plans_locales_parent_id_fk", + "tableFrom": "hosting_plans_locales", + "tableTo": "hosting_plans", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._hosting_plans_v": { + "name": "_hosting_plans_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "uuid", + "primaryKey": true, + "notNull": true, + "default": "gen_random_uuid()" + }, + "version_vat_rate_percent": { + "name": "version_vat_rate_percent", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 27 + }, + "version_en_translation_status": { + "name": "version_en_translation_status", + "type": "enum__hosting_plans_v_version_en_translation_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "version__status": { + "name": "version__status", + "type": "enum__hosting_plans_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "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 + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__hosting_plans_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_hosting_plans_v_version_version__status_idx": { + "name": "_hosting_plans_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_hosting_plans_v_created_at_idx": { + "name": "_hosting_plans_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_hosting_plans_v_updated_at_idx": { + "name": "_hosting_plans_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_hosting_plans_v_snapshot_idx": { + "name": "_hosting_plans_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_hosting_plans_v_published_locale_idx": { + "name": "_hosting_plans_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_hosting_plans_v_latest_idx": { + "name": "_hosting_plans_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._hosting_plans_v_locales": { + "name": "_hosting_plans_v_locales", + "schema": "", + "columns": { + "version_meta_title": { + "name": "version_meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_meta_description": { + "name": "version_meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_title": { + "name": "version_hero_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_subtitle": { + "name": "version_hero_subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_storage": { + "name": "version_labels_storage", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_mail_storage": { + "name": "version_labels_mail_storage", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_domains": { + "name": "version_labels_domains", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_domain_aliases": { + "name": "version_labels_domain_aliases", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_databases": { + "name": "version_labels_databases", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_mailboxes": { + "name": "version_labels_mailboxes", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_backup": { + "name": "version_labels_backup", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_ssl": { + "name": "version_labels_ssl", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_spam_filter": { + "name": "version_labels_spam_filter", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_per_year": { + "name": "version_labels_per_year", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_per_month": { + "name": "version_labels_per_month", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_one_time": { + "name": "version_labels_one_time", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_plus_vat": { + "name": "version_labels_plus_vat", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_gross_price": { + "name": "version_labels_gross_price", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_recommended": { + "name": "version_labels_recommended", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_included": { + "name": "version_labels_included", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_labels_price_note": { + "name": "version_labels_price_note", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_larger_needs_title": { + "name": "version_larger_needs_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_larger_needs_text": { + "name": "version_larger_needs_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_larger_needs_button": { + "name": "version_larger_needs_button", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "uuid", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_hosting_plans_v_locales_locale_parent_id_unique": { + "name": "_hosting_plans_v_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_hosting_plans_v_locales_parent_id_fk": { + "name": "_hosting_plans_v_locales_parent_id_fk", + "tableFrom": "_hosting_plans_v_locales", + "tableTo": "_hosting_plans_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": { + "public._locales": { + "name": "_locales", + "schema": "public", + "values": [ + "hu", + "en" + ] + }, + "public.enum_legal_pages_legal_validation_reviews_verdict": { + "name": "enum_legal_pages_legal_validation_reviews_verdict", + "schema": "public", + "values": [ + "approve", + "approve-with-changes", + "reject" + ] + }, + "public.enum_legal_pages_en_translation_status": { + "name": "enum_legal_pages_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum_legal_pages_status": { + "name": "enum_legal_pages_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__legal_pages_v_version_legal_validation_reviews_verdict": { + "name": "enum__legal_pages_v_version_legal_validation_reviews_verdict", + "schema": "public", + "values": [ + "approve", + "approve-with-changes", + "reject" + ] + }, + "public.enum__legal_pages_v_version_en_translation_status": { + "name": "enum__legal_pages_v_version_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum__legal_pages_v_version_status": { + "name": "enum__legal_pages_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__legal_pages_v_published_locale": { + "name": "enum__legal_pages_v_published_locale", + "schema": "public", + "values": [ + "hu", + "en" + ] + }, + "public.enum_partners_relationship": { + "name": "enum_partners_relationship", + "schema": "public", + "values": [ + "client-reference", + "technology-partner", + "infrastructure", + "supplier", + "technology-used", + "professional-partner" + ] + }, + "public.enum_partners_publication_permission": { + "name": "enum_partners_publication_permission", + "schema": "public", + "values": [ + "granted", + "pending", + "none" + ] + }, + "public.enum_partners_status": { + "name": "enum_partners_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__partners_v_version_relationship": { + "name": "enum__partners_v_version_relationship", + "schema": "public", + "values": [ + "client-reference", + "technology-partner", + "infrastructure", + "supplier", + "technology-used", + "professional-partner" + ] + }, + "public.enum__partners_v_version_publication_permission": { + "name": "enum__partners_v_version_publication_permission", + "schema": "public", + "values": [ + "granted", + "pending", + "none" + ] + }, + "public.enum__partners_v_version_status": { + "name": "enum__partners_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__partners_v_published_locale": { + "name": "enum__partners_v_published_locale", + "schema": "public", + "values": [ + "hu", + "en" + ] + }, + "public.enum_contact_submissions_status": { + "name": "enum_contact_submissions_status", + "schema": "public", + "values": [ + "new", + "read", + "replied", + "archived" + ] + }, + "public.enum_products_product_type": { + "name": "enum_products_product_type", + "schema": "public", + "values": [ + "hosting", + "managed-service" + ] + }, + "public.enum_products_lifecycle_status": { + "name": "enum_products_lifecycle_status", + "schema": "public", + "values": [ + "draft", + "internal", + "publishable", + "active", + "retired" + ] + }, + "public.enum_products_pricing_billing_period": { + "name": "enum_products_pricing_billing_period", + "schema": "public", + "values": [ + "yearly", + "monthly", + "one-time" + ] + }, + "public.enum_products_en_translation_status": { + "name": "enum_products_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum_products_status": { + "name": "enum_products_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__products_v_version_product_type": { + "name": "enum__products_v_version_product_type", + "schema": "public", + "values": [ + "hosting", + "managed-service" + ] + }, + "public.enum__products_v_version_pricing_billing_period": { + "name": "enum__products_v_version_pricing_billing_period", + "schema": "public", + "values": [ + "yearly", + "monthly", + "one-time" + ] + }, + "public.enum__products_v_version_en_translation_status": { + "name": "enum__products_v_version_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum__products_v_version_status": { + "name": "enum__products_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__products_v_published_locale": { + "name": "enum__products_v_published_locale", + "schema": "public", + "values": [ + "hu", + "en" + ] + }, + "public.enum_home_hero_cta_primary_link_type": { + "name": "enum_home_hero_cta_primary_link_type", + "schema": "public", + "values": [ + "page", + "url" + ] + }, + "public.enum_home_hero_cta_primary_page": { + "name": "enum_home_hero_cta_primary_page", + "schema": "public", + "values": [ + "home", + "about", + "services", + "hostingPlans", + "contact", + "privacy", + "terms" + ] + }, + "public.enum_home_hero_cta_secondary_link_type": { + "name": "enum_home_hero_cta_secondary_link_type", + "schema": "public", + "values": [ + "page", + "url" + ] + }, + "public.enum_home_hero_cta_secondary_page": { + "name": "enum_home_hero_cta_secondary_page", + "schema": "public", + "values": [ + "home", + "about", + "services", + "hostingPlans", + "contact", + "privacy", + "terms" + ] + }, + "public.enum_home_en_translation_status": { + "name": "enum_home_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum_home_status": { + "name": "enum_home_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__home_v_version_hero_cta_primary_link_type": { + "name": "enum__home_v_version_hero_cta_primary_link_type", + "schema": "public", + "values": [ + "page", + "url" + ] + }, + "public.enum__home_v_version_hero_cta_primary_page": { + "name": "enum__home_v_version_hero_cta_primary_page", + "schema": "public", + "values": [ + "home", + "about", + "services", + "hostingPlans", + "contact", + "privacy", + "terms" + ] + }, + "public.enum__home_v_version_hero_cta_secondary_link_type": { + "name": "enum__home_v_version_hero_cta_secondary_link_type", + "schema": "public", + "values": [ + "page", + "url" + ] + }, + "public.enum__home_v_version_hero_cta_secondary_page": { + "name": "enum__home_v_version_hero_cta_secondary_page", + "schema": "public", + "values": [ + "home", + "about", + "services", + "hostingPlans", + "contact", + "privacy", + "terms" + ] + }, + "public.enum__home_v_version_en_translation_status": { + "name": "enum__home_v_version_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum__home_v_version_status": { + "name": "enum__home_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__home_v_published_locale": { + "name": "enum__home_v_published_locale", + "schema": "public", + "values": [ + "hu", + "en" + ] + }, + "public.enum_about_en_translation_status": { + "name": "enum_about_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum_about_status": { + "name": "enum_about_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__about_v_version_en_translation_status": { + "name": "enum__about_v_version_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum__about_v_version_status": { + "name": "enum__about_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__about_v_published_locale": { + "name": "enum__about_v_published_locale", + "schema": "public", + "values": [ + "hu", + "en" + ] + }, + "public.enum_services_en_translation_status": { + "name": "enum_services_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum_services_status": { + "name": "enum_services_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__services_v_version_en_translation_status": { + "name": "enum__services_v_version_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum__services_v_version_status": { + "name": "enum__services_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__services_v_published_locale": { + "name": "enum__services_v_published_locale", + "schema": "public", + "values": [ + "hu", + "en" + ] + }, + "public.enum_contact_en_translation_status": { + "name": "enum_contact_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum_contact_status": { + "name": "enum_contact_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__contact_v_version_en_translation_status": { + "name": "enum__contact_v_version_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum__contact_v_version_status": { + "name": "enum__contact_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__contact_v_published_locale": { + "name": "enum__contact_v_published_locale", + "schema": "public", + "values": [ + "hu", + "en" + ] + }, + "public.enum_common_en_translation_status": { + "name": "enum_common_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum_common_status": { + "name": "enum_common_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__common_v_version_en_translation_status": { + "name": "enum__common_v_version_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum__common_v_version_status": { + "name": "enum__common_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__common_v_published_locale": { + "name": "enum__common_v_published_locale", + "schema": "public", + "values": [ + "hu", + "en" + ] + }, + "public.enum_hosting_plans_en_translation_status": { + "name": "enum_hosting_plans_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum_hosting_plans_status": { + "name": "enum_hosting_plans_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__hosting_plans_v_version_en_translation_status": { + "name": "enum__hosting_plans_v_version_en_translation_status", + "schema": "public", + "values": [ + "none", + "ai-draft", + "approved" + ] + }, + "public.enum__hosting_plans_v_version_status": { + "name": "enum__hosting_plans_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__hosting_plans_v_published_locale": { + "name": "enum__hosting_plans_v_published_locale", + "schema": "public", + "values": [ + "hu", + "en" + ] + } + }, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "schemas": {}, + "tables": {}, + "columns": {} + }, + "id": "d193a93b-354f-4d8b-a6cb-190a47ab8072", + "prevId": "00000000-0000-0000-0000-000000000000" +} \ No newline at end of file diff --git a/proto/src/migrations/20260929_213538_home_row_keys.ts b/proto/src/migrations/20260929_213538_home_row_keys.ts new file mode 100644 index 0000000..b6e2701 --- /dev/null +++ b/proto/src/migrations/20260929_213538_home_row_keys.ts @@ -0,0 +1,26 @@ +/* MITHOME-138: generated by `payload migrate:create`, plus a hand-written backfill in up(). */ +import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres' + +export async function up({ db, payload, req }: MigrateUpArgs): Promise { + await db.execute(sql` + ALTER TABLE "home_about_usps" ADD COLUMN "key" varchar; + ALTER TABLE "home_services_items" ADD COLUMN "key" varchar; + ALTER TABLE "_home_v_version_about_usps" ADD COLUMN "key" varchar; + ALTER TABLE "_home_v_version_services_items" ADD COLUMN "key" varchar;`) + // MITHOME-138 (hand-written backfill): the editable key used to be the row + // id itself; in the version tables the original row id is kept in `_uuid`. + // The row ids stay, so the page renders the same rows. + await db.execute(sql` + UPDATE "home_about_usps" SET "key" = "id" WHERE "key" IS NULL; + UPDATE "home_services_items" SET "key" = "id" WHERE "key" IS NULL; + UPDATE "_home_v_version_about_usps" SET "key" = "_uuid" WHERE "key" IS NULL; + UPDATE "_home_v_version_services_items" SET "key" = "_uuid" WHERE "key" IS NULL;`) +} + +export async function down({ db, payload, req }: MigrateDownArgs): Promise { + await db.execute(sql` + ALTER TABLE "home_about_usps" DROP COLUMN "key"; + ALTER TABLE "home_services_items" DROP COLUMN "key"; + ALTER TABLE "_home_v_version_about_usps" DROP COLUMN "key"; + ALTER TABLE "_home_v_version_services_items" DROP COLUMN "key";`) +} diff --git a/proto/src/migrations/index.ts b/proto/src/migrations/index.ts index 74be478..c341f75 100644 --- a/proto/src/migrations/index.ts +++ b/proto/src/migrations/index.ts @@ -1,9 +1,15 @@ import * as migration_20260929_202255_initial from './20260929_202255_initial'; +import * as migration_20260929_213538_home_row_keys from './20260929_213538_home_row_keys'; export const migrations = [ { up: migration_20260929_202255_initial.up, down: migration_20260929_202255_initial.down, - name: '20260929_202255_initial' + name: '20260929_202255_initial', + }, + { + up: migration_20260929_213538_home_row_keys.up, + down: migration_20260929_213538_home_row_keys.down, + name: '20260929_213538_home_row_keys' }, ]; diff --git a/proto/src/payload-config.test.ts b/proto/src/payload-config.test.ts index 9cf8933..3f8cdae 100644 --- a/proto/src/payload-config.test.ts +++ b/proto/src/payload-config.test.ts @@ -159,7 +159,8 @@ describe('Payload globals', () => { // MITHOME-113: `result`/`notes` are legal-validation metadata, not copy. // MITHOME-130: a product `name` is a brand, the same in every language. // MITHOME-136: the legal section `anchor` (formerly its row `id`) is shared too. - const SHARED_TEXT_FIELDS = new Set(['icon', 'id', 'anchor', 'address', 'slug', 'result', 'notes', 'name']) + // MITHOME-138: the Home usps/items `key` (formerly the row `id`) is shared too. + const SHARED_TEXT_FIELDS = new Set(['icon', 'id', 'anchor', 'key', 'address', 'slug', 'result', 'notes', 'name']) type Node = FieldLike & { localized?: boolean; fields?: Node[] } type Finding = { path: string; type?: string; localized: boolean }