Skip to content

feat(db): add rating#533

Merged
qwerzl merged 5 commits intoComputerization:nextfrom
RadioNoiseE:next
Mar 14, 2024
Merged

feat(db): add rating#533
qwerzl merged 5 commits intoComputerization:nextfrom
RadioNoiseE:next

Conversation

@RadioNoiseE
Copy link

No description provided.

@netlify
Copy link

netlify bot commented Mar 14, 2024

‼️ Deploy request for computerization-enspire-next rejected.

Name Link
🔨 Latest commit b9fb1a6

@qwerzl qwerzl changed the title [Rating] Database initialization feat(db): add rating Mar 14, 2024
db/schema.prisma Outdated
rateBy String // Link to User model
clubId Int // Link to Club model
rating Int @default(0) // 0 as initial rate lol
// ratedAt DateTime @default(now()) // I guess we don't need this as we already have `rateScope`
Copy link
Member

@qwerzl qwerzl Mar 14, 2024

Choose a reason for hiding this comment

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

we should still add it imo. we might need it afterwards if we need to add some more features

@qwerzl qwerzl merged commit e17a05f into Computerization:next Mar 14, 2024
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