Skip to content

Commit 91abbb8

Browse files
authored
fix(zmodel): several native type attributes have too strict typing (#1605)
1 parent 96f6516 commit 91abbb8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/schema/src/res/stdlib.zmodel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,10 @@ enum MSSQLServerTypes {
402402
attribute @db.String(_ x: Int?) @@@targetField([StringField]) @@@prisma
403403
attribute @db.Text() @@@targetField([StringField]) @@@prisma
404404
attribute @db.NText() @@@targetField([StringField]) @@@prisma
405-
attribute @db.Char(_ x: Int) @@@targetField([StringField]) @@@prisma
406-
attribute @db.NChar(_ x: Int) @@@targetField([StringField]) @@@prisma
407-
attribute @db.VarChar(_ x: Any) @@@targetField([StringField]) @@@prisma
408-
attribute @db.NVarChar(_ x: Any) @@@targetField([StringField]) @@@prisma
405+
attribute @db.Char(_ x: Int?) @@@targetField([StringField]) @@@prisma
406+
attribute @db.NChar(_ x: Int?) @@@targetField([StringField]) @@@prisma
407+
attribute @db.VarChar(_ x: Any?) @@@targetField([StringField]) @@@prisma
408+
attribute @db.NVarChar(_ x: Any?) @@@targetField([StringField]) @@@prisma
409409
attribute @db.CatalogSingleChar() @@@targetField([StringField]) @@@prisma
410410
attribute @db.TinyText() @@@targetField([StringField]) @@@prisma
411411
attribute @db.MediumText() @@@targetField([StringField]) @@@prisma

0 commit comments

Comments
 (0)