mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
feat: milestone start time update (#10730)
This commit is contained in:
parent
f670505e56
commit
c65a336783
@ -45,4 +45,11 @@ export class ReleasePlanMilestoneStore extends CRUDStore<
|
||||
.where('release_plan_definition_id', templateId)
|
||||
.delete();
|
||||
}
|
||||
|
||||
async updateStartTime(milestoneId: string): Promise<void> {
|
||||
await this.db.raw(
|
||||
`UPDATE ${TABLE} SET started_at = NOW() WHERE id = ?`,
|
||||
[milestoneId],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -5,5 +5,6 @@ export interface ReleasePlanMilestone {
|
||||
name: string;
|
||||
sortOrder: number;
|
||||
releasePlanDefinitionId: string;
|
||||
startedAt?: Date;
|
||||
strategies?: ReleasePlanMilestoneStrategy[];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user