From f4665d197e0569ed3d5ac5c1245387c6aec05645 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 10 Oct 2024 01:21:49 +0530 Subject: [PATCH] feat: add robotMetaId --- server/src/models/Run.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/src/models/Run.ts b/server/src/models/Run.ts index 020bb863..5c14dfd9 100644 --- a/server/src/models/Run.ts +++ b/server/src/models/Run.ts @@ -17,6 +17,7 @@ interface RunAttributes { status: string; name: string; robotId: string; + robotMetaId: string; startedAt: string; finishedAt: string; browserId: string; @@ -34,6 +35,7 @@ class Run extends Model implements RunAttr public status!: string; public name!: string; public robotId!: string; + public robotMetaId!: string; public startedAt!: string; public finishedAt!: string; public browserId!: string; @@ -67,6 +69,10 @@ Run.init( key: 'id', }, }, + robotMetaId: { + type: DataTypes.UUID, + allowNull: false, + }, startedAt: { type: DataTypes.STRING(255), allowNull: false,