Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pools default to user-level storage #9

Open
junbl opened this issue Aug 6, 2024 · 0 comments
Open

Make pools default to user-level storage #9

junbl opened this issue Aug 6, 2024 · 0 comments

Comments

@junbl
Copy link
Owner

junbl commented Aug 6, 2024

Pools currently are stored at the channel level and anyone in that channel can roll them. However, seems like most common use cases are for the user that started the pool to roll it.

Update the database to support this, add this as an option in Scope, and update scope_or_default to reflect this. Also update the docs accordingly.

Still not sure what the database should look like here - can make a separate user_pool table with the same structure, or just add the user id to the existing pool tables and update the composite unique key.

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

No branches or pull requests

1 participant