CREATE TABLE `ur_ingest_session_plm_acct_project` (
`ur_ingest_session_plm_acct_project_id` text PRIMARY KEY NOT NULL,
`ingest_session_id` text NOT NULL,
`ingest_account_id` text NOT NULL,
`parent_project_id` text,
`name` text NOT NULL,
`description` text,
`id` text,
`key` 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,
FOREIGN KEY (`ingest_account_id`) REFERENCES `ur_ingest_session_plm_account`(`ur_ingest_session_plm_account_id`) ON UPDATE no action ON DELETE no action
)