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

Task cards should display if solved or not #17

Open
Lekesoldat opened this issue Feb 13, 2023 · 0 comments
Open

Task cards should display if solved or not #17

Lekesoldat opened this issue Feb 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Lekesoldat
Copy link
Owner

Lekesoldat commented Feb 13, 2023

Need a way / query to know if the task is solved by the current user.
Mybe a new db model called SolvedTasks?

I.e:

model SolvedTasks {
    userId String @map("user_id")
    taskId String @map("task_id")
    user   User   @relation(fields: [userId], references: [id])
    task   Task   @relation(fields: [taskId], references: [id])

    @@id([userId, taskId])
}
@Lekesoldat Lekesoldat added the enhancement New feature or request label Feb 13, 2023
@kharann kharann reopened this May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants