feat: add robotMetaId

This commit is contained in:
karishmas6
2024-10-10 01:21:49 +05:30
parent 6dcc927d6a
commit f4665d197e

View File

@@ -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<RunAttributes, RunCreationAttributes> 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,