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

Update stats.lastUpdated on upsert #155

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

dhakalaashish
Copy link
Contributor

Stats tables are updated using prisma upsert. FireAlert's current implementation correctly writes to lastUpdated during create, but fails to do so during update. This PR fixes this issue.

Copy link

vercel bot commented Feb 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
fire-alert ❌ Failed (Inspect) Feb 22, 2024 10:58am

@dhakalaashish dhakalaashish requested review from Shreyaschorge and shyambhongle and removed request for Shreyaschorge February 22, 2024 11:00
Copy link

@mohitb35 mohitb35 left a comment

Choose a reason for hiding this comment

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

LGTM

@dhakalaashish dhakalaashish merged commit 15fd140 into develop Feb 27, 2024
3 of 5 checks passed
@dhakalaashish dhakalaashish deleted the feature/fix-last-updated-on-stats-upsert branch February 27, 2024 09:42
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