feat: add robotMetaId
This commit is contained in:
@@ -17,6 +17,7 @@ interface RunAttributes {
|
|||||||
status: string;
|
status: string;
|
||||||
name: string;
|
name: string;
|
||||||
robotId: string;
|
robotId: string;
|
||||||
|
robotMetaId: string;
|
||||||
startedAt: string;
|
startedAt: string;
|
||||||
finishedAt: string;
|
finishedAt: string;
|
||||||
browserId: string;
|
browserId: string;
|
||||||
@@ -34,6 +35,7 @@ class Run extends Model<RunAttributes, RunCreationAttributes> implements RunAttr
|
|||||||
public status!: string;
|
public status!: string;
|
||||||
public name!: string;
|
public name!: string;
|
||||||
public robotId!: string;
|
public robotId!: string;
|
||||||
|
public robotMetaId!: string;
|
||||||
public startedAt!: string;
|
public startedAt!: string;
|
||||||
public finishedAt!: string;
|
public finishedAt!: string;
|
||||||
public browserId!: string;
|
public browserId!: string;
|
||||||
@@ -67,6 +69,10 @@ Run.init(
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
robotMetaId: {
|
||||||
|
type: DataTypes.UUID,
|
||||||
|
allowNull: false,
|
||||||
|
},
|
||||||
startedAt: {
|
startedAt: {
|
||||||
type: DataTypes.STRING(255),
|
type: DataTypes.STRING(255),
|
||||||
allowNull: false,
|
allowNull: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user