mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-28 20:04:26 +00:00
feat(transcode): split monolithic transcodeMedia into focused workflows
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
-- AlterEnum
|
||||
-- This migration adds more than one value to an enum.
|
||||
-- With PostgreSQL versions 11 and earlier, this is not possible
|
||||
-- in a single migration. This can be worked around by creating
|
||||
-- multiple migrations, each migration adding only one value to
|
||||
-- the enum.
|
||||
|
||||
|
||||
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_video';
|
||||
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_image';
|
||||
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_pdf';
|
||||
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_pdf_pages';
|
||||
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_screenshot';
|
||||
ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_image_annotation';
|
||||
@@ -100,6 +100,12 @@ enum TeamMemberScope {
|
||||
|
||||
enum WorkflowTaskType {
|
||||
transcode
|
||||
transcode_video
|
||||
transcode_image
|
||||
transcode_pdf
|
||||
transcode_pdf_pages
|
||||
transcode_screenshot
|
||||
transcode_image_annotation
|
||||
ai_metadata_autofill
|
||||
chat
|
||||
ai_embedding
|
||||
|
||||
Reference in New Issue
Block a user