Team-uMigrate / umigrate

Source code for the uMigrate project
13 stars 2 forks source link

API: Reactor code to support notification preferences field #426

Closed NihalPotdar closed 3 years ago

NihalPotdar commented 3 years ago

1) Refactor the users model to support an array field of notification preferences

The users model is in \users\models.py, and be sure to make edits to any other field to support this change

2) Create a new field in the notifications table to support a notification type, the notification type and should only be one of the above choices. Be sure to make any corresponding changes to \notification to support this change