Skip to content

fix(gdpr): add indexes to user-consent entity - #1376

Merged
RUKAYAT-CODER merged 8 commits into
rinafcode:mainfrom
Peolite001:fix-1246-user-consent-indexes
Sep 3, 2026
Merged

fix(gdpr): add indexes to user-consent entity#1376
RUKAYAT-CODER merged 8 commits into
rinafcode:mainfrom
Peolite001:fix-1246-user-consent-indexes

Conversation

@Peolite001

Copy link
Copy Markdown
Contributor

Closes #1246.

This PR adds appropriate indexes to the user-consent entity to keep common query paths performant, specifically indexing the userId and consentType columns which are frequently used for lookups and filtering.

It also includes a reviewable migration (1802000000000-add-user-consent-indexes.ts) to create the indexes on existing databases.

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@Peolite001 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Well done on the job done so far!
Kindly fix workflow to pass.

@Peolite001

Copy link
Copy Markdown
Contributor Author

Well done on the job done so far! Kindly fix workflow to pass.

done

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Thank you for contributing to the project

@RUKAYAT-CODER
RUKAYAT-CODER merged commit 6706433 into rinafcode:main Sep 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add database indexes to the user-consent entity

2 participants