{ "version": "7", "dialect": "postgresql", "tables": { "public.users_tenants": { "name": "users_tenants", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": true } }, "indexes": { "users_tenants_order_idx": { "name": "users_tenants_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "users_tenants_parent_id_idx": { "name": "users_tenants_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "users_tenants_tenant_idx": { "name": "users_tenants_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "users_tenants_tenant_id_tenants_id_fk": { "name": "users_tenants_tenant_id_tenants_id_fk", "tableFrom": "users_tenants", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "users_tenants_parent_id_fk": { "name": "users_tenants_parent_id_fk", "tableFrom": "users_tenants", "tableTo": "users", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.users_sessions": { "name": "users_sessions", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": false }, "expires_at": { "name": "expires_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true } }, "indexes": { "users_sessions_order_idx": { "name": "users_sessions_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "users_sessions_parent_id_idx": { "name": "users_sessions_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "users_sessions_parent_id_fk": { "name": "users_sessions_parent_id_fk", "tableFrom": "users_sessions", "tableTo": "users", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.users": { "name": "users", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "email": { "name": "email", "type": "varchar", "primaryKey": false, "notNull": true }, "reset_password_token": { "name": "reset_password_token", "type": "varchar", "primaryKey": false, "notNull": false }, "reset_password_expiration": { "name": "reset_password_expiration", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": false }, "salt": { "name": "salt", "type": "varchar", "primaryKey": false, "notNull": false }, "hash": { "name": "hash", "type": "varchar", "primaryKey": false, "notNull": false }, "login_attempts": { "name": "login_attempts", "type": "numeric", "primaryKey": false, "notNull": false, "default": 0 }, "lock_until": { "name": "lock_until", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": false } }, "indexes": { "users_updated_at_idx": { "name": "users_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "users_created_at_idx": { "name": "users_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "users_email_idx": { "name": "users_email_idx", "columns": [ { "expression": "email", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": {}, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.media": { "name": "media", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": false }, "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_tenant_idx": { "name": "media_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "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": { "media_tenant_id_tenants_id_fk": { "name": "media_tenant_id_tenants_id_fk", "tableFrom": "media", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.tenants_domains": { "name": "tenants_domains", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "domain": { "name": "domain", "type": "varchar", "primaryKey": false, "notNull": true } }, "indexes": { "tenants_domains_order_idx": { "name": "tenants_domains_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "tenants_domains_parent_id_idx": { "name": "tenants_domains_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "tenants_domains_parent_id_fk": { "name": "tenants_domains_parent_id_fk", "tableFrom": "tenants_domains", "tableTo": "tenants", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.tenants": { "name": "tenants", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": true }, "slug": { "name": "slug", "type": "varchar", "primaryKey": false, "notNull": true }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" } }, "indexes": { "tenants_slug_idx": { "name": "tenants_slug_idx", "columns": [ { "expression": "slug", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} }, "tenants_updated_at_idx": { "name": "tenants_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "tenants_created_at_idx": { "name": "tenants_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.pages_blocks_hero_block": { "name": "pages_blocks_hero_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "background_image_id": { "name": "background_image_id", "type": "integer", "primaryKey": false, "notNull": false }, "headline": { "name": "headline", "type": "varchar", "primaryKey": false, "notNull": true }, "subline": { "name": "subline", "type": "varchar", "primaryKey": false, "notNull": false }, "alignment": { "name": "alignment", "type": "enum_pages_blocks_hero_block_alignment", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'center'" }, "overlay": { "name": "overlay", "type": "boolean", "primaryKey": false, "notNull": false, "default": true }, "cta_text": { "name": "cta_text", "type": "varchar", "primaryKey": false, "notNull": false }, "cta_link": { "name": "cta_link", "type": "varchar", "primaryKey": false, "notNull": false }, "cta_style": { "name": "cta_style", "type": "enum_pages_blocks_hero_block_cta_style", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'primary'" }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_hero_block_order_idx": { "name": "pages_blocks_hero_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_hero_block_parent_id_idx": { "name": "pages_blocks_hero_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_hero_block_path_idx": { "name": "pages_blocks_hero_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_hero_block_background_image_idx": { "name": "pages_blocks_hero_block_background_image_idx", "columns": [ { "expression": "background_image_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_hero_block_background_image_id_media_id_fk": { "name": "pages_blocks_hero_block_background_image_id_media_id_fk", "tableFrom": "pages_blocks_hero_block", "tableTo": "media", "columnsFrom": [ "background_image_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "pages_blocks_hero_block_parent_id_fk": { "name": "pages_blocks_hero_block_parent_id_fk", "tableFrom": "pages_blocks_hero_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_text_block": { "name": "pages_blocks_text_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "content": { "name": "content", "type": "jsonb", "primaryKey": false, "notNull": true }, "width": { "name": "width", "type": "enum_pages_blocks_text_block_width", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'medium'" }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_text_block_order_idx": { "name": "pages_blocks_text_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_text_block_parent_id_idx": { "name": "pages_blocks_text_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_text_block_path_idx": { "name": "pages_blocks_text_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_text_block_parent_id_fk": { "name": "pages_blocks_text_block_parent_id_fk", "tableFrom": "pages_blocks_text_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_image_text_block": { "name": "pages_blocks_image_text_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "image_id": { "name": "image_id", "type": "integer", "primaryKey": false, "notNull": true }, "image_position": { "name": "image_position", "type": "enum_pages_blocks_image_text_block_image_position", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'left'" }, "headline": { "name": "headline", "type": "varchar", "primaryKey": false, "notNull": false }, "content": { "name": "content", "type": "jsonb", "primaryKey": false, "notNull": false }, "cta_text": { "name": "cta_text", "type": "varchar", "primaryKey": false, "notNull": false }, "cta_link": { "name": "cta_link", "type": "varchar", "primaryKey": false, "notNull": false }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_image_text_block_order_idx": { "name": "pages_blocks_image_text_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_image_text_block_parent_id_idx": { "name": "pages_blocks_image_text_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_image_text_block_path_idx": { "name": "pages_blocks_image_text_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_image_text_block_image_idx": { "name": "pages_blocks_image_text_block_image_idx", "columns": [ { "expression": "image_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_image_text_block_image_id_media_id_fk": { "name": "pages_blocks_image_text_block_image_id_media_id_fk", "tableFrom": "pages_blocks_image_text_block", "tableTo": "media", "columnsFrom": [ "image_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "pages_blocks_image_text_block_parent_id_fk": { "name": "pages_blocks_image_text_block_parent_id_fk", "tableFrom": "pages_blocks_image_text_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_card_grid_block_cards": { "name": "pages_blocks_card_grid_block_cards", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "varchar", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "image_id": { "name": "image_id", "type": "integer", "primaryKey": false, "notNull": false }, "title": { "name": "title", "type": "varchar", "primaryKey": false, "notNull": true }, "description": { "name": "description", "type": "varchar", "primaryKey": false, "notNull": false }, "link": { "name": "link", "type": "varchar", "primaryKey": false, "notNull": false }, "link_text": { "name": "link_text", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'mehr'" } }, "indexes": { "pages_blocks_card_grid_block_cards_order_idx": { "name": "pages_blocks_card_grid_block_cards_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_card_grid_block_cards_parent_id_idx": { "name": "pages_blocks_card_grid_block_cards_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_card_grid_block_cards_image_idx": { "name": "pages_blocks_card_grid_block_cards_image_idx", "columns": [ { "expression": "image_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_card_grid_block_cards_image_id_media_id_fk": { "name": "pages_blocks_card_grid_block_cards_image_id_media_id_fk", "tableFrom": "pages_blocks_card_grid_block_cards", "tableTo": "media", "columnsFrom": [ "image_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "pages_blocks_card_grid_block_cards_parent_id_fk": { "name": "pages_blocks_card_grid_block_cards_parent_id_fk", "tableFrom": "pages_blocks_card_grid_block_cards", "tableTo": "pages_blocks_card_grid_block", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_card_grid_block": { "name": "pages_blocks_card_grid_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "headline": { "name": "headline", "type": "varchar", "primaryKey": false, "notNull": false }, "columns": { "name": "columns", "type": "enum_pages_blocks_card_grid_block_columns", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'3'" }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_card_grid_block_order_idx": { "name": "pages_blocks_card_grid_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_card_grid_block_parent_id_idx": { "name": "pages_blocks_card_grid_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_card_grid_block_path_idx": { "name": "pages_blocks_card_grid_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_card_grid_block_parent_id_fk": { "name": "pages_blocks_card_grid_block_parent_id_fk", "tableFrom": "pages_blocks_card_grid_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_quote_block": { "name": "pages_blocks_quote_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "quote": { "name": "quote", "type": "varchar", "primaryKey": false, "notNull": true }, "author": { "name": "author", "type": "varchar", "primaryKey": false, "notNull": false }, "role": { "name": "role", "type": "varchar", "primaryKey": false, "notNull": false }, "image_id": { "name": "image_id", "type": "integer", "primaryKey": false, "notNull": false }, "style": { "name": "style", "type": "enum_pages_blocks_quote_block_style", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'simple'" }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_quote_block_order_idx": { "name": "pages_blocks_quote_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_quote_block_parent_id_idx": { "name": "pages_blocks_quote_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_quote_block_path_idx": { "name": "pages_blocks_quote_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_quote_block_image_idx": { "name": "pages_blocks_quote_block_image_idx", "columns": [ { "expression": "image_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_quote_block_image_id_media_id_fk": { "name": "pages_blocks_quote_block_image_id_media_id_fk", "tableFrom": "pages_blocks_quote_block", "tableTo": "media", "columnsFrom": [ "image_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "pages_blocks_quote_block_parent_id_fk": { "name": "pages_blocks_quote_block_parent_id_fk", "tableFrom": "pages_blocks_quote_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_cta_block_buttons": { "name": "pages_blocks_cta_block_buttons", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "varchar", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "text": { "name": "text", "type": "varchar", "primaryKey": false, "notNull": true }, "link": { "name": "link", "type": "varchar", "primaryKey": false, "notNull": true }, "style": { "name": "style", "type": "enum_pages_blocks_cta_block_buttons_style", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'primary'" } }, "indexes": { "pages_blocks_cta_block_buttons_order_idx": { "name": "pages_blocks_cta_block_buttons_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_cta_block_buttons_parent_id_idx": { "name": "pages_blocks_cta_block_buttons_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_cta_block_buttons_parent_id_fk": { "name": "pages_blocks_cta_block_buttons_parent_id_fk", "tableFrom": "pages_blocks_cta_block_buttons", "tableTo": "pages_blocks_cta_block", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_cta_block": { "name": "pages_blocks_cta_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "headline": { "name": "headline", "type": "varchar", "primaryKey": false, "notNull": true }, "description": { "name": "description", "type": "varchar", "primaryKey": false, "notNull": false }, "background_color": { "name": "background_color", "type": "enum_pages_blocks_cta_block_background_color", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'dark'" }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_cta_block_order_idx": { "name": "pages_blocks_cta_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_cta_block_parent_id_idx": { "name": "pages_blocks_cta_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_cta_block_path_idx": { "name": "pages_blocks_cta_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_cta_block_parent_id_fk": { "name": "pages_blocks_cta_block_parent_id_fk", "tableFrom": "pages_blocks_cta_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_contact_form_block": { "name": "pages_blocks_contact_form_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "headline": { "name": "headline", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Kontakt'" }, "description": { "name": "description", "type": "varchar", "primaryKey": false, "notNull": false }, "recipient_email": { "name": "recipient_email", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'info@porwoll.de'" }, "show_phone": { "name": "show_phone", "type": "boolean", "primaryKey": false, "notNull": false, "default": true }, "show_address": { "name": "show_address", "type": "boolean", "primaryKey": false, "notNull": false, "default": true }, "show_socials": { "name": "show_socials", "type": "boolean", "primaryKey": false, "notNull": false, "default": true }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_contact_form_block_order_idx": { "name": "pages_blocks_contact_form_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_contact_form_block_parent_id_idx": { "name": "pages_blocks_contact_form_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_contact_form_block_path_idx": { "name": "pages_blocks_contact_form_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_contact_form_block_parent_id_fk": { "name": "pages_blocks_contact_form_block_parent_id_fk", "tableFrom": "pages_blocks_contact_form_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_timeline_block_events": { "name": "pages_blocks_timeline_block_events", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "varchar", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "year": { "name": "year", "type": "varchar", "primaryKey": false, "notNull": true }, "title": { "name": "title", "type": "varchar", "primaryKey": false, "notNull": true }, "description": { "name": "description", "type": "varchar", "primaryKey": false, "notNull": false }, "image_id": { "name": "image_id", "type": "integer", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_timeline_block_events_order_idx": { "name": "pages_blocks_timeline_block_events_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_timeline_block_events_parent_id_idx": { "name": "pages_blocks_timeline_block_events_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_timeline_block_events_image_idx": { "name": "pages_blocks_timeline_block_events_image_idx", "columns": [ { "expression": "image_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_timeline_block_events_image_id_media_id_fk": { "name": "pages_blocks_timeline_block_events_image_id_media_id_fk", "tableFrom": "pages_blocks_timeline_block_events", "tableTo": "media", "columnsFrom": [ "image_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "pages_blocks_timeline_block_events_parent_id_fk": { "name": "pages_blocks_timeline_block_events_parent_id_fk", "tableFrom": "pages_blocks_timeline_block_events", "tableTo": "pages_blocks_timeline_block", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_timeline_block": { "name": "pages_blocks_timeline_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "headline": { "name": "headline", "type": "varchar", "primaryKey": false, "notNull": false }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_timeline_block_order_idx": { "name": "pages_blocks_timeline_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_timeline_block_parent_id_idx": { "name": "pages_blocks_timeline_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_timeline_block_path_idx": { "name": "pages_blocks_timeline_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_timeline_block_parent_id_fk": { "name": "pages_blocks_timeline_block_parent_id_fk", "tableFrom": "pages_blocks_timeline_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_divider_block": { "name": "pages_blocks_divider_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "style": { "name": "style", "type": "enum_pages_blocks_divider_block_style", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'space'" }, "spacing": { "name": "spacing", "type": "enum_pages_blocks_divider_block_spacing", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'medium'" }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_divider_block_order_idx": { "name": "pages_blocks_divider_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_divider_block_parent_id_idx": { "name": "pages_blocks_divider_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_divider_block_path_idx": { "name": "pages_blocks_divider_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_divider_block_parent_id_fk": { "name": "pages_blocks_divider_block_parent_id_fk", "tableFrom": "pages_blocks_divider_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages_blocks_video_block": { "name": "pages_blocks_video_block", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "video_url": { "name": "video_url", "type": "varchar", "primaryKey": false, "notNull": true }, "caption": { "name": "caption", "type": "varchar", "primaryKey": false, "notNull": false }, "aspect_ratio": { "name": "aspect_ratio", "type": "enum_pages_blocks_video_block_aspect_ratio", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'16:9'" }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "pages_blocks_video_block_order_idx": { "name": "pages_blocks_video_block_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_video_block_parent_id_idx": { "name": "pages_blocks_video_block_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_blocks_video_block_path_idx": { "name": "pages_blocks_video_block_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_blocks_video_block_parent_id_fk": { "name": "pages_blocks_video_block_parent_id_fk", "tableFrom": "pages_blocks_video_block", "tableTo": "pages", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.pages": { "name": "pages", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": false }, "title": { "name": "title", "type": "varchar", "primaryKey": false, "notNull": true }, "slug": { "name": "slug", "type": "varchar", "primaryKey": false, "notNull": true }, "hero_image_id": { "name": "hero_image_id", "type": "integer", "primaryKey": false, "notNull": false }, "hero_headline": { "name": "hero_headline", "type": "varchar", "primaryKey": false, "notNull": false }, "hero_subline": { "name": "hero_subline", "type": "varchar", "primaryKey": false, "notNull": false }, "seo_meta_title": { "name": "seo_meta_title", "type": "varchar", "primaryKey": false, "notNull": false }, "seo_meta_description": { "name": "seo_meta_description", "type": "varchar", "primaryKey": false, "notNull": false }, "seo_og_image_id": { "name": "seo_og_image_id", "type": "integer", "primaryKey": false, "notNull": false }, "status": { "name": "status", "type": "enum_pages_status", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'draft'" }, "published_at": { "name": "published_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": false }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" } }, "indexes": { "pages_tenant_idx": { "name": "pages_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_slug_idx": { "name": "pages_slug_idx", "columns": [ { "expression": "slug", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} }, "pages_hero_hero_image_idx": { "name": "pages_hero_hero_image_idx", "columns": [ { "expression": "hero_image_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_seo_seo_og_image_idx": { "name": "pages_seo_seo_og_image_idx", "columns": [ { "expression": "seo_og_image_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_updated_at_idx": { "name": "pages_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "pages_created_at_idx": { "name": "pages_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "pages_tenant_id_tenants_id_fk": { "name": "pages_tenant_id_tenants_id_fk", "tableFrom": "pages", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "pages_hero_image_id_media_id_fk": { "name": "pages_hero_image_id_media_id_fk", "tableFrom": "pages", "tableTo": "media", "columnsFrom": [ "hero_image_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "pages_seo_og_image_id_media_id_fk": { "name": "pages_seo_og_image_id_media_id_fk", "tableFrom": "pages", "tableTo": "media", "columnsFrom": [ "seo_og_image_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.posts": { "name": "posts", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": false }, "title": { "name": "title", "type": "varchar", "primaryKey": false, "notNull": true }, "slug": { "name": "slug", "type": "varchar", "primaryKey": false, "notNull": true }, "excerpt": { "name": "excerpt", "type": "varchar", "primaryKey": false, "notNull": false }, "content": { "name": "content", "type": "jsonb", "primaryKey": false, "notNull": false }, "featured_image_id": { "name": "featured_image_id", "type": "integer", "primaryKey": false, "notNull": false }, "category_id": { "name": "category_id", "type": "integer", "primaryKey": false, "notNull": false }, "author_id": { "name": "author_id", "type": "integer", "primaryKey": false, "notNull": false }, "published_at": { "name": "published_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": false }, "status": { "name": "status", "type": "enum_posts_status", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'draft'" }, "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": { "posts_tenant_idx": { "name": "posts_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "posts_slug_idx": { "name": "posts_slug_idx", "columns": [ { "expression": "slug", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} }, "posts_featured_image_idx": { "name": "posts_featured_image_idx", "columns": [ { "expression": "featured_image_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "posts_category_idx": { "name": "posts_category_idx", "columns": [ { "expression": "category_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "posts_author_idx": { "name": "posts_author_idx", "columns": [ { "expression": "author_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "posts_updated_at_idx": { "name": "posts_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "posts_created_at_idx": { "name": "posts_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "posts_tenant_id_tenants_id_fk": { "name": "posts_tenant_id_tenants_id_fk", "tableFrom": "posts", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "posts_featured_image_id_media_id_fk": { "name": "posts_featured_image_id_media_id_fk", "tableFrom": "posts", "tableTo": "media", "columnsFrom": [ "featured_image_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "posts_category_id_categories_id_fk": { "name": "posts_category_id_categories_id_fk", "tableFrom": "posts", "tableTo": "categories", "columnsFrom": [ "category_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "posts_author_id_users_id_fk": { "name": "posts_author_id_users_id_fk", "tableFrom": "posts", "tableTo": "users", "columnsFrom": [ "author_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.categories": { "name": "categories", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": false }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": true }, "slug": { "name": "slug", "type": "varchar", "primaryKey": false, "notNull": true }, "description": { "name": "description", "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": { "categories_tenant_idx": { "name": "categories_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "categories_slug_idx": { "name": "categories_slug_idx", "columns": [ { "expression": "slug", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} }, "categories_updated_at_idx": { "name": "categories_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "categories_created_at_idx": { "name": "categories_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "categories_tenant_id_tenants_id_fk": { "name": "categories_tenant_id_tenants_id_fk", "tableFrom": "categories", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.social_links": { "name": "social_links", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": false }, "platform": { "name": "platform", "type": "enum_social_links_platform", "typeSchema": "public", "primaryKey": false, "notNull": true }, "url": { "name": "url", "type": "varchar", "primaryKey": false, "notNull": true }, "is_active": { "name": "is_active", "type": "boolean", "primaryKey": false, "notNull": false, "default": true }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" } }, "indexes": { "social_links_tenant_idx": { "name": "social_links_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "social_links_updated_at_idx": { "name": "social_links_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "social_links_created_at_idx": { "name": "social_links_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "social_links_tenant_id_tenants_id_fk": { "name": "social_links_tenant_id_tenants_id_fk", "tableFrom": "social_links", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.cookie_configurations_enabled_categories": { "name": "cookie_configurations_enabled_categories", "schema": "", "columns": { "order": { "name": "order", "type": "integer", "primaryKey": false, "notNull": true }, "parent_id": { "name": "parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "value": { "name": "value", "type": "enum_cookie_configurations_enabled_categories", "typeSchema": "public", "primaryKey": false, "notNull": false }, "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true } }, "indexes": { "cookie_configurations_enabled_categories_order_idx": { "name": "cookie_configurations_enabled_categories_order_idx", "columns": [ { "expression": "order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "cookie_configurations_enabled_categories_parent_idx": { "name": "cookie_configurations_enabled_categories_parent_idx", "columns": [ { "expression": "parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "cookie_configurations_enabled_categories_parent_fk": { "name": "cookie_configurations_enabled_categories_parent_fk", "tableFrom": "cookie_configurations_enabled_categories", "tableTo": "cookie_configurations", "columnsFrom": [ "parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.cookie_configurations": { "name": "cookie_configurations", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": true }, "title": { "name": "title", "type": "varchar", "primaryKey": false, "notNull": true, "default": "'Cookie-Einstellungen'" }, "revision": { "name": "revision", "type": "numeric", "primaryKey": false, "notNull": true, "default": 1 }, "translations_de_banner_title": { "name": "translations_de_banner_title", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Wir respektieren Ihre Privatsphäre'" }, "translations_de_banner_description": { "name": "translations_de_banner_description", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Diese Website verwendet Cookies, um Ihnen die bestmögliche Erfahrung zu bieten.'" }, "translations_de_accept_all_button": { "name": "translations_de_accept_all_button", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Alle akzeptieren'" }, "translations_de_accept_necessary_button": { "name": "translations_de_accept_necessary_button", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Nur notwendige'" }, "translations_de_settings_button": { "name": "translations_de_settings_button", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Einstellungen'" }, "translations_de_save_button": { "name": "translations_de_save_button", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Auswahl speichern'" }, "translations_de_privacy_policy_url": { "name": "translations_de_privacy_policy_url", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'/datenschutz'" }, "translations_de_category_labels_necessary_title": { "name": "translations_de_category_labels_necessary_title", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Notwendig'" }, "translations_de_category_labels_necessary_description": { "name": "translations_de_category_labels_necessary_description", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Diese Cookies sind für die Grundfunktionen der Website erforderlich.'" }, "translations_de_category_labels_functional_title": { "name": "translations_de_category_labels_functional_title", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Funktional'" }, "translations_de_category_labels_functional_description": { "name": "translations_de_category_labels_functional_description", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Diese Cookies ermöglichen erweiterte Funktionen.'" }, "translations_de_category_labels_analytics_title": { "name": "translations_de_category_labels_analytics_title", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Statistik'" }, "translations_de_category_labels_analytics_description": { "name": "translations_de_category_labels_analytics_description", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Diese Cookies helfen uns zu verstehen, wie Besucher die Website nutzen.'" }, "translations_de_category_labels_marketing_title": { "name": "translations_de_category_labels_marketing_title", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Marketing'" }, "translations_de_category_labels_marketing_description": { "name": "translations_de_category_labels_marketing_description", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Diese Cookies werden für Werbezwecke verwendet.'" }, "styling_position": { "name": "styling_position", "type": "enum_cookie_configurations_styling_position", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'bottom'" }, "styling_theme": { "name": "styling_theme", "type": "enum_cookie_configurations_styling_theme", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'dark'" }, "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": { "cookie_configurations_tenant_idx": { "name": "cookie_configurations_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} }, "cookie_configurations_updated_at_idx": { "name": "cookie_configurations_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "cookie_configurations_created_at_idx": { "name": "cookie_configurations_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "cookie_configurations_tenant_id_tenants_id_fk": { "name": "cookie_configurations_tenant_id_tenants_id_fk", "tableFrom": "cookie_configurations", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.cookie_inventory": { "name": "cookie_inventory", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": true }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": true }, "provider": { "name": "provider", "type": "varchar", "primaryKey": false, "notNull": true }, "category": { "name": "category", "type": "enum_cookie_inventory_category", "typeSchema": "public", "primaryKey": false, "notNull": true }, "duration": { "name": "duration", "type": "varchar", "primaryKey": false, "notNull": true }, "description": { "name": "description", "type": "varchar", "primaryKey": false, "notNull": true }, "is_active": { "name": "is_active", "type": "boolean", "primaryKey": false, "notNull": false, "default": true }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" } }, "indexes": { "cookie_inventory_tenant_idx": { "name": "cookie_inventory_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "cookie_inventory_updated_at_idx": { "name": "cookie_inventory_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "cookie_inventory_created_at_idx": { "name": "cookie_inventory_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "cookie_inventory_tenant_id_tenants_id_fk": { "name": "cookie_inventory_tenant_id_tenants_id_fk", "tableFrom": "cookie_inventory", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.consent_logs": { "name": "consent_logs", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "consent_id": { "name": "consent_id", "type": "varchar", "primaryKey": false, "notNull": true }, "client_ref": { "name": "client_ref", "type": "varchar", "primaryKey": false, "notNull": false }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": true }, "categories": { "name": "categories", "type": "jsonb", "primaryKey": false, "notNull": true }, "revision": { "name": "revision", "type": "numeric", "primaryKey": false, "notNull": true }, "user_agent": { "name": "user_agent", "type": "varchar", "primaryKey": false, "notNull": false }, "anonymized_ip": { "name": "anonymized_ip", "type": "varchar", "primaryKey": false, "notNull": false }, "expires_at": { "name": "expires_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" } }, "indexes": { "consent_logs_consent_id_idx": { "name": "consent_logs_consent_id_idx", "columns": [ { "expression": "consent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} }, "consent_logs_tenant_idx": { "name": "consent_logs_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "consent_logs_updated_at_idx": { "name": "consent_logs_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "consent_logs_created_at_idx": { "name": "consent_logs_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "consent_logs_tenant_id_tenants_id_fk": { "name": "consent_logs_tenant_id_tenants_id_fk", "tableFrom": "consent_logs", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.privacy_policy_settings": { "name": "privacy_policy_settings", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "tenant_id": { "name": "tenant_id", "type": "integer", "primaryKey": false, "notNull": true }, "title": { "name": "title", "type": "varchar", "primaryKey": false, "notNull": true, "default": "'Datenschutzerklärung'" }, "provider": { "name": "provider", "type": "enum_privacy_policy_settings_provider", "typeSchema": "public", "primaryKey": false, "notNull": true, "default": "'alfright'" }, "alfright_tenant_id": { "name": "alfright_tenant_id", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'alfright_schutzteam'" }, "alfright_api_key": { "name": "alfright_api_key", "type": "varchar", "primaryKey": false, "notNull": false }, "alfright_language": { "name": "alfright_language", "type": "enum_privacy_policy_settings_alfright_language", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'de-de'" }, "alfright_iframe_height": { "name": "alfright_iframe_height", "type": "numeric", "primaryKey": false, "notNull": false, "default": 4000 }, "styling_header_color": { "name": "styling_header_color", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'#ca8a04'" }, "styling_header_font": { "name": "styling_header_font", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Inter, sans-serif'" }, "styling_header_size": { "name": "styling_header_size", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'24px'" }, "styling_subheader_size": { "name": "styling_subheader_size", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'18px'" }, "styling_font_color": { "name": "styling_font_color", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'#f3f4f6'" }, "styling_text_font": { "name": "styling_text_font", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Inter, sans-serif'" }, "styling_text_size": { "name": "styling_text_size", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'16px'" }, "styling_link_color": { "name": "styling_link_color", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'#ca8a04'" }, "styling_background_color": { "name": "styling_background_color", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'#111827'" }, "show_cookie_table": { "name": "show_cookie_table", "type": "boolean", "primaryKey": false, "notNull": false, "default": true }, "cookie_table_title": { "name": "cookie_table_title", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Übersicht der verwendeten Cookies'" }, "cookie_table_description": { "name": "cookie_table_description", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Ergänzend zur Datenschutzerklärung finden Sie hier eine detaillierte Übersicht aller auf dieser Website eingesetzten Cookies. Sie können Ihre Cookie-Einstellungen jederzeit über den Link \"Cookie-Einstellungen\" im Footer anpassen.'" }, "seo_meta_title": { "name": "seo_meta_title", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Datenschutzerklärung'" }, "seo_meta_description": { "name": "seo_meta_description", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'Informationen zum Datenschutz und zur Verarbeitung Ihrer personenbezogenen Daten.'" }, "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": { "privacy_policy_settings_tenant_idx": { "name": "privacy_policy_settings_tenant_idx", "columns": [ { "expression": "tenant_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} }, "privacy_policy_settings_updated_at_idx": { "name": "privacy_policy_settings_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "privacy_policy_settings_created_at_idx": { "name": "privacy_policy_settings_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "privacy_policy_settings_tenant_id_tenants_id_fk": { "name": "privacy_policy_settings_tenant_id_tenants_id_fk", "tableFrom": "privacy_policy_settings", "tableTo": "tenants", "columnsFrom": [ "tenant_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms_blocks_checkbox": { "name": "forms_blocks_checkbox", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": false }, "width": { "name": "width", "type": "numeric", "primaryKey": false, "notNull": false }, "required": { "name": "required", "type": "boolean", "primaryKey": false, "notNull": false }, "default_value": { "name": "default_value", "type": "boolean", "primaryKey": false, "notNull": false }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "forms_blocks_checkbox_order_idx": { "name": "forms_blocks_checkbox_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_checkbox_parent_id_idx": { "name": "forms_blocks_checkbox_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_checkbox_path_idx": { "name": "forms_blocks_checkbox_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "forms_blocks_checkbox_parent_id_fk": { "name": "forms_blocks_checkbox_parent_id_fk", "tableFrom": "forms_blocks_checkbox", "tableTo": "forms", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms_blocks_email": { "name": "forms_blocks_email", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": false }, "width": { "name": "width", "type": "numeric", "primaryKey": false, "notNull": false }, "required": { "name": "required", "type": "boolean", "primaryKey": false, "notNull": false }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "forms_blocks_email_order_idx": { "name": "forms_blocks_email_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_email_parent_id_idx": { "name": "forms_blocks_email_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_email_path_idx": { "name": "forms_blocks_email_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "forms_blocks_email_parent_id_fk": { "name": "forms_blocks_email_parent_id_fk", "tableFrom": "forms_blocks_email", "tableTo": "forms", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms_blocks_message": { "name": "forms_blocks_message", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "message": { "name": "message", "type": "jsonb", "primaryKey": false, "notNull": false }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "forms_blocks_message_order_idx": { "name": "forms_blocks_message_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_message_parent_id_idx": { "name": "forms_blocks_message_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_message_path_idx": { "name": "forms_blocks_message_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "forms_blocks_message_parent_id_fk": { "name": "forms_blocks_message_parent_id_fk", "tableFrom": "forms_blocks_message", "tableTo": "forms", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms_blocks_number": { "name": "forms_blocks_number", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": false }, "width": { "name": "width", "type": "numeric", "primaryKey": false, "notNull": false }, "default_value": { "name": "default_value", "type": "numeric", "primaryKey": false, "notNull": false }, "required": { "name": "required", "type": "boolean", "primaryKey": false, "notNull": false }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "forms_blocks_number_order_idx": { "name": "forms_blocks_number_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_number_parent_id_idx": { "name": "forms_blocks_number_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_number_path_idx": { "name": "forms_blocks_number_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "forms_blocks_number_parent_id_fk": { "name": "forms_blocks_number_parent_id_fk", "tableFrom": "forms_blocks_number", "tableTo": "forms", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms_blocks_select_options": { "name": "forms_blocks_select_options", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "varchar", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": true }, "value": { "name": "value", "type": "varchar", "primaryKey": false, "notNull": true } }, "indexes": { "forms_blocks_select_options_order_idx": { "name": "forms_blocks_select_options_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_select_options_parent_id_idx": { "name": "forms_blocks_select_options_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "forms_blocks_select_options_parent_id_fk": { "name": "forms_blocks_select_options_parent_id_fk", "tableFrom": "forms_blocks_select_options", "tableTo": "forms_blocks_select", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms_blocks_select": { "name": "forms_blocks_select", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": false }, "width": { "name": "width", "type": "numeric", "primaryKey": false, "notNull": false }, "default_value": { "name": "default_value", "type": "varchar", "primaryKey": false, "notNull": false }, "placeholder": { "name": "placeholder", "type": "varchar", "primaryKey": false, "notNull": false }, "required": { "name": "required", "type": "boolean", "primaryKey": false, "notNull": false }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "forms_blocks_select_order_idx": { "name": "forms_blocks_select_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_select_parent_id_idx": { "name": "forms_blocks_select_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_select_path_idx": { "name": "forms_blocks_select_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "forms_blocks_select_parent_id_fk": { "name": "forms_blocks_select_parent_id_fk", "tableFrom": "forms_blocks_select", "tableTo": "forms", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms_blocks_text": { "name": "forms_blocks_text", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": false }, "width": { "name": "width", "type": "numeric", "primaryKey": false, "notNull": false }, "default_value": { "name": "default_value", "type": "varchar", "primaryKey": false, "notNull": false }, "required": { "name": "required", "type": "boolean", "primaryKey": false, "notNull": false }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "forms_blocks_text_order_idx": { "name": "forms_blocks_text_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_text_parent_id_idx": { "name": "forms_blocks_text_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_text_path_idx": { "name": "forms_blocks_text_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "forms_blocks_text_parent_id_fk": { "name": "forms_blocks_text_parent_id_fk", "tableFrom": "forms_blocks_text", "tableTo": "forms", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms_blocks_textarea": { "name": "forms_blocks_textarea", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "_path": { "name": "_path", "type": "text", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": false }, "width": { "name": "width", "type": "numeric", "primaryKey": false, "notNull": false }, "default_value": { "name": "default_value", "type": "varchar", "primaryKey": false, "notNull": false }, "required": { "name": "required", "type": "boolean", "primaryKey": false, "notNull": false }, "block_name": { "name": "block_name", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "forms_blocks_textarea_order_idx": { "name": "forms_blocks_textarea_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_textarea_parent_id_idx": { "name": "forms_blocks_textarea_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_blocks_textarea_path_idx": { "name": "forms_blocks_textarea_path_idx", "columns": [ { "expression": "_path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "forms_blocks_textarea_parent_id_fk": { "name": "forms_blocks_textarea_parent_id_fk", "tableFrom": "forms_blocks_textarea", "tableTo": "forms", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms_emails": { "name": "forms_emails", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "email_to": { "name": "email_to", "type": "varchar", "primaryKey": false, "notNull": false }, "cc": { "name": "cc", "type": "varchar", "primaryKey": false, "notNull": false }, "bcc": { "name": "bcc", "type": "varchar", "primaryKey": false, "notNull": false }, "reply_to": { "name": "reply_to", "type": "varchar", "primaryKey": false, "notNull": false }, "email_from": { "name": "email_from", "type": "varchar", "primaryKey": false, "notNull": false }, "subject": { "name": "subject", "type": "varchar", "primaryKey": false, "notNull": true, "default": "'You''ve received a new message.'" }, "message": { "name": "message", "type": "jsonb", "primaryKey": false, "notNull": false } }, "indexes": { "forms_emails_order_idx": { "name": "forms_emails_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_emails_parent_id_idx": { "name": "forms_emails_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "forms_emails_parent_id_fk": { "name": "forms_emails_parent_id_fk", "tableFrom": "forms_emails", "tableTo": "forms", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.forms": { "name": "forms", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "title": { "name": "title", "type": "varchar", "primaryKey": false, "notNull": true }, "submit_button_label": { "name": "submit_button_label", "type": "varchar", "primaryKey": false, "notNull": false }, "confirmation_type": { "name": "confirmation_type", "type": "enum_forms_confirmation_type", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'message'" }, "confirmation_message": { "name": "confirmation_message", "type": "jsonb", "primaryKey": false, "notNull": false }, "redirect_url": { "name": "redirect_url", "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": { "forms_updated_at_idx": { "name": "forms_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "forms_created_at_idx": { "name": "forms_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.form_submissions_submission_data": { "name": "form_submissions_submission_data", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "field": { "name": "field", "type": "varchar", "primaryKey": false, "notNull": true }, "value": { "name": "value", "type": "varchar", "primaryKey": false, "notNull": true } }, "indexes": { "form_submissions_submission_data_order_idx": { "name": "form_submissions_submission_data_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "form_submissions_submission_data_parent_id_idx": { "name": "form_submissions_submission_data_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "form_submissions_submission_data_parent_id_fk": { "name": "form_submissions_submission_data_parent_id_fk", "tableFrom": "form_submissions_submission_data", "tableTo": "form_submissions", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.form_submissions": { "name": "form_submissions", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "form_id": { "name": "form_id", "type": "integer", "primaryKey": false, "notNull": true }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" } }, "indexes": { "form_submissions_form_idx": { "name": "form_submissions_form_idx", "columns": [ { "expression": "form_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "form_submissions_updated_at_idx": { "name": "form_submissions_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "form_submissions_created_at_idx": { "name": "form_submissions_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "form_submissions_form_id_forms_id_fk": { "name": "form_submissions_form_id_forms_id_fk", "tableFrom": "form_submissions", "tableTo": "forms", "columnsFrom": [ "form_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.redirects": { "name": "redirects", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "from": { "name": "from", "type": "varchar", "primaryKey": false, "notNull": true }, "to_type": { "name": "to_type", "type": "enum_redirects_to_type", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'reference'" }, "to_url": { "name": "to_url", "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": { "redirects_from_idx": { "name": "redirects_from_idx", "columns": [ { "expression": "from", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} }, "redirects_updated_at_idx": { "name": "redirects_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "redirects_created_at_idx": { "name": "redirects_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_kv": { "name": "payload_kv", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "key": { "name": "key", "type": "varchar", "primaryKey": false, "notNull": true }, "data": { "name": "data", "type": "jsonb", "primaryKey": false, "notNull": true } }, "indexes": { "payload_kv_key_idx": { "name": "payload_kv_key_idx", "columns": [ { "expression": "key", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": true, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": {}, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.payload_locked_documents": { "name": "payload_locked_documents", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "global_slug": { "name": "global_slug", "type": "varchar", "primaryKey": false, "notNull": false }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" } }, "indexes": { "payload_locked_documents_global_slug_idx": { "name": "payload_locked_documents_global_slug_idx", "columns": [ { "expression": "global_slug", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_updated_at_idx": { "name": "payload_locked_documents_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_created_at_idx": { "name": "payload_locked_documents_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": {}, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.payload_locked_documents_rels": { "name": "payload_locked_documents_rels", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "order": { "name": "order", "type": "integer", "primaryKey": false, "notNull": false }, "parent_id": { "name": "parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "path": { "name": "path", "type": "varchar", "primaryKey": false, "notNull": true }, "users_id": { "name": "users_id", "type": "integer", "primaryKey": false, "notNull": false }, "media_id": { "name": "media_id", "type": "integer", "primaryKey": false, "notNull": false }, "tenants_id": { "name": "tenants_id", "type": "integer", "primaryKey": false, "notNull": false }, "pages_id": { "name": "pages_id", "type": "integer", "primaryKey": false, "notNull": false }, "posts_id": { "name": "posts_id", "type": "integer", "primaryKey": false, "notNull": false }, "categories_id": { "name": "categories_id", "type": "integer", "primaryKey": false, "notNull": false }, "social_links_id": { "name": "social_links_id", "type": "integer", "primaryKey": false, "notNull": false }, "cookie_configurations_id": { "name": "cookie_configurations_id", "type": "integer", "primaryKey": false, "notNull": false }, "cookie_inventory_id": { "name": "cookie_inventory_id", "type": "integer", "primaryKey": false, "notNull": false }, "consent_logs_id": { "name": "consent_logs_id", "type": "integer", "primaryKey": false, "notNull": false }, "privacy_policy_settings_id": { "name": "privacy_policy_settings_id", "type": "integer", "primaryKey": false, "notNull": false }, "forms_id": { "name": "forms_id", "type": "integer", "primaryKey": false, "notNull": false }, "form_submissions_id": { "name": "form_submissions_id", "type": "integer", "primaryKey": false, "notNull": false }, "redirects_id": { "name": "redirects_id", "type": "integer", "primaryKey": false, "notNull": false } }, "indexes": { "payload_locked_documents_rels_order_idx": { "name": "payload_locked_documents_rels_order_idx", "columns": [ { "expression": "order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_parent_idx": { "name": "payload_locked_documents_rels_parent_idx", "columns": [ { "expression": "parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_path_idx": { "name": "payload_locked_documents_rels_path_idx", "columns": [ { "expression": "path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_users_id_idx": { "name": "payload_locked_documents_rels_users_id_idx", "columns": [ { "expression": "users_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_media_id_idx": { "name": "payload_locked_documents_rels_media_id_idx", "columns": [ { "expression": "media_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_tenants_id_idx": { "name": "payload_locked_documents_rels_tenants_id_idx", "columns": [ { "expression": "tenants_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_pages_id_idx": { "name": "payload_locked_documents_rels_pages_id_idx", "columns": [ { "expression": "pages_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_posts_id_idx": { "name": "payload_locked_documents_rels_posts_id_idx", "columns": [ { "expression": "posts_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_categories_id_idx": { "name": "payload_locked_documents_rels_categories_id_idx", "columns": [ { "expression": "categories_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_social_links_id_idx": { "name": "payload_locked_documents_rels_social_links_id_idx", "columns": [ { "expression": "social_links_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_cookie_configurations_id_idx": { "name": "payload_locked_documents_rels_cookie_configurations_id_idx", "columns": [ { "expression": "cookie_configurations_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_cookie_inventory_id_idx": { "name": "payload_locked_documents_rels_cookie_inventory_id_idx", "columns": [ { "expression": "cookie_inventory_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_consent_logs_id_idx": { "name": "payload_locked_documents_rels_consent_logs_id_idx", "columns": [ { "expression": "consent_logs_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_privacy_policy_settings_id_idx": { "name": "payload_locked_documents_rels_privacy_policy_settings_id_idx", "columns": [ { "expression": "privacy_policy_settings_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_forms_id_idx": { "name": "payload_locked_documents_rels_forms_id_idx", "columns": [ { "expression": "forms_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_form_submissions_id_idx": { "name": "payload_locked_documents_rels_form_submissions_id_idx", "columns": [ { "expression": "form_submissions_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_locked_documents_rels_redirects_id_idx": { "name": "payload_locked_documents_rels_redirects_id_idx", "columns": [ { "expression": "redirects_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "payload_locked_documents_rels_parent_fk": { "name": "payload_locked_documents_rels_parent_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "payload_locked_documents", "columnsFrom": [ "parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_users_fk": { "name": "payload_locked_documents_rels_users_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "users", "columnsFrom": [ "users_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_media_fk": { "name": "payload_locked_documents_rels_media_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "media", "columnsFrom": [ "media_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_tenants_fk": { "name": "payload_locked_documents_rels_tenants_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "tenants", "columnsFrom": [ "tenants_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_pages_fk": { "name": "payload_locked_documents_rels_pages_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "pages", "columnsFrom": [ "pages_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_posts_fk": { "name": "payload_locked_documents_rels_posts_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "posts", "columnsFrom": [ "posts_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_categories_fk": { "name": "payload_locked_documents_rels_categories_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "categories", "columnsFrom": [ "categories_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_social_links_fk": { "name": "payload_locked_documents_rels_social_links_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "social_links", "columnsFrom": [ "social_links_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_cookie_configurations_fk": { "name": "payload_locked_documents_rels_cookie_configurations_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "cookie_configurations", "columnsFrom": [ "cookie_configurations_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_cookie_inventory_fk": { "name": "payload_locked_documents_rels_cookie_inventory_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "cookie_inventory", "columnsFrom": [ "cookie_inventory_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_consent_logs_fk": { "name": "payload_locked_documents_rels_consent_logs_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "consent_logs", "columnsFrom": [ "consent_logs_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_privacy_policy_settings_fk": { "name": "payload_locked_documents_rels_privacy_policy_settings_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "privacy_policy_settings", "columnsFrom": [ "privacy_policy_settings_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_forms_fk": { "name": "payload_locked_documents_rels_forms_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "forms", "columnsFrom": [ "forms_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_form_submissions_fk": { "name": "payload_locked_documents_rels_form_submissions_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "form_submissions", "columnsFrom": [ "form_submissions_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_locked_documents_rels_redirects_fk": { "name": "payload_locked_documents_rels_redirects_fk", "tableFrom": "payload_locked_documents_rels", "tableTo": "redirects", "columnsFrom": [ "redirects_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.payload_preferences": { "name": "payload_preferences", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "key": { "name": "key", "type": "varchar", "primaryKey": false, "notNull": false }, "value": { "name": "value", "type": "jsonb", "primaryKey": false, "notNull": false }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" } }, "indexes": { "payload_preferences_key_idx": { "name": "payload_preferences_key_idx", "columns": [ { "expression": "key", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_preferences_updated_at_idx": { "name": "payload_preferences_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_preferences_created_at_idx": { "name": "payload_preferences_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": {}, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.payload_preferences_rels": { "name": "payload_preferences_rels", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "order": { "name": "order", "type": "integer", "primaryKey": false, "notNull": false }, "parent_id": { "name": "parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "path": { "name": "path", "type": "varchar", "primaryKey": false, "notNull": true }, "users_id": { "name": "users_id", "type": "integer", "primaryKey": false, "notNull": false } }, "indexes": { "payload_preferences_rels_order_idx": { "name": "payload_preferences_rels_order_idx", "columns": [ { "expression": "order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_preferences_rels_parent_idx": { "name": "payload_preferences_rels_parent_idx", "columns": [ { "expression": "parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_preferences_rels_path_idx": { "name": "payload_preferences_rels_path_idx", "columns": [ { "expression": "path", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_preferences_rels_users_id_idx": { "name": "payload_preferences_rels_users_id_idx", "columns": [ { "expression": "users_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "payload_preferences_rels_parent_fk": { "name": "payload_preferences_rels_parent_fk", "tableFrom": "payload_preferences_rels", "tableTo": "payload_preferences", "columnsFrom": [ "parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" }, "payload_preferences_rels_users_fk": { "name": "payload_preferences_rels_users_fk", "tableFrom": "payload_preferences_rels", "tableTo": "users", "columnsFrom": [ "users_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.payload_migrations": { "name": "payload_migrations", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "name": { "name": "name", "type": "varchar", "primaryKey": false, "notNull": false }, "batch": { "name": "batch", "type": "numeric", "primaryKey": false, "notNull": false }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": true, "default": "now()" } }, "indexes": { "payload_migrations_updated_at_idx": { "name": "payload_migrations_updated_at_idx", "columns": [ { "expression": "updated_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "payload_migrations_created_at_idx": { "name": "payload_migrations_created_at_idx", "columns": [ { "expression": "created_at", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": {}, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.site_settings": { "name": "site_settings", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "site_name": { "name": "site_name", "type": "varchar", "primaryKey": false, "notNull": false, "default": "'porwoll.de'" }, "site_tagline": { "name": "site_tagline", "type": "varchar", "primaryKey": false, "notNull": false }, "logo_id": { "name": "logo_id", "type": "integer", "primaryKey": false, "notNull": false }, "favicon_id": { "name": "favicon_id", "type": "integer", "primaryKey": false, "notNull": false }, "contact_email": { "name": "contact_email", "type": "varchar", "primaryKey": false, "notNull": false }, "contact_phone": { "name": "contact_phone", "type": "varchar", "primaryKey": false, "notNull": false }, "contact_address": { "name": "contact_address", "type": "varchar", "primaryKey": false, "notNull": false }, "footer_copyright_text": { "name": "footer_copyright_text", "type": "varchar", "primaryKey": false, "notNull": false }, "footer_show_social_links": { "name": "footer_show_social_links", "type": "boolean", "primaryKey": false, "notNull": false, "default": true }, "seo_default_meta_title": { "name": "seo_default_meta_title", "type": "varchar", "primaryKey": false, "notNull": false }, "seo_default_meta_description": { "name": "seo_default_meta_description", "type": "varchar", "primaryKey": false, "notNull": false }, "seo_default_og_image_id": { "name": "seo_default_og_image_id", "type": "integer", "primaryKey": false, "notNull": false }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": false }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": false } }, "indexes": { "site_settings_logo_idx": { "name": "site_settings_logo_idx", "columns": [ { "expression": "logo_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "site_settings_favicon_idx": { "name": "site_settings_favicon_idx", "columns": [ { "expression": "favicon_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "site_settings_seo_seo_default_og_image_idx": { "name": "site_settings_seo_seo_default_og_image_idx", "columns": [ { "expression": "seo_default_og_image_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "site_settings_logo_id_media_id_fk": { "name": "site_settings_logo_id_media_id_fk", "tableFrom": "site_settings", "tableTo": "media", "columnsFrom": [ "logo_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "site_settings_favicon_id_media_id_fk": { "name": "site_settings_favicon_id_media_id_fk", "tableFrom": "site_settings", "tableTo": "media", "columnsFrom": [ "favicon_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "site_settings_seo_default_og_image_id_media_id_fk": { "name": "site_settings_seo_default_og_image_id_media_id_fk", "tableFrom": "site_settings", "tableTo": "media", "columnsFrom": [ "seo_default_og_image_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.navigation_main_menu_submenu": { "name": "navigation_main_menu_submenu", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "varchar", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": false }, "link_type": { "name": "link_type", "type": "enum_navigation_main_menu_submenu_link_type", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'page'" }, "page_id": { "name": "page_id", "type": "integer", "primaryKey": false, "notNull": false }, "url": { "name": "url", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "navigation_main_menu_submenu_order_idx": { "name": "navigation_main_menu_submenu_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "navigation_main_menu_submenu_parent_id_idx": { "name": "navigation_main_menu_submenu_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "navigation_main_menu_submenu_page_idx": { "name": "navigation_main_menu_submenu_page_idx", "columns": [ { "expression": "page_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "navigation_main_menu_submenu_page_id_pages_id_fk": { "name": "navigation_main_menu_submenu_page_id_pages_id_fk", "tableFrom": "navigation_main_menu_submenu", "tableTo": "pages", "columnsFrom": [ "page_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "navigation_main_menu_submenu_parent_id_fk": { "name": "navigation_main_menu_submenu_parent_id_fk", "tableFrom": "navigation_main_menu_submenu", "tableTo": "navigation_main_menu", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.navigation_main_menu": { "name": "navigation_main_menu", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": true }, "type": { "name": "type", "type": "enum_navigation_main_menu_type", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'page'" }, "page_id": { "name": "page_id", "type": "integer", "primaryKey": false, "notNull": false }, "url": { "name": "url", "type": "varchar", "primaryKey": false, "notNull": false }, "open_in_new_tab": { "name": "open_in_new_tab", "type": "boolean", "primaryKey": false, "notNull": false, "default": false } }, "indexes": { "navigation_main_menu_order_idx": { "name": "navigation_main_menu_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "navigation_main_menu_parent_id_idx": { "name": "navigation_main_menu_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "navigation_main_menu_page_idx": { "name": "navigation_main_menu_page_idx", "columns": [ { "expression": "page_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "navigation_main_menu_page_id_pages_id_fk": { "name": "navigation_main_menu_page_id_pages_id_fk", "tableFrom": "navigation_main_menu", "tableTo": "pages", "columnsFrom": [ "page_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "navigation_main_menu_parent_id_fk": { "name": "navigation_main_menu_parent_id_fk", "tableFrom": "navigation_main_menu", "tableTo": "navigation", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.navigation_footer_menu": { "name": "navigation_footer_menu", "schema": "", "columns": { "_order": { "name": "_order", "type": "integer", "primaryKey": false, "notNull": true }, "_parent_id": { "name": "_parent_id", "type": "integer", "primaryKey": false, "notNull": true }, "id": { "name": "id", "type": "varchar", "primaryKey": true, "notNull": true }, "label": { "name": "label", "type": "varchar", "primaryKey": false, "notNull": true }, "link_type": { "name": "link_type", "type": "enum_navigation_footer_menu_link_type", "typeSchema": "public", "primaryKey": false, "notNull": false, "default": "'page'" }, "page_id": { "name": "page_id", "type": "integer", "primaryKey": false, "notNull": false }, "url": { "name": "url", "type": "varchar", "primaryKey": false, "notNull": false } }, "indexes": { "navigation_footer_menu_order_idx": { "name": "navigation_footer_menu_order_idx", "columns": [ { "expression": "_order", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "navigation_footer_menu_parent_id_idx": { "name": "navigation_footer_menu_parent_id_idx", "columns": [ { "expression": "_parent_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "navigation_footer_menu_page_idx": { "name": "navigation_footer_menu_page_idx", "columns": [ { "expression": "page_id", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": { "navigation_footer_menu_page_id_pages_id_fk": { "name": "navigation_footer_menu_page_id_pages_id_fk", "tableFrom": "navigation_footer_menu", "tableTo": "pages", "columnsFrom": [ "page_id" ], "columnsTo": [ "id" ], "onDelete": "set null", "onUpdate": "no action" }, "navigation_footer_menu_parent_id_fk": { "name": "navigation_footer_menu_parent_id_fk", "tableFrom": "navigation_footer_menu", "tableTo": "navigation", "columnsFrom": [ "_parent_id" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.navigation": { "name": "navigation", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "updated_at": { "name": "updated_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": false }, "created_at": { "name": "created_at", "type": "timestamp(3) with time zone", "primaryKey": false, "notNull": false } }, "indexes": {}, "foreignKeys": {}, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false } }, "enums": { "public.enum_pages_blocks_hero_block_alignment": { "name": "enum_pages_blocks_hero_block_alignment", "schema": "public", "values": [ "left", "center", "right" ] }, "public.enum_pages_blocks_hero_block_cta_style": { "name": "enum_pages_blocks_hero_block_cta_style", "schema": "public", "values": [ "primary", "secondary", "outline" ] }, "public.enum_pages_blocks_text_block_width": { "name": "enum_pages_blocks_text_block_width", "schema": "public", "values": [ "narrow", "medium", "full" ] }, "public.enum_pages_blocks_image_text_block_image_position": { "name": "enum_pages_blocks_image_text_block_image_position", "schema": "public", "values": [ "left", "right" ] }, "public.enum_pages_blocks_card_grid_block_columns": { "name": "enum_pages_blocks_card_grid_block_columns", "schema": "public", "values": [ "2", "3", "4" ] }, "public.enum_pages_blocks_quote_block_style": { "name": "enum_pages_blocks_quote_block_style", "schema": "public", "values": [ "simple", "highlighted", "with-image" ] }, "public.enum_pages_blocks_cta_block_buttons_style": { "name": "enum_pages_blocks_cta_block_buttons_style", "schema": "public", "values": [ "primary", "secondary", "outline" ] }, "public.enum_pages_blocks_cta_block_background_color": { "name": "enum_pages_blocks_cta_block_background_color", "schema": "public", "values": [ "dark", "light", "accent" ] }, "public.enum_pages_blocks_divider_block_style": { "name": "enum_pages_blocks_divider_block_style", "schema": "public", "values": [ "line", "space", "dots" ] }, "public.enum_pages_blocks_divider_block_spacing": { "name": "enum_pages_blocks_divider_block_spacing", "schema": "public", "values": [ "small", "medium", "large" ] }, "public.enum_pages_blocks_video_block_aspect_ratio": { "name": "enum_pages_blocks_video_block_aspect_ratio", "schema": "public", "values": [ "16:9", "4:3", "1:1" ] }, "public.enum_pages_status": { "name": "enum_pages_status", "schema": "public", "values": [ "draft", "published" ] }, "public.enum_posts_status": { "name": "enum_posts_status", "schema": "public", "values": [ "draft", "published" ] }, "public.enum_social_links_platform": { "name": "enum_social_links_platform", "schema": "public", "values": [ "facebook", "x", "instagram", "youtube", "linkedin", "xing" ] }, "public.enum_cookie_configurations_enabled_categories": { "name": "enum_cookie_configurations_enabled_categories", "schema": "public", "values": [ "necessary", "functional", "analytics", "marketing" ] }, "public.enum_cookie_configurations_styling_position": { "name": "enum_cookie_configurations_styling_position", "schema": "public", "values": [ "bottom", "top", "middle" ] }, "public.enum_cookie_configurations_styling_theme": { "name": "enum_cookie_configurations_styling_theme", "schema": "public", "values": [ "dark", "light", "auto" ] }, "public.enum_cookie_inventory_category": { "name": "enum_cookie_inventory_category", "schema": "public", "values": [ "necessary", "functional", "analytics", "marketing" ] }, "public.enum_privacy_policy_settings_provider": { "name": "enum_privacy_policy_settings_provider", "schema": "public", "values": [ "alfright", "internal" ] }, "public.enum_privacy_policy_settings_alfright_language": { "name": "enum_privacy_policy_settings_alfright_language", "schema": "public", "values": [ "de-de", "de-at", "de-ch", "en-gb", "en-us" ] }, "public.enum_forms_confirmation_type": { "name": "enum_forms_confirmation_type", "schema": "public", "values": [ "message", "redirect" ] }, "public.enum_redirects_to_type": { "name": "enum_redirects_to_type", "schema": "public", "values": [ "reference", "custom" ] }, "public.enum_navigation_main_menu_submenu_link_type": { "name": "enum_navigation_main_menu_submenu_link_type", "schema": "public", "values": [ "page", "custom" ] }, "public.enum_navigation_main_menu_type": { "name": "enum_navigation_main_menu_type", "schema": "public", "values": [ "page", "custom", "submenu" ] }, "public.enum_navigation_footer_menu_link_type": { "name": "enum_navigation_footer_menu_link_type", "schema": "public", "values": [ "page", "custom" ] } }, "schemas": {}, "sequences": {}, "roles": {}, "policies": {}, "views": {}, "_meta": { "schemas": {}, "tables": {}, "columns": {} }, "id": "98b30a0b-a92d-4d99-a679-eee2af436594", "prevId": "00000000-0000-0000-0000-000000000000" }