Skip to content

Conversation

@douglas-xt
Copy link
Contributor

@douglas-xt douglas-xt commented Dec 10, 2025

When a user downgrades to a plan without file versioning (e.g., from premium to free), their existing file versions were left in the database inaccessible but still occupying storage records. This PR ensures that when the payments service notifies a plan downgrade, all existing versions are automatically cleaned up as part of that process, maintaining data consistency and preventing obsolete records.

@douglas-xt douglas-xt self-assigned this Dec 16, 2025
@douglas-xt douglas-xt marked this pull request as draft December 16, 2025 09:17
@douglas-xt douglas-xt changed the base branch from master to migration/fv-add-user-id-to-file-versions December 18, 2025 11:47
@douglas-xt douglas-xt marked this pull request as ready for review December 18, 2025 11:48
@sg-gs sg-gs requested a review from jzunigax2 December 26, 2025 13:31
@douglas-xt douglas-xt force-pushed the feature/fv-cleanup-versions-on-downgrade branch from 4e90b5f to bbe07b4 Compare December 31, 2025 12:30
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants