Skip to content

Conversation

@florentc
Copy link
Member

@florentc florentc commented May 5, 2025

As a step to implement #532, this adds relations between:

  • profiles and channels
  • profiles and derivations


user = models.OneToOneField(User, on_delete=models.CASCADE)
subscriptions = models.ManyToManyField(NixpkgsIssue, related_name="subscribers")
channels = models.ManyToManyField(NixChannel, related_name="subscribers")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@balsoft suggested to actually have something like "collections" or "profiles" (see #532 (comment)), which I think is a good idea if we eventually want users to be able to subscribe programmatically from clients on different machines/setups. Therefore how about we put this into a container?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants