Skip to content

fix: Update migration to properly set SignRequest status#6091

Merged
vitormattos merged 1 commit intomainfrom
fix/migration-sign-request-status
Dec 11, 2025
Merged

fix: Update migration to properly set SignRequest status#6091
vitormattos merged 1 commit intomainfrom
fix/migration-sign-request-status

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

@vitormattos vitormattos added this to the Next Major (33) milestone Dec 10, 2025
@vitormattos vitormattos self-assigned this Dec 10, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 10, 2025
- 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]>
@vitormattos vitormattos force-pushed the fix/migration-sign-request-status branch from b8430c0 to 24542f2 Compare December 10, 2025 22:08
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable31

@vitormattos vitormattos merged commit a8bb48e into main Dec 11, 2025
65 checks passed
@vitormattos vitormattos deleted the fix/migration-sign-request-status branch December 11, 2025 12:31
@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

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant