aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
12
akode-rs/state/migrations/0051_thread_artifacts.sql
Normal file
12
akode-rs/state/migrations/0051_thread_artifacts.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE thread_artifacts (
|
||||
id TEXT PRIMARY KEY,
|
||||
thread_id TEXT NOT NULL REFERENCES threads(id) ON DELETE CASCADE,
|
||||
artifact_type TEXT NOT NULL,
|
||||
identity_key TEXT NOT NULL,
|
||||
payload TEXT NOT NULL,
|
||||
created_at INTEGER NOT NULL,
|
||||
UNIQUE (thread_id, artifact_type, identity_key)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_thread_artifacts_thread_created_id
|
||||
ON thread_artifacts(thread_id, created_at, id);
|
||||
Reference in New Issue
Block a user