{
  "version": "6",
  "dialect": "sqlite",
  "tables": {
    "pages_hero_links": {
      "name": "pages_hero_links",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "link_type": {
          "name": "link_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'reference'"
        },
        "link_new_tab": {
          "name": "link_new_tab",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_url": {
          "name": "link_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_label": {
          "name": "link_label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_appearance": {
          "name": "link_appearance",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'default'"
        }
      },
      "indexes": {
        "pages_hero_links_order_idx": {
          "name": "pages_hero_links_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "pages_hero_links_parent_id_idx": {
          "name": "pages_hero_links_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_hero_links_parent_id_fk": {
          "name": "pages_hero_links_parent_id_fk",
          "tableFrom": "pages_hero_links",
          "tableTo": "pages",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "pages_blocks_cta_links": {
      "name": "pages_blocks_cta_links",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "link_type": {
          "name": "link_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'reference'"
        },
        "link_new_tab": {
          "name": "link_new_tab",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_url": {
          "name": "link_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_label": {
          "name": "link_label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_appearance": {
          "name": "link_appearance",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'default'"
        }
      },
      "indexes": {
        "pages_blocks_cta_links_order_idx": {
          "name": "pages_blocks_cta_links_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "pages_blocks_cta_links_parent_id_idx": {
          "name": "pages_blocks_cta_links_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_blocks_cta_links_parent_id_fk": {
          "name": "pages_blocks_cta_links_parent_id_fk",
          "tableFrom": "pages_blocks_cta_links",
          "tableTo": "pages_blocks_cta",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "pages_blocks_cta": {
      "name": "pages_blocks_cta",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "rich_text": {
          "name": "rich_text",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "pages_blocks_cta_order_idx": {
          "name": "pages_blocks_cta_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "pages_blocks_cta_parent_id_idx": {
          "name": "pages_blocks_cta_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "pages_blocks_cta_path_idx": {
          "name": "pages_blocks_cta_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_blocks_cta_parent_id_fk": {
          "name": "pages_blocks_cta_parent_id_fk",
          "tableFrom": "pages_blocks_cta",
          "tableTo": "pages",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "pages_blocks_content_columns": {
      "name": "pages_blocks_content_columns",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "size": {
          "name": "size",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'oneThird'"
        },
        "rich_text": {
          "name": "rich_text",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "enable_link": {
          "name": "enable_link",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_type": {
          "name": "link_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'reference'"
        },
        "link_new_tab": {
          "name": "link_new_tab",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_url": {
          "name": "link_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_label": {
          "name": "link_label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_appearance": {
          "name": "link_appearance",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'default'"
        }
      },
      "indexes": {
        "pages_blocks_content_columns_order_idx": {
          "name": "pages_blocks_content_columns_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "pages_blocks_content_columns_parent_id_idx": {
          "name": "pages_blocks_content_columns_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_blocks_content_columns_parent_id_fk": {
          "name": "pages_blocks_content_columns_parent_id_fk",
          "tableFrom": "pages_blocks_content_columns",
          "tableTo": "pages_blocks_content",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "pages_blocks_content": {
      "name": "pages_blocks_content",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "pages_blocks_content_order_idx": {
          "name": "pages_blocks_content_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "pages_blocks_content_parent_id_idx": {
          "name": "pages_blocks_content_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "pages_blocks_content_path_idx": {
          "name": "pages_blocks_content_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_blocks_content_parent_id_fk": {
          "name": "pages_blocks_content_parent_id_fk",
          "tableFrom": "pages_blocks_content",
          "tableTo": "pages",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "pages_blocks_media_block": {
      "name": "pages_blocks_media_block",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "media_id": {
          "name": "media_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "pages_blocks_media_block_order_idx": {
          "name": "pages_blocks_media_block_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "pages_blocks_media_block_parent_id_idx": {
          "name": "pages_blocks_media_block_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "pages_blocks_media_block_path_idx": {
          "name": "pages_blocks_media_block_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        },
        "pages_blocks_media_block_media_idx": {
          "name": "pages_blocks_media_block_media_idx",
          "columns": [
            "media_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_blocks_media_block_media_id_media_id_fk": {
          "name": "pages_blocks_media_block_media_id_media_id_fk",
          "tableFrom": "pages_blocks_media_block",
          "tableTo": "media",
          "columnsFrom": [
            "media_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "pages_blocks_media_block_parent_id_fk": {
          "name": "pages_blocks_media_block_parent_id_fk",
          "tableFrom": "pages_blocks_media_block",
          "tableTo": "pages",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "pages_blocks_archive": {
      "name": "pages_blocks_archive",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "intro_content": {
          "name": "intro_content",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "populate_by": {
          "name": "populate_by",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'collection'"
        },
        "relation_to": {
          "name": "relation_to",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'posts'"
        },
        "limit": {
          "name": "limit",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": 10
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "pages_blocks_archive_order_idx": {
          "name": "pages_blocks_archive_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "pages_blocks_archive_parent_id_idx": {
          "name": "pages_blocks_archive_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "pages_blocks_archive_path_idx": {
          "name": "pages_blocks_archive_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_blocks_archive_parent_id_fk": {
          "name": "pages_blocks_archive_parent_id_fk",
          "tableFrom": "pages_blocks_archive",
          "tableTo": "pages",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "pages_blocks_form_block": {
      "name": "pages_blocks_form_block",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "form_id": {
          "name": "form_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "enable_intro": {
          "name": "enable_intro",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "intro_content": {
          "name": "intro_content",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "pages_blocks_form_block_order_idx": {
          "name": "pages_blocks_form_block_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "pages_blocks_form_block_parent_id_idx": {
          "name": "pages_blocks_form_block_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "pages_blocks_form_block_path_idx": {
          "name": "pages_blocks_form_block_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        },
        "pages_blocks_form_block_form_idx": {
          "name": "pages_blocks_form_block_form_idx",
          "columns": [
            "form_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_blocks_form_block_form_id_forms_id_fk": {
          "name": "pages_blocks_form_block_form_id_forms_id_fk",
          "tableFrom": "pages_blocks_form_block",
          "tableTo": "forms",
          "columnsFrom": [
            "form_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "pages_blocks_form_block_parent_id_fk": {
          "name": "pages_blocks_form_block_parent_id_fk",
          "tableFrom": "pages_blocks_form_block",
          "tableTo": "pages",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "pages": {
      "name": "pages",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "hero_type": {
          "name": "hero_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'lowImpact'"
        },
        "hero_rich_text": {
          "name": "hero_rich_text",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "hero_media_id": {
          "name": "hero_media_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "meta_title": {
          "name": "meta_title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "meta_image_id": {
          "name": "meta_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "meta_description": {
          "name": "meta_description",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "published_at": {
          "name": "published_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "generate_slug": {
          "name": "generate_slug",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": true
        },
        "slug": {
          "name": "slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "_status": {
          "name": "_status",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'draft'"
        }
      },
      "indexes": {
        "pages_hero_hero_media_idx": {
          "name": "pages_hero_hero_media_idx",
          "columns": [
            "hero_media_id"
          ],
          "isUnique": false
        },
        "pages_meta_meta_image_idx": {
          "name": "pages_meta_meta_image_idx",
          "columns": [
            "meta_image_id"
          ],
          "isUnique": false
        },
        "pages_slug_idx": {
          "name": "pages_slug_idx",
          "columns": [
            "slug"
          ],
          "isUnique": true
        },
        "pages_updated_at_idx": {
          "name": "pages_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "pages_created_at_idx": {
          "name": "pages_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "pages__status_idx": {
          "name": "pages__status_idx",
          "columns": [
            "_status"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_hero_media_id_media_id_fk": {
          "name": "pages_hero_media_id_media_id_fk",
          "tableFrom": "pages",
          "tableTo": "media",
          "columnsFrom": [
            "hero_media_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "pages_meta_image_id_media_id_fk": {
          "name": "pages_meta_image_id_media_id_fk",
          "tableFrom": "pages",
          "tableTo": "media",
          "columnsFrom": [
            "meta_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "pages_rels": {
      "name": "pages_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "pages_id": {
          "name": "pages_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "posts_id": {
          "name": "posts_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "categories_id": {
          "name": "categories_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "pages_rels_order_idx": {
          "name": "pages_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "pages_rels_parent_idx": {
          "name": "pages_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "pages_rels_path_idx": {
          "name": "pages_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "pages_rels_pages_id_idx": {
          "name": "pages_rels_pages_id_idx",
          "columns": [
            "pages_id"
          ],
          "isUnique": false
        },
        "pages_rels_posts_id_idx": {
          "name": "pages_rels_posts_id_idx",
          "columns": [
            "posts_id"
          ],
          "isUnique": false
        },
        "pages_rels_categories_id_idx": {
          "name": "pages_rels_categories_id_idx",
          "columns": [
            "categories_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "pages_rels_parent_fk": {
          "name": "pages_rels_parent_fk",
          "tableFrom": "pages_rels",
          "tableTo": "pages",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "pages_rels_pages_fk": {
          "name": "pages_rels_pages_fk",
          "tableFrom": "pages_rels",
          "tableTo": "pages",
          "columnsFrom": [
            "pages_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "pages_rels_posts_fk": {
          "name": "pages_rels_posts_fk",
          "tableFrom": "pages_rels",
          "tableTo": "posts",
          "columnsFrom": [
            "posts_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "pages_rels_categories_fk": {
          "name": "pages_rels_categories_fk",
          "tableFrom": "pages_rels",
          "tableTo": "categories",
          "columnsFrom": [
            "categories_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v_version_hero_links": {
      "name": "_pages_v_version_hero_links",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "link_type": {
          "name": "link_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'reference'"
        },
        "link_new_tab": {
          "name": "link_new_tab",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_url": {
          "name": "link_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_label": {
          "name": "link_label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_appearance": {
          "name": "link_appearance",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'default'"
        },
        "_uuid": {
          "name": "_uuid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_version_hero_links_order_idx": {
          "name": "_pages_v_version_hero_links_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "_pages_v_version_hero_links_parent_id_idx": {
          "name": "_pages_v_version_hero_links_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_version_hero_links_parent_id_fk": {
          "name": "_pages_v_version_hero_links_parent_id_fk",
          "tableFrom": "_pages_v_version_hero_links",
          "tableTo": "_pages_v",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v_blocks_cta_links": {
      "name": "_pages_v_blocks_cta_links",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "link_type": {
          "name": "link_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'reference'"
        },
        "link_new_tab": {
          "name": "link_new_tab",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_url": {
          "name": "link_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_label": {
          "name": "link_label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_appearance": {
          "name": "link_appearance",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'default'"
        },
        "_uuid": {
          "name": "_uuid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_blocks_cta_links_order_idx": {
          "name": "_pages_v_blocks_cta_links_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_cta_links_parent_id_idx": {
          "name": "_pages_v_blocks_cta_links_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_blocks_cta_links_parent_id_fk": {
          "name": "_pages_v_blocks_cta_links_parent_id_fk",
          "tableFrom": "_pages_v_blocks_cta_links",
          "tableTo": "_pages_v_blocks_cta",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v_blocks_cta": {
      "name": "_pages_v_blocks_cta",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "rich_text": {
          "name": "rich_text",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "_uuid": {
          "name": "_uuid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_blocks_cta_order_idx": {
          "name": "_pages_v_blocks_cta_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_cta_parent_id_idx": {
          "name": "_pages_v_blocks_cta_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_cta_path_idx": {
          "name": "_pages_v_blocks_cta_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_blocks_cta_parent_id_fk": {
          "name": "_pages_v_blocks_cta_parent_id_fk",
          "tableFrom": "_pages_v_blocks_cta",
          "tableTo": "_pages_v",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v_blocks_content_columns": {
      "name": "_pages_v_blocks_content_columns",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "size": {
          "name": "size",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'oneThird'"
        },
        "rich_text": {
          "name": "rich_text",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "enable_link": {
          "name": "enable_link",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_type": {
          "name": "link_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'reference'"
        },
        "link_new_tab": {
          "name": "link_new_tab",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_url": {
          "name": "link_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_label": {
          "name": "link_label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_appearance": {
          "name": "link_appearance",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'default'"
        },
        "_uuid": {
          "name": "_uuid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_blocks_content_columns_order_idx": {
          "name": "_pages_v_blocks_content_columns_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_content_columns_parent_id_idx": {
          "name": "_pages_v_blocks_content_columns_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_blocks_content_columns_parent_id_fk": {
          "name": "_pages_v_blocks_content_columns_parent_id_fk",
          "tableFrom": "_pages_v_blocks_content_columns",
          "tableTo": "_pages_v_blocks_content",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v_blocks_content": {
      "name": "_pages_v_blocks_content",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "_uuid": {
          "name": "_uuid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_blocks_content_order_idx": {
          "name": "_pages_v_blocks_content_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_content_parent_id_idx": {
          "name": "_pages_v_blocks_content_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_content_path_idx": {
          "name": "_pages_v_blocks_content_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_blocks_content_parent_id_fk": {
          "name": "_pages_v_blocks_content_parent_id_fk",
          "tableFrom": "_pages_v_blocks_content",
          "tableTo": "_pages_v",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v_blocks_media_block": {
      "name": "_pages_v_blocks_media_block",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "media_id": {
          "name": "media_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "_uuid": {
          "name": "_uuid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_blocks_media_block_order_idx": {
          "name": "_pages_v_blocks_media_block_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_media_block_parent_id_idx": {
          "name": "_pages_v_blocks_media_block_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_media_block_path_idx": {
          "name": "_pages_v_blocks_media_block_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_media_block_media_idx": {
          "name": "_pages_v_blocks_media_block_media_idx",
          "columns": [
            "media_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_blocks_media_block_media_id_media_id_fk": {
          "name": "_pages_v_blocks_media_block_media_id_media_id_fk",
          "tableFrom": "_pages_v_blocks_media_block",
          "tableTo": "media",
          "columnsFrom": [
            "media_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_pages_v_blocks_media_block_parent_id_fk": {
          "name": "_pages_v_blocks_media_block_parent_id_fk",
          "tableFrom": "_pages_v_blocks_media_block",
          "tableTo": "_pages_v",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v_blocks_archive": {
      "name": "_pages_v_blocks_archive",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "intro_content": {
          "name": "intro_content",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "populate_by": {
          "name": "populate_by",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'collection'"
        },
        "relation_to": {
          "name": "relation_to",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'posts'"
        },
        "limit": {
          "name": "limit",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": 10
        },
        "_uuid": {
          "name": "_uuid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_blocks_archive_order_idx": {
          "name": "_pages_v_blocks_archive_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_archive_parent_id_idx": {
          "name": "_pages_v_blocks_archive_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_archive_path_idx": {
          "name": "_pages_v_blocks_archive_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_blocks_archive_parent_id_fk": {
          "name": "_pages_v_blocks_archive_parent_id_fk",
          "tableFrom": "_pages_v_blocks_archive",
          "tableTo": "_pages_v",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v_blocks_form_block": {
      "name": "_pages_v_blocks_form_block",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "form_id": {
          "name": "form_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "enable_intro": {
          "name": "enable_intro",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "intro_content": {
          "name": "intro_content",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "_uuid": {
          "name": "_uuid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_blocks_form_block_order_idx": {
          "name": "_pages_v_blocks_form_block_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_form_block_parent_id_idx": {
          "name": "_pages_v_blocks_form_block_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_form_block_path_idx": {
          "name": "_pages_v_blocks_form_block_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        },
        "_pages_v_blocks_form_block_form_idx": {
          "name": "_pages_v_blocks_form_block_form_idx",
          "columns": [
            "form_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_blocks_form_block_form_id_forms_id_fk": {
          "name": "_pages_v_blocks_form_block_form_id_forms_id_fk",
          "tableFrom": "_pages_v_blocks_form_block",
          "tableTo": "forms",
          "columnsFrom": [
            "form_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_pages_v_blocks_form_block_parent_id_fk": {
          "name": "_pages_v_blocks_form_block_parent_id_fk",
          "tableFrom": "_pages_v_blocks_form_block",
          "tableTo": "_pages_v",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v": {
      "name": "_pages_v",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_title": {
          "name": "version_title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_hero_type": {
          "name": "version_hero_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'lowImpact'"
        },
        "version_hero_rich_text": {
          "name": "version_hero_rich_text",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_hero_media_id": {
          "name": "version_hero_media_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_meta_title": {
          "name": "version_meta_title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_meta_image_id": {
          "name": "version_meta_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_meta_description": {
          "name": "version_meta_description",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_published_at": {
          "name": "version_published_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_generate_slug": {
          "name": "version_generate_slug",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": true
        },
        "version_slug": {
          "name": "version_slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_updated_at": {
          "name": "version_updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_created_at": {
          "name": "version_created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version__status": {
          "name": "version__status",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'draft'"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "latest": {
          "name": "latest",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "autosave": {
          "name": "autosave",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_parent_idx": {
          "name": "_pages_v_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "_pages_v_version_hero_version_hero_media_idx": {
          "name": "_pages_v_version_hero_version_hero_media_idx",
          "columns": [
            "version_hero_media_id"
          ],
          "isUnique": false
        },
        "_pages_v_version_meta_version_meta_image_idx": {
          "name": "_pages_v_version_meta_version_meta_image_idx",
          "columns": [
            "version_meta_image_id"
          ],
          "isUnique": false
        },
        "_pages_v_version_version_slug_idx": {
          "name": "_pages_v_version_version_slug_idx",
          "columns": [
            "version_slug"
          ],
          "isUnique": false
        },
        "_pages_v_version_version_updated_at_idx": {
          "name": "_pages_v_version_version_updated_at_idx",
          "columns": [
            "version_updated_at"
          ],
          "isUnique": false
        },
        "_pages_v_version_version_created_at_idx": {
          "name": "_pages_v_version_version_created_at_idx",
          "columns": [
            "version_created_at"
          ],
          "isUnique": false
        },
        "_pages_v_version_version__status_idx": {
          "name": "_pages_v_version_version__status_idx",
          "columns": [
            "version__status"
          ],
          "isUnique": false
        },
        "_pages_v_created_at_idx": {
          "name": "_pages_v_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "_pages_v_updated_at_idx": {
          "name": "_pages_v_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "_pages_v_latest_idx": {
          "name": "_pages_v_latest_idx",
          "columns": [
            "latest"
          ],
          "isUnique": false
        },
        "_pages_v_autosave_idx": {
          "name": "_pages_v_autosave_idx",
          "columns": [
            "autosave"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_parent_id_pages_id_fk": {
          "name": "_pages_v_parent_id_pages_id_fk",
          "tableFrom": "_pages_v",
          "tableTo": "pages",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_pages_v_version_hero_media_id_media_id_fk": {
          "name": "_pages_v_version_hero_media_id_media_id_fk",
          "tableFrom": "_pages_v",
          "tableTo": "media",
          "columnsFrom": [
            "version_hero_media_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_pages_v_version_meta_image_id_media_id_fk": {
          "name": "_pages_v_version_meta_image_id_media_id_fk",
          "tableFrom": "_pages_v",
          "tableTo": "media",
          "columnsFrom": [
            "version_meta_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_pages_v_rels": {
      "name": "_pages_v_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "pages_id": {
          "name": "pages_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "posts_id": {
          "name": "posts_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "categories_id": {
          "name": "categories_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_pages_v_rels_order_idx": {
          "name": "_pages_v_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "_pages_v_rels_parent_idx": {
          "name": "_pages_v_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "_pages_v_rels_path_idx": {
          "name": "_pages_v_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "_pages_v_rels_pages_id_idx": {
          "name": "_pages_v_rels_pages_id_idx",
          "columns": [
            "pages_id"
          ],
          "isUnique": false
        },
        "_pages_v_rels_posts_id_idx": {
          "name": "_pages_v_rels_posts_id_idx",
          "columns": [
            "posts_id"
          ],
          "isUnique": false
        },
        "_pages_v_rels_categories_id_idx": {
          "name": "_pages_v_rels_categories_id_idx",
          "columns": [
            "categories_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_pages_v_rels_parent_fk": {
          "name": "_pages_v_rels_parent_fk",
          "tableFrom": "_pages_v_rels",
          "tableTo": "_pages_v",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "_pages_v_rels_pages_fk": {
          "name": "_pages_v_rels_pages_fk",
          "tableFrom": "_pages_v_rels",
          "tableTo": "pages",
          "columnsFrom": [
            "pages_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "_pages_v_rels_posts_fk": {
          "name": "_pages_v_rels_posts_fk",
          "tableFrom": "_pages_v_rels",
          "tableTo": "posts",
          "columnsFrom": [
            "posts_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "_pages_v_rels_categories_fk": {
          "name": "_pages_v_rels_categories_fk",
          "tableFrom": "_pages_v_rels",
          "tableTo": "categories",
          "columnsFrom": [
            "categories_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "posts_populated_authors": {
      "name": "posts_populated_authors",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "posts_populated_authors_order_idx": {
          "name": "posts_populated_authors_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "posts_populated_authors_parent_id_idx": {
          "name": "posts_populated_authors_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "posts_populated_authors_parent_id_fk": {
          "name": "posts_populated_authors_parent_id_fk",
          "tableFrom": "posts_populated_authors",
          "tableTo": "posts",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "posts": {
      "name": "posts",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "hero_image_id": {
          "name": "hero_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "content": {
          "name": "content",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "meta_title": {
          "name": "meta_title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "meta_image_id": {
          "name": "meta_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "meta_description": {
          "name": "meta_description",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "published_at": {
          "name": "published_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "generate_slug": {
          "name": "generate_slug",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": true
        },
        "slug": {
          "name": "slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "_status": {
          "name": "_status",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'draft'"
        }
      },
      "indexes": {
        "posts_hero_image_idx": {
          "name": "posts_hero_image_idx",
          "columns": [
            "hero_image_id"
          ],
          "isUnique": false
        },
        "posts_meta_meta_image_idx": {
          "name": "posts_meta_meta_image_idx",
          "columns": [
            "meta_image_id"
          ],
          "isUnique": false
        },
        "posts_slug_idx": {
          "name": "posts_slug_idx",
          "columns": [
            "slug"
          ],
          "isUnique": true
        },
        "posts_updated_at_idx": {
          "name": "posts_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "posts_created_at_idx": {
          "name": "posts_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "posts__status_idx": {
          "name": "posts__status_idx",
          "columns": [
            "_status"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "posts_hero_image_id_media_id_fk": {
          "name": "posts_hero_image_id_media_id_fk",
          "tableFrom": "posts",
          "tableTo": "media",
          "columnsFrom": [
            "hero_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "posts_meta_image_id_media_id_fk": {
          "name": "posts_meta_image_id_media_id_fk",
          "tableFrom": "posts",
          "tableTo": "media",
          "columnsFrom": [
            "meta_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "posts_rels": {
      "name": "posts_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "posts_id": {
          "name": "posts_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "categories_id": {
          "name": "categories_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "users_id": {
          "name": "users_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "posts_rels_order_idx": {
          "name": "posts_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "posts_rels_parent_idx": {
          "name": "posts_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "posts_rels_path_idx": {
          "name": "posts_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "posts_rels_posts_id_idx": {
          "name": "posts_rels_posts_id_idx",
          "columns": [
            "posts_id"
          ],
          "isUnique": false
        },
        "posts_rels_categories_id_idx": {
          "name": "posts_rels_categories_id_idx",
          "columns": [
            "categories_id"
          ],
          "isUnique": false
        },
        "posts_rels_users_id_idx": {
          "name": "posts_rels_users_id_idx",
          "columns": [
            "users_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "posts_rels_parent_fk": {
          "name": "posts_rels_parent_fk",
          "tableFrom": "posts_rels",
          "tableTo": "posts",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "posts_rels_posts_fk": {
          "name": "posts_rels_posts_fk",
          "tableFrom": "posts_rels",
          "tableTo": "posts",
          "columnsFrom": [
            "posts_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "posts_rels_categories_fk": {
          "name": "posts_rels_categories_fk",
          "tableFrom": "posts_rels",
          "tableTo": "categories",
          "columnsFrom": [
            "categories_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "posts_rels_users_fk": {
          "name": "posts_rels_users_fk",
          "tableFrom": "posts_rels",
          "tableTo": "users",
          "columnsFrom": [
            "users_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_posts_v_version_populated_authors": {
      "name": "_posts_v_version_populated_authors",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "_uuid": {
          "name": "_uuid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_posts_v_version_populated_authors_order_idx": {
          "name": "_posts_v_version_populated_authors_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "_posts_v_version_populated_authors_parent_id_idx": {
          "name": "_posts_v_version_populated_authors_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_posts_v_version_populated_authors_parent_id_fk": {
          "name": "_posts_v_version_populated_authors_parent_id_fk",
          "tableFrom": "_posts_v_version_populated_authors",
          "tableTo": "_posts_v",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_posts_v": {
      "name": "_posts_v",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_title": {
          "name": "version_title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_hero_image_id": {
          "name": "version_hero_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_content": {
          "name": "version_content",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_meta_title": {
          "name": "version_meta_title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_meta_image_id": {
          "name": "version_meta_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_meta_description": {
          "name": "version_meta_description",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_published_at": {
          "name": "version_published_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_generate_slug": {
          "name": "version_generate_slug",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": true
        },
        "version_slug": {
          "name": "version_slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_updated_at": {
          "name": "version_updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_created_at": {
          "name": "version_created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version__status": {
          "name": "version__status",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'draft'"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "latest": {
          "name": "latest",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "autosave": {
          "name": "autosave",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_posts_v_parent_idx": {
          "name": "_posts_v_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "_posts_v_version_version_hero_image_idx": {
          "name": "_posts_v_version_version_hero_image_idx",
          "columns": [
            "version_hero_image_id"
          ],
          "isUnique": false
        },
        "_posts_v_version_meta_version_meta_image_idx": {
          "name": "_posts_v_version_meta_version_meta_image_idx",
          "columns": [
            "version_meta_image_id"
          ],
          "isUnique": false
        },
        "_posts_v_version_version_slug_idx": {
          "name": "_posts_v_version_version_slug_idx",
          "columns": [
            "version_slug"
          ],
          "isUnique": false
        },
        "_posts_v_version_version_updated_at_idx": {
          "name": "_posts_v_version_version_updated_at_idx",
          "columns": [
            "version_updated_at"
          ],
          "isUnique": false
        },
        "_posts_v_version_version_created_at_idx": {
          "name": "_posts_v_version_version_created_at_idx",
          "columns": [
            "version_created_at"
          ],
          "isUnique": false
        },
        "_posts_v_version_version__status_idx": {
          "name": "_posts_v_version_version__status_idx",
          "columns": [
            "version__status"
          ],
          "isUnique": false
        },
        "_posts_v_created_at_idx": {
          "name": "_posts_v_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "_posts_v_updated_at_idx": {
          "name": "_posts_v_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "_posts_v_latest_idx": {
          "name": "_posts_v_latest_idx",
          "columns": [
            "latest"
          ],
          "isUnique": false
        },
        "_posts_v_autosave_idx": {
          "name": "_posts_v_autosave_idx",
          "columns": [
            "autosave"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_posts_v_parent_id_posts_id_fk": {
          "name": "_posts_v_parent_id_posts_id_fk",
          "tableFrom": "_posts_v",
          "tableTo": "posts",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_posts_v_version_hero_image_id_media_id_fk": {
          "name": "_posts_v_version_hero_image_id_media_id_fk",
          "tableFrom": "_posts_v",
          "tableTo": "media",
          "columnsFrom": [
            "version_hero_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_posts_v_version_meta_image_id_media_id_fk": {
          "name": "_posts_v_version_meta_image_id_media_id_fk",
          "tableFrom": "_posts_v",
          "tableTo": "media",
          "columnsFrom": [
            "version_meta_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_posts_v_rels": {
      "name": "_posts_v_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "posts_id": {
          "name": "posts_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "categories_id": {
          "name": "categories_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "users_id": {
          "name": "users_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_posts_v_rels_order_idx": {
          "name": "_posts_v_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "_posts_v_rels_parent_idx": {
          "name": "_posts_v_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "_posts_v_rels_path_idx": {
          "name": "_posts_v_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "_posts_v_rels_posts_id_idx": {
          "name": "_posts_v_rels_posts_id_idx",
          "columns": [
            "posts_id"
          ],
          "isUnique": false
        },
        "_posts_v_rels_categories_id_idx": {
          "name": "_posts_v_rels_categories_id_idx",
          "columns": [
            "categories_id"
          ],
          "isUnique": false
        },
        "_posts_v_rels_users_id_idx": {
          "name": "_posts_v_rels_users_id_idx",
          "columns": [
            "users_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_posts_v_rels_parent_fk": {
          "name": "_posts_v_rels_parent_fk",
          "tableFrom": "_posts_v_rels",
          "tableTo": "_posts_v",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "_posts_v_rels_posts_fk": {
          "name": "_posts_v_rels_posts_fk",
          "tableFrom": "_posts_v_rels",
          "tableTo": "posts",
          "columnsFrom": [
            "posts_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "_posts_v_rels_categories_fk": {
          "name": "_posts_v_rels_categories_fk",
          "tableFrom": "_posts_v_rels",
          "tableTo": "categories",
          "columnsFrom": [
            "categories_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "_posts_v_rels_users_fk": {
          "name": "_posts_v_rels_users_fk",
          "tableFrom": "_posts_v_rels",
          "tableTo": "users",
          "columnsFrom": [
            "users_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "media": {
      "name": "media",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "alt": {
          "name": "alt",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "caption": {
          "name": "caption",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "folder_id": {
          "name": "folder_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "url": {
          "name": "url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "thumbnail_u_r_l": {
          "name": "thumbnail_u_r_l",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "filename": {
          "name": "filename",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "mime_type": {
          "name": "mime_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "filesize": {
          "name": "filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "width": {
          "name": "width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "height": {
          "name": "height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "focal_x": {
          "name": "focal_x",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "focal_y": {
          "name": "focal_y",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_thumbnail_url": {
          "name": "sizes_thumbnail_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_thumbnail_width": {
          "name": "sizes_thumbnail_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_thumbnail_height": {
          "name": "sizes_thumbnail_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_thumbnail_mime_type": {
          "name": "sizes_thumbnail_mime_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_thumbnail_filesize": {
          "name": "sizes_thumbnail_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_thumbnail_filename": {
          "name": "sizes_thumbnail_filename",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_square_url": {
          "name": "sizes_square_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_square_width": {
          "name": "sizes_square_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_square_height": {
          "name": "sizes_square_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_square_mime_type": {
          "name": "sizes_square_mime_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_square_filesize": {
          "name": "sizes_square_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_square_filename": {
          "name": "sizes_square_filename",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_small_url": {
          "name": "sizes_small_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_small_width": {
          "name": "sizes_small_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_small_height": {
          "name": "sizes_small_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_small_mime_type": {
          "name": "sizes_small_mime_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_small_filesize": {
          "name": "sizes_small_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_small_filename": {
          "name": "sizes_small_filename",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_medium_url": {
          "name": "sizes_medium_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_medium_width": {
          "name": "sizes_medium_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_medium_height": {
          "name": "sizes_medium_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_medium_mime_type": {
          "name": "sizes_medium_mime_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_medium_filesize": {
          "name": "sizes_medium_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_medium_filename": {
          "name": "sizes_medium_filename",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_large_url": {
          "name": "sizes_large_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_large_width": {
          "name": "sizes_large_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_large_height": {
          "name": "sizes_large_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_large_mime_type": {
          "name": "sizes_large_mime_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_large_filesize": {
          "name": "sizes_large_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_large_filename": {
          "name": "sizes_large_filename",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_xlarge_url": {
          "name": "sizes_xlarge_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_xlarge_width": {
          "name": "sizes_xlarge_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_xlarge_height": {
          "name": "sizes_xlarge_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_xlarge_mime_type": {
          "name": "sizes_xlarge_mime_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_xlarge_filesize": {
          "name": "sizes_xlarge_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_xlarge_filename": {
          "name": "sizes_xlarge_filename",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_og_url": {
          "name": "sizes_og_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_og_width": {
          "name": "sizes_og_width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_og_height": {
          "name": "sizes_og_height",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_og_mime_type": {
          "name": "sizes_og_mime_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_og_filesize": {
          "name": "sizes_og_filesize",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sizes_og_filename": {
          "name": "sizes_og_filename",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "media_folder_idx": {
          "name": "media_folder_idx",
          "columns": [
            "folder_id"
          ],
          "isUnique": false
        },
        "media_updated_at_idx": {
          "name": "media_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "media_created_at_idx": {
          "name": "media_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "media_filename_idx": {
          "name": "media_filename_idx",
          "columns": [
            "filename"
          ],
          "isUnique": true
        },
        "media_sizes_thumbnail_sizes_thumbnail_filename_idx": {
          "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx",
          "columns": [
            "sizes_thumbnail_filename"
          ],
          "isUnique": false
        },
        "media_sizes_square_sizes_square_filename_idx": {
          "name": "media_sizes_square_sizes_square_filename_idx",
          "columns": [
            "sizes_square_filename"
          ],
          "isUnique": false
        },
        "media_sizes_small_sizes_small_filename_idx": {
          "name": "media_sizes_small_sizes_small_filename_idx",
          "columns": [
            "sizes_small_filename"
          ],
          "isUnique": false
        },
        "media_sizes_medium_sizes_medium_filename_idx": {
          "name": "media_sizes_medium_sizes_medium_filename_idx",
          "columns": [
            "sizes_medium_filename"
          ],
          "isUnique": false
        },
        "media_sizes_large_sizes_large_filename_idx": {
          "name": "media_sizes_large_sizes_large_filename_idx",
          "columns": [
            "sizes_large_filename"
          ],
          "isUnique": false
        },
        "media_sizes_xlarge_sizes_xlarge_filename_idx": {
          "name": "media_sizes_xlarge_sizes_xlarge_filename_idx",
          "columns": [
            "sizes_xlarge_filename"
          ],
          "isUnique": false
        },
        "media_sizes_og_sizes_og_filename_idx": {
          "name": "media_sizes_og_sizes_og_filename_idx",
          "columns": [
            "sizes_og_filename"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "media_folder_id_payload_folders_id_fk": {
          "name": "media_folder_id_payload_folders_id_fk",
          "tableFrom": "media",
          "tableTo": "payload_folders",
          "columnsFrom": [
            "folder_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "categories_breadcrumbs": {
      "name": "categories_breadcrumbs",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "doc_id": {
          "name": "doc_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "url": {
          "name": "url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "categories_breadcrumbs_order_idx": {
          "name": "categories_breadcrumbs_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "categories_breadcrumbs_parent_id_idx": {
          "name": "categories_breadcrumbs_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "categories_breadcrumbs_doc_idx": {
          "name": "categories_breadcrumbs_doc_idx",
          "columns": [
            "doc_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "categories_breadcrumbs_doc_id_categories_id_fk": {
          "name": "categories_breadcrumbs_doc_id_categories_id_fk",
          "tableFrom": "categories_breadcrumbs",
          "tableTo": "categories",
          "columnsFrom": [
            "doc_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "categories_breadcrumbs_parent_id_fk": {
          "name": "categories_breadcrumbs_parent_id_fk",
          "tableFrom": "categories_breadcrumbs",
          "tableTo": "categories",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "categories": {
      "name": "categories",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "description": {
          "name": "description",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "cover_image_id": {
          "name": "cover_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": 0
        },
        "generate_slug": {
          "name": "generate_slug",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": true
        },
        "slug": {
          "name": "slug",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "categories_cover_image_idx": {
          "name": "categories_cover_image_idx",
          "columns": [
            "cover_image_id"
          ],
          "isUnique": false
        },
        "categories_slug_idx": {
          "name": "categories_slug_idx",
          "columns": [
            "slug"
          ],
          "isUnique": true
        },
        "categories_parent_idx": {
          "name": "categories_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "categories_updated_at_idx": {
          "name": "categories_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "categories_created_at_idx": {
          "name": "categories_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "categories_cover_image_id_media_id_fk": {
          "name": "categories_cover_image_id_media_id_fk",
          "tableFrom": "categories",
          "tableTo": "media",
          "columnsFrom": [
            "cover_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "categories_parent_id_categories_id_fk": {
          "name": "categories_parent_id_categories_id_fk",
          "tableFrom": "categories",
          "tableTo": "categories",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "tags": {
      "name": "tags",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "description": {
          "name": "description",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "generate_slug": {
          "name": "generate_slug",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": true
        },
        "slug": {
          "name": "slug",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "tags_slug_idx": {
          "name": "tags_slug_idx",
          "columns": [
            "slug"
          ],
          "isUnique": true
        },
        "tags_updated_at_idx": {
          "name": "tags_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "tags_created_at_idx": {
          "name": "tags_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "stories": {
      "name": "stories",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "cover_image_id": {
          "name": "cover_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "synopsis": {
          "name": "synopsis",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "author": {
          "name": "author",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "translator": {
          "name": "translator",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "category_id": {
          "name": "category_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "published_at": {
          "name": "published_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "generate_slug": {
          "name": "generate_slug",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": true
        },
        "slug": {
          "name": "slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "_status": {
          "name": "_status",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'draft'"
        }
      },
      "indexes": {
        "stories_cover_image_idx": {
          "name": "stories_cover_image_idx",
          "columns": [
            "cover_image_id"
          ],
          "isUnique": false
        },
        "stories_category_idx": {
          "name": "stories_category_idx",
          "columns": [
            "category_id"
          ],
          "isUnique": false
        },
        "stories_slug_idx": {
          "name": "stories_slug_idx",
          "columns": [
            "slug"
          ],
          "isUnique": true
        },
        "stories_updated_at_idx": {
          "name": "stories_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "stories_created_at_idx": {
          "name": "stories_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "stories__status_idx": {
          "name": "stories__status_idx",
          "columns": [
            "_status"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "stories_cover_image_id_media_id_fk": {
          "name": "stories_cover_image_id_media_id_fk",
          "tableFrom": "stories",
          "tableTo": "media",
          "columnsFrom": [
            "cover_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "stories_category_id_categories_id_fk": {
          "name": "stories_category_id_categories_id_fk",
          "tableFrom": "stories",
          "tableTo": "categories",
          "columnsFrom": [
            "category_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "stories_rels": {
      "name": "stories_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "tags_id": {
          "name": "tags_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "stories_rels_order_idx": {
          "name": "stories_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "stories_rels_parent_idx": {
          "name": "stories_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "stories_rels_path_idx": {
          "name": "stories_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "stories_rels_tags_id_idx": {
          "name": "stories_rels_tags_id_idx",
          "columns": [
            "tags_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "stories_rels_parent_fk": {
          "name": "stories_rels_parent_fk",
          "tableFrom": "stories_rels",
          "tableTo": "stories",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "stories_rels_tags_fk": {
          "name": "stories_rels_tags_fk",
          "tableFrom": "stories_rels",
          "tableTo": "tags",
          "columnsFrom": [
            "tags_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_stories_v": {
      "name": "_stories_v",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_title": {
          "name": "version_title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_cover_image_id": {
          "name": "version_cover_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_synopsis": {
          "name": "version_synopsis",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_author": {
          "name": "version_author",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_translator": {
          "name": "version_translator",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_category_id": {
          "name": "version_category_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_published_at": {
          "name": "version_published_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_generate_slug": {
          "name": "version_generate_slug",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": true
        },
        "version_slug": {
          "name": "version_slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_updated_at": {
          "name": "version_updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_created_at": {
          "name": "version_created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version__status": {
          "name": "version__status",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'draft'"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "latest": {
          "name": "latest",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "autosave": {
          "name": "autosave",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_stories_v_parent_idx": {
          "name": "_stories_v_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "_stories_v_version_version_cover_image_idx": {
          "name": "_stories_v_version_version_cover_image_idx",
          "columns": [
            "version_cover_image_id"
          ],
          "isUnique": false
        },
        "_stories_v_version_version_category_idx": {
          "name": "_stories_v_version_version_category_idx",
          "columns": [
            "version_category_id"
          ],
          "isUnique": false
        },
        "_stories_v_version_version_slug_idx": {
          "name": "_stories_v_version_version_slug_idx",
          "columns": [
            "version_slug"
          ],
          "isUnique": false
        },
        "_stories_v_version_version_updated_at_idx": {
          "name": "_stories_v_version_version_updated_at_idx",
          "columns": [
            "version_updated_at"
          ],
          "isUnique": false
        },
        "_stories_v_version_version_created_at_idx": {
          "name": "_stories_v_version_version_created_at_idx",
          "columns": [
            "version_created_at"
          ],
          "isUnique": false
        },
        "_stories_v_version_version__status_idx": {
          "name": "_stories_v_version_version__status_idx",
          "columns": [
            "version__status"
          ],
          "isUnique": false
        },
        "_stories_v_created_at_idx": {
          "name": "_stories_v_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "_stories_v_updated_at_idx": {
          "name": "_stories_v_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "_stories_v_latest_idx": {
          "name": "_stories_v_latest_idx",
          "columns": [
            "latest"
          ],
          "isUnique": false
        },
        "_stories_v_autosave_idx": {
          "name": "_stories_v_autosave_idx",
          "columns": [
            "autosave"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_stories_v_parent_id_stories_id_fk": {
          "name": "_stories_v_parent_id_stories_id_fk",
          "tableFrom": "_stories_v",
          "tableTo": "stories",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_stories_v_version_cover_image_id_media_id_fk": {
          "name": "_stories_v_version_cover_image_id_media_id_fk",
          "tableFrom": "_stories_v",
          "tableTo": "media",
          "columnsFrom": [
            "version_cover_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_stories_v_version_category_id_categories_id_fk": {
          "name": "_stories_v_version_category_id_categories_id_fk",
          "tableFrom": "_stories_v",
          "tableTo": "categories",
          "columnsFrom": [
            "version_category_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_stories_v_rels": {
      "name": "_stories_v_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "tags_id": {
          "name": "tags_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_stories_v_rels_order_idx": {
          "name": "_stories_v_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "_stories_v_rels_parent_idx": {
          "name": "_stories_v_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "_stories_v_rels_path_idx": {
          "name": "_stories_v_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "_stories_v_rels_tags_id_idx": {
          "name": "_stories_v_rels_tags_id_idx",
          "columns": [
            "tags_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_stories_v_rels_parent_fk": {
          "name": "_stories_v_rels_parent_fk",
          "tableFrom": "_stories_v_rels",
          "tableTo": "_stories_v",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "_stories_v_rels_tags_fk": {
          "name": "_stories_v_rels_tags_fk",
          "tableFrom": "_stories_v_rels",
          "tableTo": "tags",
          "columnsFrom": [
            "tags_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "chapters": {
      "name": "chapters",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "chapter_number": {
          "name": "chapter_number",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "slug": {
          "name": "slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "story_id": {
          "name": "story_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "content": {
          "name": "content",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "published_at": {
          "name": "published_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "affiliate_unlock_url": {
          "name": "affiliate_unlock_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "affiliate_unlock_label": {
          "name": "affiliate_unlock_label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'Mở khóa chương'"
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "_status": {
          "name": "_status",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'draft'"
        }
      },
      "indexes": {
        "chapters_story_idx": {
          "name": "chapters_story_idx",
          "columns": [
            "story_id"
          ],
          "isUnique": false
        },
        "chapters_updated_at_idx": {
          "name": "chapters_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "chapters_created_at_idx": {
          "name": "chapters_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "chapters__status_idx": {
          "name": "chapters__status_idx",
          "columns": [
            "_status"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "chapters_story_id_stories_id_fk": {
          "name": "chapters_story_id_stories_id_fk",
          "tableFrom": "chapters",
          "tableTo": "stories",
          "columnsFrom": [
            "story_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "_chapters_v": {
      "name": "_chapters_v",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_title": {
          "name": "version_title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_chapter_number": {
          "name": "version_chapter_number",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_slug": {
          "name": "version_slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_story_id": {
          "name": "version_story_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_content": {
          "name": "version_content",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_published_at": {
          "name": "version_published_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_affiliate_unlock_url": {
          "name": "version_affiliate_unlock_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_affiliate_unlock_label": {
          "name": "version_affiliate_unlock_label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'Mở khóa chương'"
        },
        "version_updated_at": {
          "name": "version_updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version_created_at": {
          "name": "version_created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "version__status": {
          "name": "version__status",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'draft'"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "latest": {
          "name": "latest",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "autosave": {
          "name": "autosave",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "_chapters_v_parent_idx": {
          "name": "_chapters_v_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "_chapters_v_version_version_story_idx": {
          "name": "_chapters_v_version_version_story_idx",
          "columns": [
            "version_story_id"
          ],
          "isUnique": false
        },
        "_chapters_v_version_version_updated_at_idx": {
          "name": "_chapters_v_version_version_updated_at_idx",
          "columns": [
            "version_updated_at"
          ],
          "isUnique": false
        },
        "_chapters_v_version_version_created_at_idx": {
          "name": "_chapters_v_version_version_created_at_idx",
          "columns": [
            "version_created_at"
          ],
          "isUnique": false
        },
        "_chapters_v_version_version__status_idx": {
          "name": "_chapters_v_version_version__status_idx",
          "columns": [
            "version__status"
          ],
          "isUnique": false
        },
        "_chapters_v_created_at_idx": {
          "name": "_chapters_v_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "_chapters_v_updated_at_idx": {
          "name": "_chapters_v_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "_chapters_v_latest_idx": {
          "name": "_chapters_v_latest_idx",
          "columns": [
            "latest"
          ],
          "isUnique": false
        },
        "_chapters_v_autosave_idx": {
          "name": "_chapters_v_autosave_idx",
          "columns": [
            "autosave"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "_chapters_v_parent_id_chapters_id_fk": {
          "name": "_chapters_v_parent_id_chapters_id_fk",
          "tableFrom": "_chapters_v",
          "tableTo": "chapters",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        },
        "_chapters_v_version_story_id_stories_id_fk": {
          "name": "_chapters_v_version_story_id_stories_id_fk",
          "tableFrom": "_chapters_v",
          "tableTo": "stories",
          "columnsFrom": [
            "version_story_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "users_sessions": {
      "name": "users_sessions",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "expires_at": {
          "name": "expires_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {
        "users_sessions_order_idx": {
          "name": "users_sessions_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "users_sessions_parent_id_idx": {
          "name": "users_sessions_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "users": {
      "name": "users",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "email": {
          "name": "email",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "reset_password_token": {
          "name": "reset_password_token",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "reset_password_expiration": {
          "name": "reset_password_expiration",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "salt": {
          "name": "salt",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "hash": {
          "name": "hash",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "login_attempts": {
          "name": "login_attempts",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": 0
        },
        "lock_until": {
          "name": "lock_until",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "users_updated_at_idx": {
          "name": "users_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "users_created_at_idx": {
          "name": "users_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        },
        "users_email_idx": {
          "name": "users_email_idx",
          "columns": [
            "email"
          ],
          "isUnique": true
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "redirects": {
      "name": "redirects",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "from": {
          "name": "from",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "to_type": {
          "name": "to_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'reference'"
        },
        "to_url": {
          "name": "to_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "redirects_from_idx": {
          "name": "redirects_from_idx",
          "columns": [
            "from"
          ],
          "isUnique": true
        },
        "redirects_updated_at_idx": {
          "name": "redirects_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "redirects_created_at_idx": {
          "name": "redirects_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "redirects_rels": {
      "name": "redirects_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "pages_id": {
          "name": "pages_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "posts_id": {
          "name": "posts_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "redirects_rels_order_idx": {
          "name": "redirects_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "redirects_rels_parent_idx": {
          "name": "redirects_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "redirects_rels_path_idx": {
          "name": "redirects_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "redirects_rels_pages_id_idx": {
          "name": "redirects_rels_pages_id_idx",
          "columns": [
            "pages_id"
          ],
          "isUnique": false
        },
        "redirects_rels_posts_id_idx": {
          "name": "redirects_rels_posts_id_idx",
          "columns": [
            "posts_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "redirects_rels_parent_fk": {
          "name": "redirects_rels_parent_fk",
          "tableFrom": "redirects_rels",
          "tableTo": "redirects",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "redirects_rels_pages_fk": {
          "name": "redirects_rels_pages_fk",
          "tableFrom": "redirects_rels",
          "tableTo": "pages",
          "columnsFrom": [
            "pages_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "redirects_rels_posts_fk": {
          "name": "redirects_rels_posts_fk",
          "tableFrom": "redirects_rels",
          "tableTo": "posts",
          "columnsFrom": [
            "posts_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "forms_blocks_checkbox": {
      "name": "forms_blocks_checkbox",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "width": {
          "name": "width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "required": {
          "name": "required",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "default_value": {
          "name": "default_value",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_checkbox_order_idx": {
          "name": "forms_blocks_checkbox_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_checkbox_parent_id_idx": {
          "name": "forms_blocks_checkbox_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "forms_blocks_checkbox_path_idx": {
          "name": "forms_blocks_checkbox_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "forms_blocks_country": {
      "name": "forms_blocks_country",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "width": {
          "name": "width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "required": {
          "name": "required",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_country_order_idx": {
          "name": "forms_blocks_country_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_country_parent_id_idx": {
          "name": "forms_blocks_country_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "forms_blocks_country_path_idx": {
          "name": "forms_blocks_country_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "forms_blocks_country_parent_id_fk": {
          "name": "forms_blocks_country_parent_id_fk",
          "tableFrom": "forms_blocks_country",
          "tableTo": "forms",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "forms_blocks_email": {
      "name": "forms_blocks_email",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "width": {
          "name": "width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "required": {
          "name": "required",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_email_order_idx": {
          "name": "forms_blocks_email_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_email_parent_id_idx": {
          "name": "forms_blocks_email_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "forms_blocks_email_path_idx": {
          "name": "forms_blocks_email_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "forms_blocks_message": {
      "name": "forms_blocks_message",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "message": {
          "name": "message",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_message_order_idx": {
          "name": "forms_blocks_message_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_message_parent_id_idx": {
          "name": "forms_blocks_message_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "forms_blocks_message_path_idx": {
          "name": "forms_blocks_message_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "forms_blocks_number": {
      "name": "forms_blocks_number",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "width": {
          "name": "width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "default_value": {
          "name": "default_value",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "required": {
          "name": "required",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_number_order_idx": {
          "name": "forms_blocks_number_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_number_parent_id_idx": {
          "name": "forms_blocks_number_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "forms_blocks_number_path_idx": {
          "name": "forms_blocks_number_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "forms_blocks_select_options": {
      "name": "forms_blocks_select_options",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "value": {
          "name": "value",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_select_options_order_idx": {
          "name": "forms_blocks_select_options_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_select_options_parent_id_idx": {
          "name": "forms_blocks_select_options_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "forms_blocks_select": {
      "name": "forms_blocks_select",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "width": {
          "name": "width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "default_value": {
          "name": "default_value",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "placeholder": {
          "name": "placeholder",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "required": {
          "name": "required",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_select_order_idx": {
          "name": "forms_blocks_select_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_select_parent_id_idx": {
          "name": "forms_blocks_select_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "forms_blocks_select_path_idx": {
          "name": "forms_blocks_select_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "forms_blocks_state": {
      "name": "forms_blocks_state",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "width": {
          "name": "width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "required": {
          "name": "required",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_state_order_idx": {
          "name": "forms_blocks_state_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_state_parent_id_idx": {
          "name": "forms_blocks_state_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "forms_blocks_state_path_idx": {
          "name": "forms_blocks_state_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "forms_blocks_state_parent_id_fk": {
          "name": "forms_blocks_state_parent_id_fk",
          "tableFrom": "forms_blocks_state",
          "tableTo": "forms",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "forms_blocks_text": {
      "name": "forms_blocks_text",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "width": {
          "name": "width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "default_value": {
          "name": "default_value",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "required": {
          "name": "required",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_text_order_idx": {
          "name": "forms_blocks_text_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_text_parent_id_idx": {
          "name": "forms_blocks_text_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "forms_blocks_text_path_idx": {
          "name": "forms_blocks_text_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "forms_blocks_textarea": {
      "name": "forms_blocks_textarea",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_path": {
          "name": "_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "width": {
          "name": "width",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "default_value": {
          "name": "default_value",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "required": {
          "name": "required",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "block_name": {
          "name": "block_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_blocks_textarea_order_idx": {
          "name": "forms_blocks_textarea_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_blocks_textarea_parent_id_idx": {
          "name": "forms_blocks_textarea_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        },
        "forms_blocks_textarea_path_idx": {
          "name": "forms_blocks_textarea_path_idx",
          "columns": [
            "_path"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "forms_emails": {
      "name": "forms_emails",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "email_to": {
          "name": "email_to",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "cc": {
          "name": "cc",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "bcc": {
          "name": "bcc",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "reply_to": {
          "name": "reply_to",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "email_from": {
          "name": "email_from",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "subject": {
          "name": "subject",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'You''ve received a new message.'"
        },
        "message": {
          "name": "message",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "forms_emails_order_idx": {
          "name": "forms_emails_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "forms_emails_parent_id_idx": {
          "name": "forms_emails_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "forms": {
      "name": "forms",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "submit_button_label": {
          "name": "submit_button_label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "confirmation_type": {
          "name": "confirmation_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'message'"
        },
        "confirmation_message": {
          "name": "confirmation_message",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "redirect_url": {
          "name": "redirect_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "forms_updated_at_idx": {
          "name": "forms_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "forms_created_at_idx": {
          "name": "forms_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "form_submissions_submission_data": {
      "name": "form_submissions_submission_data",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "field": {
          "name": "field",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "value": {
          "name": "value",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {
        "form_submissions_submission_data_order_idx": {
          "name": "form_submissions_submission_data_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "form_submissions_submission_data_parent_id_idx": {
          "name": "form_submissions_submission_data_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "form_submissions": {
      "name": "form_submissions",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "form_id": {
          "name": "form_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "form_submissions_form_idx": {
          "name": "form_submissions_form_idx",
          "columns": [
            "form_id"
          ],
          "isUnique": false
        },
        "form_submissions_updated_at_idx": {
          "name": "form_submissions_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "form_submissions_created_at_idx": {
          "name": "form_submissions_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "search_categories": {
      "name": "search_categories",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "relation_to": {
          "name": "relation_to",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "category_i_d": {
          "name": "category_i_d",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "search_categories_order_idx": {
          "name": "search_categories_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "search_categories_parent_id_idx": {
          "name": "search_categories_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "search_categories_parent_id_fk": {
          "name": "search_categories_parent_id_fk",
          "tableFrom": "search_categories",
          "tableTo": "search",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "search": {
      "name": "search",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "priority": {
          "name": "priority",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "slug": {
          "name": "slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "meta_title": {
          "name": "meta_title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "meta_description": {
          "name": "meta_description",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "meta_image_id": {
          "name": "meta_image_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "search_slug_idx": {
          "name": "search_slug_idx",
          "columns": [
            "slug"
          ],
          "isUnique": false
        },
        "search_meta_meta_image_idx": {
          "name": "search_meta_meta_image_idx",
          "columns": [
            "meta_image_id"
          ],
          "isUnique": false
        },
        "search_updated_at_idx": {
          "name": "search_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "search_created_at_idx": {
          "name": "search_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "search_meta_image_id_media_id_fk": {
          "name": "search_meta_image_id_media_id_fk",
          "tableFrom": "search",
          "tableTo": "media",
          "columnsFrom": [
            "meta_image_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "search_rels": {
      "name": "search_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "posts_id": {
          "name": "posts_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "stories_id": {
          "name": "stories_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "search_rels_order_idx": {
          "name": "search_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "search_rels_parent_idx": {
          "name": "search_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "search_rels_path_idx": {
          "name": "search_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "search_rels_posts_id_idx": {
          "name": "search_rels_posts_id_idx",
          "columns": [
            "posts_id"
          ],
          "isUnique": false
        },
        "search_rels_stories_id_idx": {
          "name": "search_rels_stories_id_idx",
          "columns": [
            "stories_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "search_rels_parent_fk": {
          "name": "search_rels_parent_fk",
          "tableFrom": "search_rels",
          "tableTo": "search",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "search_rels_posts_fk": {
          "name": "search_rels_posts_fk",
          "tableFrom": "search_rels",
          "tableTo": "posts",
          "columnsFrom": [
            "posts_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "search_rels_stories_fk": {
          "name": "search_rels_stories_fk",
          "tableFrom": "search_rels",
          "tableTo": "stories",
          "columnsFrom": [
            "stories_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "payload_kv": {
      "name": "payload_kv",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "key": {
          "name": "key",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "data": {
          "name": "data",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {
        "payload_kv_key_idx": {
          "name": "payload_kv_key_idx",
          "columns": [
            "key"
          ],
          "isUnique": true
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "payload_jobs_log": {
      "name": "payload_jobs_log",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "executed_at": {
          "name": "executed_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "completed_at": {
          "name": "completed_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "task_slug": {
          "name": "task_slug",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "task_i_d": {
          "name": "task_i_d",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "input": {
          "name": "input",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "output": {
          "name": "output",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "state": {
          "name": "state",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "error": {
          "name": "error",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "payload_jobs_log_order_idx": {
          "name": "payload_jobs_log_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "payload_jobs_log_parent_id_idx": {
          "name": "payload_jobs_log_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "payload_jobs_log_parent_id_fk": {
          "name": "payload_jobs_log_parent_id_fk",
          "tableFrom": "payload_jobs_log",
          "tableTo": "payload_jobs",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "payload_jobs": {
      "name": "payload_jobs",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "input": {
          "name": "input",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "completed_at": {
          "name": "completed_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "total_tried": {
          "name": "total_tried",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": 0
        },
        "has_error": {
          "name": "has_error",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": false
        },
        "error": {
          "name": "error",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "task_slug": {
          "name": "task_slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "queue": {
          "name": "queue",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'default'"
        },
        "wait_until": {
          "name": "wait_until",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "processing": {
          "name": "processing",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "payload_jobs_completed_at_idx": {
          "name": "payload_jobs_completed_at_idx",
          "columns": [
            "completed_at"
          ],
          "isUnique": false
        },
        "payload_jobs_total_tried_idx": {
          "name": "payload_jobs_total_tried_idx",
          "columns": [
            "total_tried"
          ],
          "isUnique": false
        },
        "payload_jobs_has_error_idx": {
          "name": "payload_jobs_has_error_idx",
          "columns": [
            "has_error"
          ],
          "isUnique": false
        },
        "payload_jobs_task_slug_idx": {
          "name": "payload_jobs_task_slug_idx",
          "columns": [
            "task_slug"
          ],
          "isUnique": false
        },
        "payload_jobs_queue_idx": {
          "name": "payload_jobs_queue_idx",
          "columns": [
            "queue"
          ],
          "isUnique": false
        },
        "payload_jobs_wait_until_idx": {
          "name": "payload_jobs_wait_until_idx",
          "columns": [
            "wait_until"
          ],
          "isUnique": false
        },
        "payload_jobs_processing_idx": {
          "name": "payload_jobs_processing_idx",
          "columns": [
            "processing"
          ],
          "isUnique": false
        },
        "payload_jobs_updated_at_idx": {
          "name": "payload_jobs_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "payload_jobs_created_at_idx": {
          "name": "payload_jobs_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "payload_folders_folder_type": {
      "name": "payload_folders_folder_type",
      "columns": {
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "value": {
          "name": "value",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {
        "payload_folders_folder_type_order_idx": {
          "name": "payload_folders_folder_type_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "payload_folders_folder_type_parent_idx": {
          "name": "payload_folders_folder_type_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "payload_folders_folder_type_parent_fk": {
          "name": "payload_folders_folder_type_parent_fk",
          "tableFrom": "payload_folders_folder_type",
          "tableTo": "payload_folders",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "payload_folders": {
      "name": "payload_folders",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "folder_id": {
          "name": "folder_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "payload_folders_name_idx": {
          "name": "payload_folders_name_idx",
          "columns": [
            "name"
          ],
          "isUnique": false
        },
        "payload_folders_folder_idx": {
          "name": "payload_folders_folder_idx",
          "columns": [
            "folder_id"
          ],
          "isUnique": false
        },
        "payload_folders_updated_at_idx": {
          "name": "payload_folders_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "payload_folders_created_at_idx": {
          "name": "payload_folders_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "payload_folders_folder_id_payload_folders_id_fk": {
          "name": "payload_folders_folder_id_payload_folders_id_fk",
          "tableFrom": "payload_folders",
          "tableTo": "payload_folders",
          "columnsFrom": [
            "folder_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "payload_locked_documents": {
      "name": "payload_locked_documents",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "global_slug": {
          "name": "global_slug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "payload_locked_documents_global_slug_idx": {
          "name": "payload_locked_documents_global_slug_idx",
          "columns": [
            "global_slug"
          ],
          "isUnique": false
        },
        "payload_locked_documents_updated_at_idx": {
          "name": "payload_locked_documents_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "payload_locked_documents_created_at_idx": {
          "name": "payload_locked_documents_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "payload_locked_documents_rels": {
      "name": "payload_locked_documents_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "pages_id": {
          "name": "pages_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "posts_id": {
          "name": "posts_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "media_id": {
          "name": "media_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "categories_id": {
          "name": "categories_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "tags_id": {
          "name": "tags_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "stories_id": {
          "name": "stories_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "chapters_id": {
          "name": "chapters_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "users_id": {
          "name": "users_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "redirects_id": {
          "name": "redirects_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "forms_id": {
          "name": "forms_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "form_submissions_id": {
          "name": "form_submissions_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "search_id": {
          "name": "search_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "payload_folders_id": {
          "name": "payload_folders_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "payload_locked_documents_rels_order_idx": {
          "name": "payload_locked_documents_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_parent_idx": {
          "name": "payload_locked_documents_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_path_idx": {
          "name": "payload_locked_documents_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_pages_id_idx": {
          "name": "payload_locked_documents_rels_pages_id_idx",
          "columns": [
            "pages_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_posts_id_idx": {
          "name": "payload_locked_documents_rels_posts_id_idx",
          "columns": [
            "posts_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_media_id_idx": {
          "name": "payload_locked_documents_rels_media_id_idx",
          "columns": [
            "media_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_categories_id_idx": {
          "name": "payload_locked_documents_rels_categories_id_idx",
          "columns": [
            "categories_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_tags_id_idx": {
          "name": "payload_locked_documents_rels_tags_id_idx",
          "columns": [
            "tags_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_stories_id_idx": {
          "name": "payload_locked_documents_rels_stories_id_idx",
          "columns": [
            "stories_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_chapters_id_idx": {
          "name": "payload_locked_documents_rels_chapters_id_idx",
          "columns": [
            "chapters_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_users_id_idx": {
          "name": "payload_locked_documents_rels_users_id_idx",
          "columns": [
            "users_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_redirects_id_idx": {
          "name": "payload_locked_documents_rels_redirects_id_idx",
          "columns": [
            "redirects_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_forms_id_idx": {
          "name": "payload_locked_documents_rels_forms_id_idx",
          "columns": [
            "forms_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_form_submissions_id_idx": {
          "name": "payload_locked_documents_rels_form_submissions_id_idx",
          "columns": [
            "form_submissions_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_search_id_idx": {
          "name": "payload_locked_documents_rels_search_id_idx",
          "columns": [
            "search_id"
          ],
          "isUnique": false
        },
        "payload_locked_documents_rels_payload_folders_id_idx": {
          "name": "payload_locked_documents_rels_payload_folders_id_idx",
          "columns": [
            "payload_folders_id"
          ],
          "isUnique": false
        }
      },
      "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_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_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_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_tags_fk": {
          "name": "payload_locked_documents_rels_tags_fk",
          "tableFrom": "payload_locked_documents_rels",
          "tableTo": "tags",
          "columnsFrom": [
            "tags_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "payload_locked_documents_rels_stories_fk": {
          "name": "payload_locked_documents_rels_stories_fk",
          "tableFrom": "payload_locked_documents_rels",
          "tableTo": "stories",
          "columnsFrom": [
            "stories_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "payload_locked_documents_rels_chapters_fk": {
          "name": "payload_locked_documents_rels_chapters_fk",
          "tableFrom": "payload_locked_documents_rels",
          "tableTo": "chapters",
          "columnsFrom": [
            "chapters_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_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"
        },
        "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_search_fk": {
          "name": "payload_locked_documents_rels_search_fk",
          "tableFrom": "payload_locked_documents_rels",
          "tableTo": "search",
          "columnsFrom": [
            "search_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "payload_locked_documents_rels_payload_folders_fk": {
          "name": "payload_locked_documents_rels_payload_folders_fk",
          "tableFrom": "payload_locked_documents_rels",
          "tableTo": "payload_folders",
          "columnsFrom": [
            "payload_folders_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "payload_preferences": {
      "name": "payload_preferences",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "key": {
          "name": "key",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "value": {
          "name": "value",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "payload_preferences_key_idx": {
          "name": "payload_preferences_key_idx",
          "columns": [
            "key"
          ],
          "isUnique": false
        },
        "payload_preferences_updated_at_idx": {
          "name": "payload_preferences_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "payload_preferences_created_at_idx": {
          "name": "payload_preferences_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "payload_preferences_rels": {
      "name": "payload_preferences_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "users_id": {
          "name": "users_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "payload_preferences_rels_order_idx": {
          "name": "payload_preferences_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "payload_preferences_rels_parent_idx": {
          "name": "payload_preferences_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "payload_preferences_rels_path_idx": {
          "name": "payload_preferences_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "payload_preferences_rels_users_id_idx": {
          "name": "payload_preferences_rels_users_id_idx",
          "columns": [
            "users_id"
          ],
          "isUnique": false
        }
      },
      "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": {},
      "checkConstraints": {}
    },
    "payload_migrations": {
      "name": "payload_migrations",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "batch": {
          "name": "batch",
          "type": "numeric",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
        }
      },
      "indexes": {
        "payload_migrations_updated_at_idx": {
          "name": "payload_migrations_updated_at_idx",
          "columns": [
            "updated_at"
          ],
          "isUnique": false
        },
        "payload_migrations_created_at_idx": {
          "name": "payload_migrations_created_at_idx",
          "columns": [
            "created_at"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "header_nav_items": {
      "name": "header_nav_items",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "link_type": {
          "name": "link_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'reference'"
        },
        "link_new_tab": {
          "name": "link_new_tab",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_url": {
          "name": "link_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_label": {
          "name": "link_label",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {
        "header_nav_items_order_idx": {
          "name": "header_nav_items_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "header_nav_items_parent_id_idx": {
          "name": "header_nav_items_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "header_nav_items_parent_id_fk": {
          "name": "header_nav_items_parent_id_fk",
          "tableFrom": "header_nav_items",
          "tableTo": "header",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "header": {
      "name": "header",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "logo_id": {
          "name": "logo_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "header_logo_idx": {
          "name": "header_logo_idx",
          "columns": [
            "logo_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "header_logo_id_media_id_fk": {
          "name": "header_logo_id_media_id_fk",
          "tableFrom": "header",
          "tableTo": "media",
          "columnsFrom": [
            "logo_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "header_rels": {
      "name": "header_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "pages_id": {
          "name": "pages_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "posts_id": {
          "name": "posts_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "header_rels_order_idx": {
          "name": "header_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "header_rels_parent_idx": {
          "name": "header_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "header_rels_path_idx": {
          "name": "header_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "header_rels_pages_id_idx": {
          "name": "header_rels_pages_id_idx",
          "columns": [
            "pages_id"
          ],
          "isUnique": false
        },
        "header_rels_posts_id_idx": {
          "name": "header_rels_posts_id_idx",
          "columns": [
            "posts_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "header_rels_parent_fk": {
          "name": "header_rels_parent_fk",
          "tableFrom": "header_rels",
          "tableTo": "header",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "header_rels_pages_fk": {
          "name": "header_rels_pages_fk",
          "tableFrom": "header_rels",
          "tableTo": "pages",
          "columnsFrom": [
            "pages_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "header_rels_posts_fk": {
          "name": "header_rels_posts_fk",
          "tableFrom": "header_rels",
          "tableTo": "posts",
          "columnsFrom": [
            "posts_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "footer_nav_items": {
      "name": "footer_nav_items",
      "columns": {
        "_order": {
          "name": "_order",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "_parent_id": {
          "name": "_parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "link_type": {
          "name": "link_type",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'reference'"
        },
        "link_new_tab": {
          "name": "link_new_tab",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_url": {
          "name": "link_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_label": {
          "name": "link_label",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {
        "footer_nav_items_order_idx": {
          "name": "footer_nav_items_order_idx",
          "columns": [
            "_order"
          ],
          "isUnique": false
        },
        "footer_nav_items_parent_id_idx": {
          "name": "footer_nav_items_parent_id_idx",
          "columns": [
            "_parent_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "footer_nav_items_parent_id_fk": {
          "name": "footer_nav_items_parent_id_fk",
          "tableFrom": "footer_nav_items",
          "tableTo": "footer",
          "columnsFrom": [
            "_parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "footer": {
      "name": "footer",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "logo_id": {
          "name": "logo_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "created_at": {
          "name": "created_at",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "footer_logo_idx": {
          "name": "footer_logo_idx",
          "columns": [
            "logo_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "footer_logo_id_media_id_fk": {
          "name": "footer_logo_id_media_id_fk",
          "tableFrom": "footer",
          "tableTo": "media",
          "columnsFrom": [
            "logo_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "set null",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "footer_rels": {
      "name": "footer_rels",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "order": {
          "name": "order",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "parent_id": {
          "name": "parent_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "pages_id": {
          "name": "pages_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "posts_id": {
          "name": "posts_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "footer_rels_order_idx": {
          "name": "footer_rels_order_idx",
          "columns": [
            "order"
          ],
          "isUnique": false
        },
        "footer_rels_parent_idx": {
          "name": "footer_rels_parent_idx",
          "columns": [
            "parent_id"
          ],
          "isUnique": false
        },
        "footer_rels_path_idx": {
          "name": "footer_rels_path_idx",
          "columns": [
            "path"
          ],
          "isUnique": false
        },
        "footer_rels_pages_id_idx": {
          "name": "footer_rels_pages_id_idx",
          "columns": [
            "pages_id"
          ],
          "isUnique": false
        },
        "footer_rels_posts_id_idx": {
          "name": "footer_rels_posts_id_idx",
          "columns": [
            "posts_id"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "footer_rels_parent_fk": {
          "name": "footer_rels_parent_fk",
          "tableFrom": "footer_rels",
          "tableTo": "footer",
          "columnsFrom": [
            "parent_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "footer_rels_pages_fk": {
          "name": "footer_rels_pages_fk",
          "tableFrom": "footer_rels",
          "tableTo": "pages",
          "columnsFrom": [
            "pages_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        },
        "footer_rels_posts_fk": {
          "name": "footer_rels_posts_fk",
          "tableFrom": "footer_rels",
          "tableTo": "posts",
          "columnsFrom": [
            "posts_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    }
  },
  "views": {},
  "enums": {},
  "_meta": {
    "tables": {},
    "columns": {}
  },
  "internal": {
    "indexes": {}
  },
  "id": "74d9f01f-341b-45ff-b92e-aed45b5adfa4",
  "prevId": "00000000-0000-0000-0000-000000000000"
}