Skip to content

Uniform Resource Ingest Session PLM Account Relationship

Description

Table Definition
CREATE TABLE "ur_ingest_session_plm_acct_relationship" (
"ur_ingest_session_plm_acct_relationship_id" VARCHAR PRIMARY KEY NOT NULL,
"ur_ingest_session_plm_acct_project_id_prime" VARCHAR NOT NULL,
"ur_ingest_session_plm_acct_project_id_related" TEXT NOT NULL,
"ur_ingest_session_plm_acct_project_issue_id_prime" VARCHAR NOT NULL,
"ur_ingest_session_plm_acct_project_issue_id_related" TEXT NOT NULL,
"relationship" TEXT,
"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,
FOREIGN KEY("ur_ingest_session_plm_acct_project_id_prime") REFERENCES "ur_ingest_session_plm_acct_project"("ur_ingest_session_plm_acct_project_id"),
FOREIGN KEY("ur_ingest_session_plm_acct_project_issue_id_prime") REFERENCES "ur_ingest_session_plm_acct_project_issue"("ur_ingest_session_plm_acct_project_issue_id")
)

Columns

NameTypeDefaultNullableParentsComment
ur_ingest_session_plm_acct_relationship_idVARCHARfalse{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
ur_ingest_session_plm_acct_project_id_primeVARCHARfalseur_ingest_session_plm_acct_project{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
ur_ingest_session_plm_acct_project_id_relatedTEXTfalse
ur_ingest_session_plm_acct_project_issue_id_primeVARCHARfalseur_ingest_session_plm_acct_project_issue{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
ur_ingest_session_plm_acct_project_issue_id_relatedTEXTfalse
relationshipTEXTtrue
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_acct_relationship_idPRIMARY KEYPRIMARY KEY (ur_ingest_session_plm_acct_relationship_id)
- (Foreign key ID: 0)FOREIGN KEYFOREIGN KEY (ur_ingest_session_plm_acct_project_issue_id_prime) REFERENCES ur_ingest_session_plm_acct_project_issue (ur_ingest_session_plm_acct_project_issue_id) ON UPDATE NO ACTION ON DELETE NO ACTION MATCH NONE
- (Foreign key ID: 1)FOREIGN KEYFOREIGN KEY (ur_ingest_session_plm_acct_project_id_prime) REFERENCES ur_ingest_session_plm_acct_project (ur_ingest_session_plm_acct_project_id) ON UPDATE NO ACTION ON DELETE NO ACTION MATCH NONE
sqlite_autoindex_ur_ingest_session_plm_acct_relationship_1PRIMARY KEYPRIMARY KEY (ur_ingest_session_plm_acct_relationship_id)
-CHECKCHECK(json_valid(elaboration) OR elaboration IS NULL)

Indexes

NameDefinition
idx_ur_ingest_session_plm_acct_relationship__ur_ingest_session_plm_acct_project_id_primeCREATE INDEX “idx_ur_ingest_session_plm_acct_relationship__ur_ingest_session_plm_acct_project_id_prime” ON “ur_ingest_session_plm_acct_relationship”(“ur_ingest_session_plm_acct_project_id_prime”)
sqlite_autoindex_ur_ingest_session_plm_acct_relationship_1PRIMARY KEY (ur_ingest_session_plm_acct_relationship_id)

Relations

er