mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-14 20:53:43 +01:00
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
14 lines
535 B
SQL
14 lines
535 B
SQL
-- An agent read the flow through the control API: its detail, a body or its messages.
|
|
ALTER TABLE flows ADD COLUMN agent_read BOOLEAN NOT NULL DEFAULT FALSE;
|
|
|
|
-- Searches saved by name, listed in the sidebar by `sort_order`.
|
|
CREATE TABLE saved_queries
|
|
(
|
|
id TEXT NOT NULL PRIMARY KEY,
|
|
created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
name TEXT NOT NULL,
|
|
query TEXT NOT NULL,
|
|
sort_order INTEGER NOT NULL DEFAULT 0
|
|
);
|