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,