feat: history cleanup (#7007)

fix AFF-1069
This commit is contained in:
darkskygit committed 2024-05-24 08:00:05 +00:00
1 parent 02564a8d8c
commit 937b8bf166
6 files changed
+188 -77

No files matched your search

@@ -0,0 +1,4 @@
-- AlterTable
ALTER TABLE "ai_sessions_metadata" ADD COLUMN "deleted_at" TIMESTAMPTZ(6),
ADD COLUMN "messageCost" INTEGER NOT NULL DEFAULT 0,
ADD COLUMN "tokenCost" INTEGER NOT NULL DEFAULT 0;