orchestration_session_issue

Column Type PK Required Default
orchestration_session_issue_id UUID Yes Yes
session_id VARCHAR No Yes
session_entry_id VARCHAR No No
issue_type TEXT No Yes
issue_message TEXT No Yes
issue_row INTEGER No No
issue_column TEXT No No
invalid_value TEXT No No
remediation TEXT No No
elaboration TEXT No No

Foreign Keys

Column Name Foreign Key
session_entry_id session_entry_id references orchestration_session_entry.orchestration_session_entry_id
session_id session_id references orchestration_session.orchestration_session_id

Indexes

Column Name Index Name
orchestration_session_issue_id sqlite_autoindex_orchestration_session_issue_1

SQL DDL

CREATE TABLE "orchestration_session_issue" (
    "orchestration_session_issue_id" UUID PRIMARY KEY NOT NULL,
    "session_id" VARCHAR NOT NULL,
    "session_entry_id" VARCHAR,
    "issue_type" TEXT NOT NULL,
    "issue_message" TEXT NOT NULL,
    "issue_row" INTEGER,
    "issue_column" TEXT,
    "invalid_value" TEXT,
    "remediation" TEXT,
    "elaboration" TEXT CHECK(json_valid(elaboration) OR elaboration IS NULL),
    FOREIGN KEY("session_id") REFERENCES "orchestration_session"("orchestration_session_id"),
    FOREIGN KEY("session_entry_id") REFERENCES "orchestration_session_entry"("orchestration_session_entry_id")
)