From 1374591695bfc3cd12141dda003917fd89e0099c Mon Sep 17 00:00:00 2001 From: Rohit Rajan Date: Wed, 10 Sep 2025 00:12:11 +0530 Subject: [PATCH] feat: add retryCount field --- server/src/models/Run.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/src/models/Run.ts b/server/src/models/Run.ts index dc371e8e..1e292dbb 100644 --- a/server/src/models/Run.ts +++ b/server/src/models/Run.ts @@ -25,6 +25,7 @@ interface RunAttributes { runByAPI?: boolean; serializableOutput: Record; binaryOutput: Record; + retryCount?: number; } interface RunCreationAttributes extends Optional { } @@ -46,6 +47,7 @@ class Run extends Model implements RunAttr public runByAPI!: boolean; public serializableOutput!: Record; public binaryOutput!: Record; + public retryCount!: number; } Run.init( @@ -120,6 +122,11 @@ Run.init( allowNull: true, defaultValue: {}, }, + retryCount: { + type: DataTypes.INTEGER, + allowNull: true, + defaultValue: 0, + }, }, { sequelize,