1
0
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:
Mateusz Kwasniewski 2025-10-03 14:09:49 +02:00 committed by GitHub
parent f670505e56
commit c65a336783
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -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],
);
}
}

View File

@ -5,5 +5,6 @@ export interface ReleasePlanMilestone {
name: string;
sortOrder: number;
releasePlanDefinitionId: string;
startedAt?: Date;
strategies?: ReleasePlanMilestoneStrategy[];
}