add new pipeline events submissionUpdated & submissionFinished

This commit is contained in:
Matthias Nannt
2023-01-20 12:25:45 +01:00
parent e5ce84b03d
commit dbc68c810f
12 changed files with 237 additions and 53 deletions
@@ -0,0 +1,10 @@
-- 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 "PipelineEvent" ADD VALUE 'submissionUpdated';
ALTER TYPE "PipelineEvent" ADD VALUE 'submissionFinished';
+2
View File
@@ -19,6 +19,8 @@ enum PipelineType {
enum PipelineEvent {
submissionCreated
submissionUpdated
submissionFinished
}
model Pipeline {