Skip to content

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

@elliot14A

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.

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