You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.
Internal note: This is a lift issue, introspection does not produce @defaut(now()) afaik. I tried it on a DB and this was the result, since now() is a Prisma schema function concept, it is not reflected in the database.
This is not a lift but a query engine issue. We are free to decide whether we implement now() through a db level concept or simply do in the query engine. We decided to do it in the query engine.
If
default(now())
is used more that once in a model, it doesn't work:confirmationExpirationMoment
doesn't have default value and the following error occurs:The text was updated successfully, but these errors were encountered: