Skip to content

Orchestration Session Issue Relation

Description

An orchestration issue is generated when an error or warning needs to
be created during the orchestration of an entry in a session.

Table Definition
CREATE TABLE "orchestration_session_issue_relation" (
"orchestration_session_issue_relation_id" UUID PRIMARY KEY NOT NULL,
"issue_id_prime" UUID NOT NULL,
"issue_id_rel" TEXT NOT NULL,
"relationship_nature" TEXT NOT NULL,
"elaboration" TEXT CHECK(json_valid(elaboration) OR elaboration IS NULL),
FOREIGN KEY("issue_id_prime") REFERENCES "orchestration_session_issue"("orchestration_session_issue_id")
)

Columns

NameTypeDefaultNullableParentsComment
orchestration_session_issue_relation_idUUIDfalse{“isSqlDomainZodDescrMeta”:true,“isUuid”:true}
issue_id_primeUUIDfalseorchestration_session_issue{“isSqlDomainZodDescrMeta”:true,“isUuid”:true}
issue_id_relTEXTfalse
relationship_natureTEXTfalse
elaborationTEXTtrueisse-specific attributes/properties in JSON (“custom data”)

Constraints

NameTypeDefinition
orchestration_session_issue_relation_idPRIMARY KEYPRIMARY KEY (orchestration_session_issue_relation_id)
- (Foreign key ID: 0)FOREIGN KEYFOREIGN KEY (issue_id_prime) REFERENCES orchestration_session_issue (orchestration_session_issue_id) ON UPDATE NO ACTION ON DELETE NO ACTION MATCH NONE
sqlite_autoindex_orchestration_session_issue_relation_1PRIMARY KEYPRIMARY KEY (orchestration_session_issue_relation_id)
-CHECKCHECK(json_valid(elaboration) OR elaboration IS NULL)

Indexes

NameDefinition
sqlite_autoindex_orchestration_session_issue_relation_1PRIMARY KEY (orchestration_session_issue_relation_id)

Relations

er