Skip to content

Uniform Resource Ingest Session PLM Reaction

Description

Table Definition
CREATE TABLE "ur_ingest_session_plm_reaction" (
"ur_ingest_session_plm_reaction_id" VARCHAR PRIMARY KEY NOT NULL,
"reaction_id" TEXT NOT NULL,
"reaction_type" TEXT NOT NULL,
"elaboration" TEXT CHECK(json_valid(elaboration) OR elaboration IS NULL),
"created_at" TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP,
"created_by" TEXT DEFAULT 'UNKNOWN',
"updated_at" TIMESTAMPTZ,
"updated_by" TEXT,
"deleted_at" TIMESTAMPTZ,
"deleted_by" TEXT,
"activity_log" TEXT,
UNIQUE("reaction_type")
)

Columns

NameTypeDefaultNullableChildrenComment
ur_ingest_session_plm_reaction_idVARCHARfalseur_ingest_session_plm_issue_reaction{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
reaction_idTEXTfalse
reaction_typeTEXTfalse
elaborationTEXTtrue{“isSqlDomainZodDescrMeta”:true,“isJsonText”:true}
created_atTIMESTAMPTZCURRENT_TIMESTAMPtrue
created_byTEXT’UNKNOWN’true
updated_atTIMESTAMPTZtrue
updated_byTEXTtrue
deleted_atTIMESTAMPTZtrue
deleted_byTEXTtrue
activity_logTEXTtrue{“isSqlDomainZodDescrMeta”:true,“isJsonSqlDomain”:true}

Constraints

NameTypeDefinition
ur_ingest_session_plm_reaction_idPRIMARY KEYPRIMARY KEY (ur_ingest_session_plm_reaction_id)
sqlite_autoindex_ur_ingest_session_plm_reaction_2UNIQUEUNIQUE (reaction_type)
sqlite_autoindex_ur_ingest_session_plm_reaction_1PRIMARY KEYPRIMARY KEY (ur_ingest_session_plm_reaction_id)
-CHECKCHECK(json_valid(elaboration) OR elaboration IS NULL)

Indexes

NameDefinition
idx_ur_ingest_session_plm_reaction__ur_ingest_session_plm_reaction_idCREATE INDEX “idx_ur_ingest_session_plm_reaction__ur_ingest_session_plm_reaction_id” ON “ur_ingest_session_plm_reaction”(“ur_ingest_session_plm_reaction_id”)
sqlite_autoindex_ur_ingest_session_plm_reaction_2UNIQUE (reaction_type)
sqlite_autoindex_ur_ingest_session_plm_reaction_1PRIMARY KEY (ur_ingest_session_plm_reaction_id)

Relations

er