1) Refactor the users model to support an array field of notification preferences
The choices for this field should be tagged (when the user is tagged in a shared item),
comment (when another user comments on a shared item), connection_request (when a user receives a connection request), like (when a user receives a like on a shared item)
The field should be initialized to all of the choices by default
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
1) Refactor the users model to support an array field of notification preferences
tagged
(when the user is tagged in a shared item),comment
(when another user comments on a shared item),connection_request
(when a user receives a connection request),like
(when a user receives a like on a shared item)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