compassmock/drizzle/0018_left_veda.sql
Nicholai b24f94e570
feat(dashboards): agent-built custom dashboards (#55)
Persist agent-generated UIs as bookmarkable dashboards
with CRUD, sidebar nav, and iterative editing support.
Max 5 per user. Fresh data on each visit via saved queries.

Co-authored-by: Nicholai <nicholaivogelfilms@gmail.com>
2026-02-07 09:02:19 -07:00

13 lines
393 B
SQL
Executable File

CREATE TABLE `custom_dashboards` (
`id` text PRIMARY KEY NOT NULL,
`user_id` text NOT NULL,
`name` text NOT NULL,
`description` text DEFAULT '' NOT NULL,
`spec_data` text NOT NULL,
`queries` text NOT NULL,
`render_prompt` text NOT NULL,
`created_at` text NOT NULL,
`updated_at` text NOT NULL,
FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE cascade
);