Skip to content

[stable31] fix: Update migration to properly set SignRequest status#6092

Merged
vitormattos merged 1 commit intostable31from
backport/6091/stable31
Dec 11, 2025
Merged

[stable31] fix: Update migration to properly set SignRequest status#6092
vitormattos merged 1 commit intostable31from
backport/6091/stable31

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 <[email protected]>
@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 (31) milestone Dec 11, 2025
@vitormattos vitormattos merged commit 0b8e163 into stable31 Dec 11, 2025
62 checks passed
@vitormattos vitormattos deleted the backport/6091/stable31 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