Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit 895b8f1

Browse files
authored
Require explicit ignore argument for @updatedAt (#638)
1 parent 3392104 commit 895b8f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/language/res/stdlib.zmodel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ attribute @omit()
407407
* updates have been made to a record. An update that only contains ignored fields does not change the
408408
* timestamp.
409409
*/
410-
attribute @updatedAt(_ ignore: FieldReference[]?) @@@targetField([DateTimeField]) @@@prisma
410+
attribute @updatedAt(ignore: FieldReference[]?) @@@targetField([DateTimeField]) @@@prisma
411411

412412
/**
413413
* Add full text index (MySQL only).

0 commit comments

Comments
 (0)