ur_ingest_session_fs_path

Column Type PK Required Default
ur_ingest_session_fs_path_id TEXT Yes Yes
ingest_session_id TEXT No Yes
root_path TEXT No Yes
include_glob_patterns TEXT[] No No
exclude_glob_patterns TEXT[] No No
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
ingest_session_id ur_ingest_session_fs_path_ingest_session_id_root_path_created_at_unique
root_path ur_ingest_session_fs_path_ingest_session_id_root_path_created_at_unique
created_at ur_ingest_session_fs_path_ingest_session_id_root_path_created_at_unique
ingest_session_id idx_ur_ingest_session_fs_path__ingest_session_id__root_path
root_path idx_ur_ingest_session_fs_path__ingest_session_id__root_path
ur_ingest_session_fs_path_id sqlite_autoindex_ur_ingest_session_fs_path_1

SQL DDL

CREATE TABLE `ur_ingest_session_fs_path` (
	`ur_ingest_session_fs_path_id` text PRIMARY KEY NOT NULL,
	`ingest_session_id` text NOT NULL,
	`root_path` text NOT NULL,
	`include_glob_patterns` TEXT[],
	`exclude_glob_patterns` TEXT[],
	`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,
	CONSTRAINT "elaboration_check_valid_json" CHECK(json_valid("ur_ingest_session_fs_path"."elaboration") OR "ur_ingest_session_fs_path"."elaboration" IS NULL)
)