Skip to content

Commit db9cc7f

Browse files
fix: add IntField as a valid mapping to TinyInt (#822)
1 parent 2961144 commit db9cc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schema/src/res/stdlib.zmodel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ attribute @db.Citext() @@@targetField([StringField]) @@@prisma
287287
// Boolean type modifiers
288288

289289
attribute @db.Boolean() @@@targetField([BooleanField]) @@@prisma
290-
attribute @db.TinyInt(_ x: Int?) @@@targetField([BooleanField]) @@@prisma
290+
attribute @db.TinyInt(_ x: Int?) @@@targetField([BooleanField, IntField]) @@@prisma
291291
attribute @db.Bool() @@@targetField([BooleanField]) @@@prisma
292292

293293
// Int type modifiers

0 commit comments

Comments
 (0)