CREATE TABLE `ur_ingest_session_plm_acct_relationship` (
`ur_ingest_session_plm_acct_relationship_id` text PRIMARY KEY NOT NULL,
`ur_ingest_session_plm_acct_project_id_prime` text NOT NULL,
`ur_ingest_session_plm_acct_project_id_related` text NOT NULL,
`ur_ingest_session_plm_acct_project_issue_id_prime` text NOT NULL,
`ur_ingest_session_plm_acct_project_issue_id_related` text NOT NULL,
`relationship` 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_prime`) REFERENCES `ur_ingest_session_plm_acct_project`(`ur_ingest_session_plm_acct_project_id`) ON UPDATE no action ON DELETE no action,
FOREIGN KEY (`ur_ingest_session_plm_acct_project_issue_id_prime`) REFERENCES `ur_ingest_session_plm_acct_project_issue`(`ur_ingest_session_plm_acct_project_issue_id`) ON UPDATE no action ON DELETE no action
)