Uniform Resource Ingest Session PLM Account
Description
Immutable ingest session folder system represents an organisation issues to be ingested. Each session includes an organisation, then org_name is the folder that was scanned.
Table Definition
Columns
Name | Type | Default | Nullable | Children | Parents | Comment |
---|---|---|---|---|---|---|
ur_ingest_session_plm_account_id | VARCHAR | false | ur_ingest_session_plm_acct_project | {“isSqlDomainZodDescrMeta”:true,“isVarChar”:true} | ||
ingest_session_id | VARCHAR | false | ur_ingest_session | {“isSqlDomainZodDescrMeta”:true,“isVarChar”:true} | ||
provider | TEXT | false | ||||
org_name | TEXT | false | ||||
elaboration | TEXT | true | {“isSqlDomainZodDescrMeta”:true,“isJsonText”:true} | |||
created_at | TIMESTAMPTZ | CURRENT_TIMESTAMP | true | |||
created_by | TEXT | ’UNKNOWN’ | true | |||
updated_at | TIMESTAMPTZ | true | ||||
updated_by | TEXT | true | ||||
deleted_at | TIMESTAMPTZ | true | ||||
deleted_by | TEXT | true | ||||
activity_log | TEXT | true | {“isSqlDomainZodDescrMeta”:true,“isJsonSqlDomain”:true} |
Constraints
Name | Type | Definition |
---|---|---|
ur_ingest_session_plm_account_id | PRIMARY KEY | PRIMARY KEY (ur_ingest_session_plm_account_id) |
- (Foreign key ID: 0) | FOREIGN KEY | FOREIGN KEY (ingest_session_id) REFERENCES ur_ingest_session (ur_ingest_session_id) ON UPDATE NO ACTION ON DELETE NO ACTION MATCH NONE |
sqlite_autoindex_ur_ingest_session_plm_account_2 | UNIQUE | UNIQUE (provider, org_name) |
sqlite_autoindex_ur_ingest_session_plm_account_1 | PRIMARY KEY | PRIMARY KEY (ur_ingest_session_plm_account_id) |
- | CHECK | CHECK(json_valid(elaboration) OR elaboration IS NULL) |
Indexes
Name | Definition |
---|---|
idx_ur_ingest_session_plm_account__provider__org_name | CREATE INDEX “idx_ur_ingest_session_plm_account__provider__org_name” ON “ur_ingest_session_plm_account”(“provider”, “org_name”) |
sqlite_autoindex_ur_ingest_session_plm_account_2 | UNIQUE (provider, org_name) |
sqlite_autoindex_ur_ingest_session_plm_account_1 | PRIMARY KEY (ur_ingest_session_plm_account_id) |