After introspection my generated schema.prisma fil...
# prisma-migrate
j
After introspection my generated schema.prisma file has a lot of this: @db.Char(30) But most examples of the schema I see online does not have this. Should I remove them?
r
@Josef Henryson ๐Ÿ‘‹ These are native type mappings for your database, so these will be present depending on the data type you have used ๐Ÿ™‚
j
ok, so I should keep them? Why donโ€™t I see them in schema examples?
r
Yes you should. Schema examples use the default so no annotation is required. Have a look at the defaults as well in that section.
๐Ÿ™๐Ÿผ 1