ur_ingest_session_plm_milestone

Column Type PK Required Default
ur_ingest_session_plm_milestone_id TEXT Yes Yes
ur_ingest_session_plm_acct_project_id TEXT No Yes
title TEXT No Yes
milestone_id TEXT No Yes
url TEXT No Yes
html_url TEXT No Yes
open_issues INTEGER No No
closed_issues INTEGER No No
due_on numeric No No
closed_at 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
ur_ingest_session_plm_acct_project_id ur_ingest_session_plm_acct_project_id references ur_ingest_session_plm_acct_project.ur_ingest_session_plm_acct_project_id

Indexes

Column Name Index Name
ur_ingest_session_plm_acct_project_id idx_ur_ingest_session_plm_milestone__ur_ingest_session_plm_acct_project_id
ur_ingest_session_plm_milestone_id sqlite_autoindex_ur_ingest_session_plm_milestone_1

SQL DDL

CREATE TABLE `ur_ingest_session_plm_milestone` (
	`ur_ingest_session_plm_milestone_id` text PRIMARY KEY NOT NULL,
	`ur_ingest_session_plm_acct_project_id` text 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` numeric,
	`closed_at` 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 (`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
)