Skip to content

[stable32] fix: Update migration to properly set SignRequest status#6093

Merged
vitormattos merged 1 commit intostable32from
backport/6091/stable32
Dec 11, 2025
Merged

[stable32] fix: Update migration to properly set SignRequest status#6093
vitormattos merged 1 commit intostable32from
backport/6091/stable32

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6091

- Add postSchemaChange method to migrate existing data
- Set status = 2 (SIGNED) when signed IS NOT NULL
- Set status = 1 (ABLE_TO_SIGN) when signed IS NULL and file.status = 1
- Status 0 (DRAFT) remains as default
- Only update records with status = 0 to avoid overwriting

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 11, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (32) milestone Dec 11, 2025
@vitormattos vitormattos merged commit 2292735 into stable32 Dec 11, 2025
62 checks passed
@vitormattos vitormattos deleted the backport/6091/stable32 branch December 11, 2025 14:20
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant