diff --git a/packages/schema/src/res/stdlib.zmodel b/packages/schema/src/res/stdlib.zmodel index d6d4bb626..6120696ff 100644 --- a/packages/schema/src/res/stdlib.zmodel +++ b/packages/schema/src/res/stdlib.zmodel @@ -287,7 +287,7 @@ attribute @db.Citext() @@@targetField([StringField]) @@@prisma // Boolean type modifiers attribute @db.Boolean() @@@targetField([BooleanField]) @@@prisma -attribute @db.TinyInt(_ x: Int?) @@@targetField([BooleanField]) @@@prisma +attribute @db.TinyInt(_ x: Int?) @@@targetField([BooleanField, IntField]) @@@prisma attribute @db.Bool() @@@targetField([BooleanField]) @@@prisma // Int type modifiers