Skip to content

Enhancement: Use Enum Representation in Mentorship Relation #1143

Open
@devkapilbansal

Description

@devkapilbansal

Description

I want to ensure that the database queries are fast and take less space for storage.

valid_states = ["PENDING", "ACCEPTED", "REJECTED", "CANCELLED", "COMPLETED"]

In the code above ☝️ , we are using string values for relation state which should be avoided.

Definition of Done

  • All of the required items are completed.
  • Approval by 1 mentor.

Estimation

5-6 hours

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions