Do I need to add a @default(0) if it is of type `I...
# orm-help
c
Do I need to add a @default(0) if it is of type
Int
? Or is there something else I can do?
r
@Chris Packett 👋 Is there any existing data in the database? If so, you would need to add it as optional first
Int?
, seed the values and then change it to required for this to work.
✅ 1
c
Sounds good!
💯 1