···11+CREATE TABLE `report_frames` (
22+ `report_id` text NOT NULL,
33+ `frame_index` integer NOT NULL,
44+ `frame` text NOT NULL,
55+ PRIMARY KEY(`report_id`, `frame_index`),
66+ FOREIGN KEY (`report_id`) REFERENCES `reports`(`id`) ON UPDATE no action ON DELETE cascade
77+);
88+--> statement-breakpoint
99+CREATE TABLE `reports` (
1010+ `id` text PRIMARY KEY NOT NULL,
1111+ `runtime` text NOT NULL,
1212+ `version` text NOT NULL,
1313+ `trace` text NOT NULL,
1414+ `kind` text NOT NULL,
1515+ `reason` text NOT NULL,
1616+ `code` text NOT NULL,
1717+ `target` text NOT NULL,
1818+ `os` text NOT NULL,
1919+ `arch` text NOT NULL,
2020+ `fault_address` text NOT NULL,
2121+ `elapsed_ms` integer,
2222+ `peak_rss` integer,
2323+ `first_seen_at` text NOT NULL,
2424+ `last_seen_at` text NOT NULL,
2525+ `hit_count` integer NOT NULL,
2626+ `expires_at` text NOT NULL
2727+);