Skip to content

Update @updatedAt and now() warning messages to clarify problem only exists in versions before 4.4.0 #6832

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

Conversation

aasmith2021
Copy link
Contributor

Description

This PR updates the prisma-schema-reference documentation "warnings" for the @updatedAt and now() attributes to clarify that the problem of the attributes producing different times only exists for versions before 4.4.0

Background

The Prisma ORM v4.4.0 release fixed prisma/prisma Issue #12572 with the updates from prisma/prisma-engines PR #3200. So, for Prisma versions v4.4.0 or later, the warnings about @updatedAt and now() producing different times do not apply.

Related Issues

This PR will resolve prisma/docs Issue #6825

aasmith2021 and others added 2 commits April 14, 2025 09:51
…e of @updatedat and now() producing different times only occurs in versions before 4.4.0
@mhessdev mhessdev merged commit ff657d0 into prisma:main May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants