{
  "version": "7",
  "dialect": "sqlite",
  "id": "81ff1c9a-7852-4840-b836-e9b90579b532",
  "prevIds": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "ddl": [
    {
      "name": "nexus_audit_log",
      "entityType": "tables"
    },
    {
      "name": "nexus_contracts",
      "entityType": "tables"
    },
    {
      "name": "nexus_nodes",
      "entityType": "tables"
    },
    {
      "name": "nexus_relations",
      "entityType": "tables"
    },
    {
      "name": "nexus_schema_meta",
      "entityType": "tables"
    },
    {
      "name": "project_registry",
      "entityType": "tables"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "id",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "(datetime('now'))",
      "generated": null,
      "name": "timestamp",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "action",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "project_hash",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "project_id",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "domain",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "operation",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "session_id",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "request_id",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "source",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "gateway",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "integer",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "success",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "integer",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "duration_ms",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": "'{}'",
      "generated": null,
      "name": "details_json",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "error_message",
      "entityType": "columns",
      "table": "nexus_audit_log"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "contract_id",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "project_id",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "type",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "path",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "method",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "'{}'",
      "generated": null,
      "name": "request_schema_json",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "'{}'",
      "generated": null,
      "name": "response_schema_json",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "source_symbol_id",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "route_node_id",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "real",
      "notNull": true,
      "autoincrement": false,
      "default": "1",
      "generated": null,
      "name": "confidence",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "description",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "(datetime('now'))",
      "generated": null,
      "name": "created_at",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "(datetime('now'))",
      "generated": null,
      "name": "updated_at",
      "entityType": "columns",
      "table": "nexus_contracts"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "id",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "project_id",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "kind",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "label",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "name",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "file_path",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "integer",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "start_line",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "integer",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "end_line",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "language",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "integer",
      "notNull": true,
      "autoincrement": false,
      "default": "false",
      "generated": null,
      "name": "is_exported",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "parent_id",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "parameters_json",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "return_type",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "doc_summary",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "community_id",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "meta_json",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "integer",
      "notNull": true,
      "autoincrement": false,
      "default": "false",
      "generated": null,
      "name": "is_external",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "(datetime('now'))",
      "generated": null,
      "name": "indexed_at",
      "entityType": "columns",
      "table": "nexus_nodes"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "id",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "project_id",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "source_id",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "target_id",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "type",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "real",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "confidence",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "reason",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "integer",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "step",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "(datetime('now'))",
      "generated": null,
      "name": "indexed_at",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "real",
      "notNull": false,
      "autoincrement": false,
      "default": "0",
      "generated": null,
      "name": "weight",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "last_accessed_at",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "integer",
      "notNull": false,
      "autoincrement": false,
      "default": "0",
      "generated": null,
      "name": "co_accessed_count",
      "entityType": "columns",
      "table": "nexus_relations"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "key",
      "entityType": "columns",
      "table": "nexus_schema_meta"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "value",
      "entityType": "columns",
      "table": "nexus_schema_meta"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "project_id",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "project_hash",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "project_path",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "name",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "(datetime('now'))",
      "generated": null,
      "name": "registered_at",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "(datetime('now'))",
      "generated": null,
      "name": "last_seen",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "'unknown'",
      "generated": null,
      "name": "health_status",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "health_last_check",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "'read'",
      "generated": null,
      "name": "permissions",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "(datetime('now'))",
      "generated": null,
      "name": "last_sync",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "integer",
      "notNull": true,
      "autoincrement": false,
      "default": "0",
      "generated": null,
      "name": "task_count",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "'[]'",
      "generated": null,
      "name": "labels_json",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "brain_db_path",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "tasks_db_path",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": false,
      "autoincrement": false,
      "default": null,
      "generated": null,
      "name": "last_indexed",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "type": "text",
      "notNull": true,
      "autoincrement": false,
      "default": "'{}'",
      "generated": null,
      "name": "stats_json",
      "entityType": "columns",
      "table": "project_registry"
    },
    {
      "columns": [
        "id"
      ],
      "nameExplicit": false,
      "name": "nexus_audit_log_pk",
      "table": "nexus_audit_log",
      "entityType": "pks"
    },
    {
      "columns": [
        "contract_id"
      ],
      "nameExplicit": false,
      "name": "nexus_contracts_pk",
      "table": "nexus_contracts",
      "entityType": "pks"
    },
    {
      "columns": [
        "id"
      ],
      "nameExplicit": false,
      "name": "nexus_nodes_pk",
      "table": "nexus_nodes",
      "entityType": "pks"
    },
    {
      "columns": [
        "id"
      ],
      "nameExplicit": false,
      "name": "nexus_relations_pk",
      "table": "nexus_relations",
      "entityType": "pks"
    },
    {
      "columns": [
        "key"
      ],
      "nameExplicit": false,
      "name": "nexus_schema_meta_pk",
      "table": "nexus_schema_meta",
      "entityType": "pks"
    },
    {
      "columns": [
        "project_id"
      ],
      "nameExplicit": false,
      "name": "project_registry_pk",
      "table": "project_registry",
      "entityType": "pks"
    },
    {
      "columns": [
        {
          "value": "timestamp",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_audit_timestamp",
      "entityType": "indexes",
      "table": "nexus_audit_log"
    },
    {
      "columns": [
        {
          "value": "action",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_audit_action",
      "entityType": "indexes",
      "table": "nexus_audit_log"
    },
    {
      "columns": [
        {
          "value": "project_hash",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_audit_project_hash",
      "entityType": "indexes",
      "table": "nexus_audit_log"
    },
    {
      "columns": [
        {
          "value": "project_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_audit_project_id",
      "entityType": "indexes",
      "table": "nexus_audit_log"
    },
    {
      "columns": [
        {
          "value": "session_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_audit_session",
      "entityType": "indexes",
      "table": "nexus_audit_log"
    },
    {
      "columns": [
        {
          "value": "project_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_contracts_project",
      "entityType": "indexes",
      "table": "nexus_contracts"
    },
    {
      "columns": [
        {
          "value": "type",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_contracts_type",
      "entityType": "indexes",
      "table": "nexus_contracts"
    },
    {
      "columns": [
        {
          "value": "path",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_contracts_path",
      "entityType": "indexes",
      "table": "nexus_contracts"
    },
    {
      "columns": [
        {
          "value": "method",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_contracts_method",
      "entityType": "indexes",
      "table": "nexus_contracts"
    },
    {
      "columns": [
        {
          "value": "project_id",
          "isExpression": false
        },
        {
          "value": "type",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_contracts_project_type",
      "entityType": "indexes",
      "table": "nexus_contracts"
    },
    {
      "columns": [
        {
          "value": "source_symbol_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_contracts_source_symbol",
      "entityType": "indexes",
      "table": "nexus_contracts"
    },
    {
      "columns": [
        {
          "value": "created_at",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_contracts_created",
      "entityType": "indexes",
      "table": "nexus_contracts"
    },
    {
      "columns": [
        {
          "value": "project_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_project",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "kind",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_kind",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "file_path",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_file",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "name",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_name",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "project_id",
          "isExpression": false
        },
        {
          "value": "kind",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_project_kind",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "project_id",
          "isExpression": false
        },
        {
          "value": "file_path",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_project_file",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "community_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_community",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "parent_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_parent",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "is_exported",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_exported",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "is_external",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_nodes_is_external",
      "entityType": "indexes",
      "table": "nexus_nodes"
    },
    {
      "columns": [
        {
          "value": "project_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_relations_project",
      "entityType": "indexes",
      "table": "nexus_relations"
    },
    {
      "columns": [
        {
          "value": "source_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_relations_source",
      "entityType": "indexes",
      "table": "nexus_relations"
    },
    {
      "columns": [
        {
          "value": "target_id",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_relations_target",
      "entityType": "indexes",
      "table": "nexus_relations"
    },
    {
      "columns": [
        {
          "value": "type",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_relations_type",
      "entityType": "indexes",
      "table": "nexus_relations"
    },
    {
      "columns": [
        {
          "value": "project_id",
          "isExpression": false
        },
        {
          "value": "type",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_relations_project_type",
      "entityType": "indexes",
      "table": "nexus_relations"
    },
    {
      "columns": [
        {
          "value": "source_id",
          "isExpression": false
        },
        {
          "value": "type",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_relations_source_type",
      "entityType": "indexes",
      "table": "nexus_relations"
    },
    {
      "columns": [
        {
          "value": "target_id",
          "isExpression": false
        },
        {
          "value": "type",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_relations_target_type",
      "entityType": "indexes",
      "table": "nexus_relations"
    },
    {
      "columns": [
        {
          "value": "confidence",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_relations_confidence",
      "entityType": "indexes",
      "table": "nexus_relations"
    },
    {
      "columns": [
        {
          "value": "last_accessed_at",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_nexus_relations_last_accessed",
      "entityType": "indexes",
      "table": "nexus_relations"
    },
    {
      "columns": [
        {
          "value": "project_hash",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_project_registry_hash",
      "entityType": "indexes",
      "table": "project_registry"
    },
    {
      "columns": [
        {
          "value": "health_status",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_project_registry_health",
      "entityType": "indexes",
      "table": "project_registry"
    },
    {
      "columns": [
        {
          "value": "name",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_project_registry_name",
      "entityType": "indexes",
      "table": "project_registry"
    },
    {
      "columns": [
        {
          "value": "last_indexed",
          "isExpression": false
        }
      ],
      "isUnique": false,
      "where": null,
      "origin": "manual",
      "name": "idx_project_registry_last_indexed",
      "entityType": "indexes",
      "table": "project_registry"
    },
    {
      "columns": [
        "project_path"
      ],
      "nameExplicit": false,
      "name": "project_registry_project_path_unique",
      "entityType": "uniques",
      "table": "project_registry"
    }
  ],
  "renames": []
}