ur_ingest_session_plm_account

Column Type PK Required Default
ur_ingest_session_plm_account_id TEXT Yes Yes
ingest_session_id TEXT No Yes
provider TEXT No Yes
org_name TEXT No Yes
elaboration TEXT No No
created_at TIMESTAMPTZ No No CURRENT_TIMESTAMP
created_by TEXT No No 'UNKNOWN'
updated_at TIMESTAMPTZ No No
updated_by TEXT No No
deleted_at TIMESTAMPTZ No No
deleted_by TEXT No No
activity_log TEXT No No

Foreign Keys

Column Name Foreign Key
ingest_session_id ingest_session_id references ur_ingest_session.ur_ingest_session_id

Indexes

Column Name Index Name
provider ur_ingest_session_plm_account_provider_org_name_unique
org_name ur_ingest_session_plm_account_provider_org_name_unique
provider idx_ur_ingest_session_plm_account__provider__org_name
org_name idx_ur_ingest_session_plm_account__provider__org_name
ur_ingest_session_plm_account_id sqlite_autoindex_ur_ingest_session_plm_account_1

SQL DDL

CREATE TABLE `ur_ingest_session_plm_account` (
	`ur_ingest_session_plm_account_id` text PRIMARY KEY NOT NULL,
	`ingest_session_id` text NOT NULL,
	`provider` text NOT NULL,
	`org_name` text NOT NULL,
	`elaboration` text,
	`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 (`ingest_session_id`) REFERENCES `ur_ingest_session`(`ur_ingest_session_id`) ON UPDATE no action ON DELETE no action
)