feat: notification/invite system backend
Features:
- Added a new notification table
- Migrations required
- Switch invite member system to publish a new notification model associated with the space ID, team ID, and user ID.
- Add query functions to check if an invite is already pending. (expiration timestamp check)
TODO:
- View notifications dropdown on the top right corner of the screen.
- Multiple notification types and icons for them for the dropdown.
- Fix checking if an invite is already pending (andWhereJsonObject not working with JSON column?)
- Auto-delete expired notifications if not already deleted.
- May accumulate over time if users have not deleted them themselves.