-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
As a future improvement:
Currently, the nominations are handled according to their associated category's type:
- If the category is a
ONE_USERcategory, thenmainNomineeis required and must be a reference to auserid,auxNomineemust NOT be present, andextramay be present - If the category is a
TWO_USERScategory, thenmainNomineeandauxNomineeare required and must be references touserids, andextramay be present - If the category is a
ONLY_EXTRAcategory, thenextrais required and its content will vary depending on the referenced category
A possible improvement, as discussed by Germán and me, would be to only have two types:
USERSEXTRA
And change the nominees field to an array of foreign keys to user, using the fact that postgresql allows for array types.
This goes beyond the reach of Compushow 2019 but would be nice to have for other years, should the project be reused in the future.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request