CREATE TABLE `surveilr_osquery_ms_carved_extracted_file` (
`surveilr_osquery_ms_carved_extracted_file_id` text PRIMARY KEY NOT NULL,
`carve_guid` text NOT NULL,
`path` text NOT NULL,
`size_bytes` integer NOT NULL,
`content_digest` text NOT NULL,
`nature` text,
`extracted_at` TIMESTAMPTZ NOT NULL,
`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 (`carve_guid`) REFERENCES `surveilr_osquery_ms_carve`(`carve_guid`) ON UPDATE no action ON DELETE no action
)