Join Slack
Powered by
In Prisma schema, if I want a column what can be s...
# orm-help
f
Feralheart
07/15/2021, 10:33 AM
In Prisma schema, if I want a column what can be string/number/boolean which type should I use?
r
Ryan
07/15/2021, 10:35 AM
@Feralheart
👋 Prisma doesn’t support overloads, so one thing you could do it keep it as a string and then convert it in your application code.
f
Feralheart
07/15/2021, 11:08 AM
Thank you
👍 1
3
Views
Open in Slack
Previous
Next