Skip to content

ur_ingest_session_plm_user

Description

Table Definition
CREATE TABLE "ur_ingest_session_plm_user" (
"ur_ingest_session_plm_user_id" VARCHAR PRIMARY KEY NOT NULL,
"user_id" TEXT NOT NULL,
"login" TEXT NOT NULL,
"email" TEXT,
"name" TEXT,
"url" 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("user_id", "login", "email", "name")
)

Columns

NameTypeDefaultNullableChildrenComment
ur_ingest_session_plm_user_idVARCHARfalseur_ingest_session_plm_acct_project_issue ur_ingest_session_plm_comment{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
user_idTEXTfalse
loginTEXTfalse
emailTEXTtrue
nameTEXTtrue
urlTEXTfalse
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_user_idPRIMARY KEYPRIMARY KEY (ur_ingest_session_plm_user_id)
sqlite_autoindex_ur_ingest_session_plm_user_2UNIQUEUNIQUE (user_id, login, email, name)
sqlite_autoindex_ur_ingest_session_plm_user_1PRIMARY KEYPRIMARY KEY (ur_ingest_session_plm_user_id)
-CHECKCHECK(json_valid(elaboration) OR elaboration IS NULL)

Indexes

NameDefinition
idx_ur_ingest_session_plm_user__user_idCREATE INDEX “idx_ur_ingest_session_plm_user__user_id” ON “ur_ingest_session_plm_user”(“user_id”)
sqlite_autoindex_ur_ingest_session_plm_user_2UNIQUE (user_id, login, email, name)
sqlite_autoindex_ur_ingest_session_plm_user_1PRIMARY KEY (ur_ingest_session_plm_user_id)

Relations

er