CREATE TABLE `orchestration_session_exec` (
`orchestration_session_exec_id` text PRIMARY KEY NOT NULL,
`exec_nature` text NOT NULL,
`session_id` text NOT NULL,
`session_entry_id` text,
`parent_exec_id` text,
`namespace` text,
`exec_identity` text,
`exec_code` text NOT NULL,
`exec_status` integer NOT NULL,
`input_text` text,
`exec_error_text` text,
`output_text` text,
`output_nature` text,
`narrative_md` text,
`elaboration` text,
FOREIGN KEY (`session_id`) REFERENCES `orchestration_session`(`orchestration_session_id`) ON UPDATE no action ON DELETE no action,
FOREIGN KEY (`session_entry_id`) REFERENCES `orchestration_session_entry`(`orchestration_session_entry_id`) ON UPDATE no action ON DELETE no action,
FOREIGN KEY (`parent_exec_id`) REFERENCES `orchestration_session_exec`(`orchestration_session_exec_id`) ON UPDATE no action ON DELETE no action
)