@economic/agents 2.9.2 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,35 +0,0 @@
1
- -- ─── Audit logging ────────────────────────────────────────────────────────────
2
-
3
- CREATE TABLE IF NOT EXISTS audit_events (
4
- id TEXT PRIMARY KEY,
5
- durable_object_name TEXT NOT NULL,
6
- message TEXT NOT NULL,
7
- payload TEXT,
8
- created_at TEXT NOT NULL
9
- );
10
-
11
- CREATE INDEX IF NOT EXISTS audit_events_do ON audit_events(durable_object_name);
12
- CREATE INDEX IF NOT EXISTS audit_events_ts ON audit_events(created_at);
13
-
14
- -- ─── Conversations ────────────────────────────────────────────────────────────
15
-
16
- CREATE TABLE IF NOT EXISTS conversations (
17
- durable_object_name TEXT PRIMARY KEY,
18
- title TEXT,
19
- summary TEXT,
20
- created_at TEXT NOT NULL,
21
- updated_at TEXT NOT NULL
22
- );
23
-
24
- CREATE INDEX IF NOT EXISTS conversations_ts ON conversations(updated_at);
25
-
26
- -- ─── Message ratings ──────────────────────────────────────────────────────────
27
-
28
- CREATE TABLE IF NOT EXISTS message_ratings (
29
- message_id TEXT NOT NULL,
30
- durable_object_name TEXT NOT NULL,
31
- rating INTEGER,
32
- created_at TEXT NOT NULL,
33
- updated_at TEXT NOT NULL,
34
- PRIMARY KEY (message_id, durable_object_name)
35
- );
@@ -1 +0,0 @@
1
- ALTER TABLE message_ratings ADD COLUMN comment TEXT;
@@ -1,5 +0,0 @@
1
- -- ─── Audit logging ────────────────────────────────────────────────────────────
2
-
3
- DROP INDEX IF EXISTS audit_events_do;
4
- DROP INDEX IF EXISTS audit_events_ts;
5
- DROP TABLE IF EXISTS audit_events;