We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a37c6bc commit 2b52d88Copy full SHA for 2b52d88
apps/sim/db/migrations/0077_missing_doc_processing.sql
@@ -0,0 +1,5 @@
1
+ALTER TABLE "document" ADD COLUMN IF NOT EXISTS "processing_status" text DEFAULT 'pending' NOT NULL;
2
+ALTER TABLE "document" ADD COLUMN IF NOT EXISTS "processing_started_at" timestamp;
3
+ALTER TABLE "document" ADD COLUMN IF NOT EXISTS "processing_completed_at" timestamp;
4
+ALTER TABLE "document" ADD COLUMN IF NOT EXISTS "processing_error" text;
5
+CREATE INDEX IF NOT EXISTS "doc_processing_status_idx" ON "document" USING btree ("knowledge_base_id","processing_status");
0 commit comments