Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an enum to set status of invitations which currently a bool #367

Open
elliot14A opened this issue May 31, 2023 · 0 comments
Open

Comments

@elliot14A
Copy link
Contributor

elliot14A commented May 31, 2023

Currently when an user rejects a invitation sent by an admin, the invitation is deleted from the database. Instead we can create a enum called Status with values Accepted , Rejected and Pending. Now instead of deleting the invite we can just set the status to Rejected.

This would be a breaking change.

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

No branches or pull requests

1 participant