feat(server): update trascript endpoint (#11196)

This commit is contained in:
darkskygit
2025-03-27 10:18:49 +00:00
parent 3303684056
commit 3b9d64d74d
17 changed files with 195 additions and 70 deletions

View File

@@ -0,0 +1,14 @@
/*
Warnings:
- A unique constraint covering the columns `[created_by,workspace_id,blob_id]` on the table `ai_jobs` will be added. If there are existing duplicate values, this will fail.
*/
-- DropIndex
DROP INDEX "ai_jobs_created_by_workspace_id_blob_id_idx";
-- DropIndex
DROP INDEX "ai_jobs_workspace_id_blob_id_key";
-- CreateIndex
CREATE UNIQUE INDEX "ai_jobs_created_by_workspace_id_blob_id_key" ON "ai_jobs"("created_by", "workspace_id", "blob_id");