Skip to content

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

Description

@elliot14A

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions