feat: add robotMetaId
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user