{
  "version": "7",
  "dialect": "postgresql",
  "tables": {
    "public.users_sessions": {
      "name": "users_sessions",
      "schema": "",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "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
        },
        "name": {
          "name": "name",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": true,
          "default": "now()"
        },
        "created_at": {
          "name": "created_at",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": true,
          "default": "now()"
        },
        "email": {
          "name": "email",
          "type": "varchar",
          "primaryKey": false,
          "notNull": true
        },
        "reset_password_token": {
          "name": "reset_password_token",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "reset_password_expiration": {
          "name": "reset_password_expiration",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": false
        },
        "salt": {
          "name": "salt",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "hash": {
          "name": "hash",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "login_attempts": {
          "name": "login_attempts",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "default": 0
        },
        "lock_until": {
          "name": "lock_until",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": false
        }
      },
      "indexes": {
        "users_updated_at_idx": {
          "name": "users_updated_at_idx",
          "columns": [
            {
              "expression": "updated_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "users_created_at_idx": {
          "name": "users_created_at_idx",
          "columns": [
            {
              "expression": "created_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "users_email_idx": {
          "name": "users_email_idx",
          "columns": [
            {
              "expression": "email",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": true,
          "concurrently": false,
          "method": "btree",
          "with": {}
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "policies": {},
      "checkConstraints": {},
      "isRLSEnabled": false
    },
    "public.media": {
      "name": "media",
      "schema": "",
      "columns": {
        "id": {
          "name": "id",
          "type": "serial",
          "primaryKey": true,
          "notNull": true
        },
        "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
        },
        "sizes_thumbnail_url": {
          "name": "sizes_thumbnail_url",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_thumbnail_width": {
          "name": "sizes_thumbnail_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_thumbnail_height": {
          "name": "sizes_thumbnail_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_thumbnail_mime_type": {
          "name": "sizes_thumbnail_mime_type",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_thumbnail_filesize": {
          "name": "sizes_thumbnail_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_thumbnail_filename": {
          "name": "sizes_thumbnail_filename",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_card_url": {
          "name": "sizes_card_url",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_card_width": {
          "name": "sizes_card_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_card_height": {
          "name": "sizes_card_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_card_mime_type": {
          "name": "sizes_card_mime_type",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_card_filesize": {
          "name": "sizes_card_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_card_filename": {
          "name": "sizes_card_filename",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_feature_url": {
          "name": "sizes_feature_url",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_feature_width": {
          "name": "sizes_feature_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_feature_height": {
          "name": "sizes_feature_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_feature_mime_type": {
          "name": "sizes_feature_mime_type",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_feature_filesize": {
          "name": "sizes_feature_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "sizes_feature_filename": {
          "name": "sizes_feature_filename",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        }
      },
      "indexes": {
        "media_updated_at_idx": {
          "name": "media_updated_at_idx",
          "columns": [
            {
              "expression": "updated_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "media_created_at_idx": {
          "name": "media_created_at_idx",
          "columns": [
            {
              "expression": "created_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "media_filename_idx": {
          "name": "media_filename_idx",
          "columns": [
            {
              "expression": "filename",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": true,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {
          "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",
          "columns": [
            {
              "expression": "sizes_thumbnail_filename",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "media_sizes_card_sizes_card_filename_idx": {
          "name": "media_sizes_card_sizes_card_filename_idx",
          "columns": [
            {
              "expression": "sizes_card_filename",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "media_sizes_feature_sizes_feature_filename_idx": {
          "name": "media_sizes_feature_sizes_feature_filename_idx",
          "columns": [
            {
              "expression": "sizes_feature_filename",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "policies": {},
      "checkConstraints": {},
      "isRLSEnabled": false
    },
    "public.products_images": {
      "name": "products_images",
      "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
        },
        "image_id": {
          "name": "image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false
        }
      },
      "indexes": {
        "products_images_order_idx": {
          "name": "products_images_order_idx",
          "columns": [
            {
              "expression": "_order",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "products_images_parent_id_idx": {
          "name": "products_images_parent_id_idx",
          "columns": [
            {
              "expression": "_parent_id",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "products_images_image_idx": {
          "name": "products_images_image_idx",
          "columns": [
            {
              "expression": "image_id",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        }
      },
      "foreignKeys": {
        "products_images_image_id_media_id_fk": {
          "name": "products_images_image_id_media_id_fk",
          "tableFrom": "products_images",
          "tableTo": "media",
          "columnsFrom": [
            "image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "products_images_parent_id_fk": {
          "name": "products_images_parent_id_fk",
          "tableFrom": "products_images",
          "tableTo": "products",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "policies": {},
      "checkConstraints": {},
      "isRLSEnabled": false
    },
    "public.products": {
      "name": "products",
      "schema": "",
      "columns": {
        "id": {
          "name": "id",
          "type": "serial",
          "primaryKey": true,
          "notNull": true
        },
        "product_display_name": {
          "name": "product_display_name",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "name": {
          "name": "name",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "slug": {
          "name": "slug",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "index": {
          "name": "index",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "type": {
          "name": "type",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "materials": {
          "name": "materials",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "year": {
          "name": "year",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false,
          "default": "'2026'"
        },
        "status": {
          "name": "status",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "sort_order": {
          "name": "sort_order",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "default": 0
        },
        "is_published": {
          "name": "is_published",
          "type": "boolean",
          "primaryKey": false,
          "notNull": false,
          "default": true
        },
        "description": {
          "name": "description",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "specs": {
          "name": "specs",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "notes": {
          "name": "notes",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "price": {
          "name": "price",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "currency": {
          "name": "currency",
          "type": "enum_products_currency",
          "typeSchema": "public",
          "primaryKey": false,
          "notNull": false,
          "default": "'EUR'"
        },
        "availability": {
          "name": "availability",
          "type": "enum_products_availability",
          "typeSchema": "public",
          "primaryKey": false,
          "notNull": false,
          "default": "'https://schema.org/InStock'"
        },
        "stripe_product_i_d": {
          "name": "stripe_product_i_d",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "seo_title": {
          "name": "seo_title",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "seo_description": {
          "name": "seo_description",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "stripe_i_d": {
          "name": "stripe_i_d",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "skip_sync": {
          "name": "skip_sync",
          "type": "boolean",
          "primaryKey": false,
          "notNull": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": true,
          "default": "now()"
        },
        "created_at": {
          "name": "created_at",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": true,
          "default": "now()"
        },
        "_status": {
          "name": "_status",
          "type": "enum_products_status",
          "typeSchema": "public",
          "primaryKey": false,
          "notNull": false,
          "default": "'draft'"
        }
      },
      "indexes": {
        "products_slug_idx": {
          "name": "products_slug_idx",
          "columns": [
            {
              "expression": "slug",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": true,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "products_updated_at_idx": {
          "name": "products_updated_at_idx",
          "columns": [
            {
              "expression": "updated_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "products_created_at_idx": {
          "name": "products_created_at_idx",
          "columns": [
            {
              "expression": "created_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "products__status_idx": {
          "name": "products__status_idx",
          "columns": [
            {
              "expression": "_status",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "policies": {},
      "checkConstraints": {},
      "isRLSEnabled": false
    },
    "public._products_v_version_images": {
      "name": "_products_v_version_images",
      "schema": "",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true
        },
        "id": {
          "name": "id",
          "type": "serial",
          "primaryKey": true,
          "notNull": true
        },
        "image_id": {
          "name": "image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false
        },
        "_uuid": {
          "name": "_uuid",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        }
      },
      "indexes": {
        "_products_v_version_images_order_idx": {
          "name": "_products_v_version_images_order_idx",
          "columns": [
            {
              "expression": "_order",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_version_images_parent_id_idx": {
          "name": "_products_v_version_images_parent_id_idx",
          "columns": [
            {
              "expression": "_parent_id",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_version_images_image_idx": {
          "name": "_products_v_version_images_image_idx",
          "columns": [
            {
              "expression": "image_id",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        }
      },
      "foreignKeys": {
        "_products_v_version_images_image_id_media_id_fk": {
          "name": "_products_v_version_images_image_id_media_id_fk",
          "tableFrom": "_products_v_version_images",
          "tableTo": "media",
          "columnsFrom": [
            "image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_products_v_version_images_parent_id_fk": {
          "name": "_products_v_version_images_parent_id_fk",
          "tableFrom": "_products_v_version_images",
          "tableTo": "_products_v",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "policies": {},
      "checkConstraints": {},
      "isRLSEnabled": false
    },
    "public._products_v": {
      "name": "_products_v",
      "schema": "",
      "columns": {
        "id": {
          "name": "id",
          "type": "serial",
          "primaryKey": true,
          "notNull": true
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false
        },
        "version_product_display_name": {
          "name": "version_product_display_name",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_name": {
          "name": "version_name",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_slug": {
          "name": "version_slug",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_index": {
          "name": "version_index",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_type": {
          "name": "version_type",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_materials": {
          "name": "version_materials",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_year": {
          "name": "version_year",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false,
          "default": "'2026'"
        },
        "version_status": {
          "name": "version_status",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_sort_order": {
          "name": "version_sort_order",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "default": 0
        },
        "version_is_published": {
          "name": "version_is_published",
          "type": "boolean",
          "primaryKey": false,
          "notNull": false,
          "default": true
        },
        "version_description": {
          "name": "version_description",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_specs": {
          "name": "version_specs",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_notes": {
          "name": "version_notes",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_price": {
          "name": "version_price",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false
        },
        "version_currency": {
          "name": "version_currency",
          "type": "enum__products_v_version_currency",
          "typeSchema": "public",
          "primaryKey": false,
          "notNull": false,
          "default": "'EUR'"
        },
        "version_availability": {
          "name": "version_availability",
          "type": "enum__products_v_version_availability",
          "typeSchema": "public",
          "primaryKey": false,
          "notNull": false,
          "default": "'https://schema.org/InStock'"
        },
        "version_stripe_product_i_d": {
          "name": "version_stripe_product_i_d",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_seo_title": {
          "name": "version_seo_title",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_seo_description": {
          "name": "version_seo_description",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_stripe_i_d": {
          "name": "version_stripe_i_d",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "version_skip_sync": {
          "name": "version_skip_sync",
          "type": "boolean",
          "primaryKey": false,
          "notNull": false
        },
        "version_updated_at": {
          "name": "version_updated_at",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": false
        },
        "version_created_at": {
          "name": "version_created_at",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": false
        },
        "version__status": {
          "name": "version__status",
          "type": "enum__products_v_version_status",
          "typeSchema": "public",
          "primaryKey": false,
          "notNull": false,
          "default": "'draft'"
        },
        "created_at": {
          "name": "created_at",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": true,
          "default": "now()"
        },
        "updated_at": {
          "name": "updated_at",
          "type": "timestamp(3) with time zone",
          "primaryKey": false,
          "notNull": true,
          "default": "now()"
        },
        "latest": {
          "name": "latest",
          "type": "boolean",
          "primaryKey": false,
          "notNull": false
        },
        "autosave": {
          "name": "autosave",
          "type": "boolean",
          "primaryKey": false,
          "notNull": false
        }
      },
      "indexes": {
        "_products_v_parent_idx": {
          "name": "_products_v_parent_idx",
          "columns": [
            {
              "expression": "parent_id",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_version_version_slug_idx": {
          "name": "_products_v_version_version_slug_idx",
          "columns": [
            {
              "expression": "version_slug",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_version_version_updated_at_idx": {
          "name": "_products_v_version_version_updated_at_idx",
          "columns": [
            {
              "expression": "version_updated_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_version_version_created_at_idx": {
          "name": "_products_v_version_version_created_at_idx",
          "columns": [
            {
              "expression": "version_created_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_version_version__status_idx": {
          "name": "_products_v_version_version__status_idx",
          "columns": [
            {
              "expression": "version__status",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_created_at_idx": {
          "name": "_products_v_created_at_idx",
          "columns": [
            {
              "expression": "created_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_updated_at_idx": {
          "name": "_products_v_updated_at_idx",
          "columns": [
            {
              "expression": "updated_at",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_latest_idx": {
          "name": "_products_v_latest_idx",
          "columns": [
            {
              "expression": "latest",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        },
        "_products_v_autosave_idx": {
          "name": "_products_v_autosave_idx",
          "columns": [
            {
              "expression": "autosave",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        }
      },
      "foreignKeys": {
        "_products_v_parent_id_products_id_fk": {
          "name": "_products_v_parent_id_products_id_fk",
          "tableFrom": "_products_v",
          "tableTo": "products",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "policies": {},
      "checkConstraints": {},
      "isRLSEnabled": false
    },
    "public.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
        },
        "products_id": {
          "name": "products_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_products_id_idx": {
          "name": "payload_locked_documents_rels_products_id_idx",
          "columns": [
            {
              "expression": "products_id",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        }
      },
      "foreignKeys": {
        "payload_locked_documents_rels_parent_fk": {
          "name": "payload_locked_documents_rels_parent_fk",
          "tableFrom": "payload_locked_documents_rels",
          "tableTo": "payload_locked_documents",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "payload_locked_documents_rels_users_fk": {
          "name": "payload_locked_documents_rels_users_fk",
          "tableFrom": "payload_locked_documents_rels",
          "tableTo": "users",
          "columnsFrom": [
            "users_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "payload_locked_documents_rels_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_products_fk": {
          "name": "payload_locked_documents_rels_products_fk",
          "tableFrom": "payload_locked_documents_rels",
          "tableTo": "products",
          "columnsFrom": [
            "products_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "policies": {},
      "checkConstraints": {},
      "isRLSEnabled": false
    },
    "public.payload_preferences": {
      "name": "payload_preferences",
      "schema": "",
      "columns": {
        "id": {
          "name": "id",
          "type": "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.home_page": {
      "name": "home_page",
      "schema": "",
      "columns": {
        "id": {
          "name": "id",
          "type": "serial",
          "primaryKey": true,
          "notNull": true
        },
        "hero_label": {
          "name": "hero_label",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false,
          "default": "'// ARCHIVE_001 — 2026'"
        },
        "hero_title": {
          "name": "hero_title",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "hero_subtitle": {
          "name": "hero_subtitle",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "hero_status": {
          "name": "hero_status",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "hero_image_id": {
          "name": "hero_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false
        },
        "collection_label": {
          "name": "collection_label",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "collection_cta": {
          "name": "collection_cta",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false,
          "default": "'CLIQUER POUR OUVRIR'"
        },
        "contact_label": {
          "name": "contact_label",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "contact_title": {
          "name": "contact_title",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "contact_description": {
          "name": "contact_description",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "whatsapp_number": {
          "name": "whatsapp_number",
          "type": "varchar",
          "primaryKey": false,
          "notNull": true,
          "default": "'33651755191'"
        },
        "whatsapp_button_text": {
          "name": "whatsapp_button_text",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "contact_response_time": {
          "name": "contact_response_time",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "footer_text": {
          "name": "footer_text",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "instagram_url": {
          "name": "instagram_url",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "seo_title": {
          "name": "seo_title",
          "type": "varchar",
          "primaryKey": false,
          "notNull": false
        },
        "seo_description": {
          "name": "seo_description",
          "type": "varchar",
          "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": {
        "home_page_hero_image_idx": {
          "name": "home_page_hero_image_idx",
          "columns": [
            {
              "expression": "hero_image_id",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        }
      },
      "foreignKeys": {
        "home_page_hero_image_id_media_id_fk": {
          "name": "home_page_hero_image_id_media_id_fk",
          "tableFrom": "home_page",
          "tableTo": "media",
          "columnsFrom": [
            "hero_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "policies": {},
      "checkConstraints": {},
      "isRLSEnabled": false
    }
  },
  "enums": {
    "public.enum_products_currency": {
      "name": "enum_products_currency",
      "schema": "public",
      "values": [
        "EUR",
        "USD"
      ]
    },
    "public.enum_products_availability": {
      "name": "enum_products_availability",
      "schema": "public",
      "values": [
        "https://schema.org/InStock",
        "https://schema.org/LimitedAvailability",
        "https://schema.org/PreOrder",
        "https://schema.org/OutOfStock"
      ]
    },
    "public.enum_products_status": {
      "name": "enum_products_status",
      "schema": "public",
      "values": [
        "draft",
        "published"
      ]
    },
    "public.enum__products_v_version_currency": {
      "name": "enum__products_v_version_currency",
      "schema": "public",
      "values": [
        "EUR",
        "USD"
      ]
    },
    "public.enum__products_v_version_availability": {
      "name": "enum__products_v_version_availability",
      "schema": "public",
      "values": [
        "https://schema.org/InStock",
        "https://schema.org/LimitedAvailability",
        "https://schema.org/PreOrder",
        "https://schema.org/OutOfStock"
      ]
    },
    "public.enum__products_v_version_status": {
      "name": "enum__products_v_version_status",
      "schema": "public",
      "values": [
        "draft",
        "published"
      ]
    }
  },
  "schemas": {},
  "sequences": {},
  "roles": {},
  "policies": {},
  "views": {},
  "_meta": {
    "schemas": {},
    "tables": {},
    "columns": {}
  },
  "id": "6fac7636-258c-41c3-b39c-8216bf89895b",
  "prevId": "00000000-0000-0000-0000-000000000000"
}