Skip to content

Uniform Resource Ingest Session PLM Milestone

Description

Table Definition
CREATE TABLE "ur_ingest_session_plm_milestone" (
"ur_ingest_session_plm_milestone_id" VARCHAR PRIMARY KEY NOT NULL,
"ur_ingest_session_plm_acct_project_id" VARCHAR NOT NULL,
"title" TEXT NOT NULL,
"milestone_id" TEXT NOT NULL,
"url" TEXT NOT NULL,
"html_url" TEXT NOT NULL,
"open_issues" INTEGER,
"closed_issues" INTEGER,
"due_on" TIMESTAMPTZ,
"closed_at" TIMESTAMPTZ,
"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") REFERENCES "ur_ingest_session_plm_acct_project"("ur_ingest_session_plm_acct_project_id")
)

Columns

NameTypeDefaultNullableParentsComment
ur_ingest_session_plm_milestone_idVARCHARfalse{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
ur_ingest_session_plm_acct_project_idVARCHARfalseur_ingest_session_plm_acct_project{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
titleTEXTfalse
milestone_idTEXTfalse
urlTEXTfalse
html_urlTEXTfalse
open_issuesINTEGERtrue
closed_issuesINTEGERtrue
due_onTIMESTAMPTZtrue{“isSqlDomainZodDescrMeta”:true,“isDateSqlDomain”:true,“isDateTime”:true}
closed_atTIMESTAMPTZtrue{“isSqlDomainZodDescrMeta”:true,“isDateSqlDomain”:true,“isDateTime”:true}
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_milestone_idPRIMARY KEYPRIMARY KEY (ur_ingest_session_plm_milestone_id)
- (Foreign key ID: 0)FOREIGN KEYFOREIGN KEY (ur_ingest_session_plm_acct_project_id) 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_milestone_1PRIMARY KEYPRIMARY KEY (ur_ingest_session_plm_milestone_id)
-CHECKCHECK(json_valid(elaboration) OR elaboration IS NULL)

Indexes

NameDefinition
idx_ur_ingest_session_plm_milestone__ur_ingest_session_plm_acct_project_idCREATE INDEX “idx_ur_ingest_session_plm_milestone__ur_ingest_session_plm_acct_project_id” ON “ur_ingest_session_plm_milestone”(“ur_ingest_session_plm_acct_project_id”)
sqlite_autoindex_ur_ingest_session_plm_milestone_1PRIMARY KEY (ur_ingest_session_plm_milestone_id)

Relations

er