Join Slack
Powered by
Is there a way to define prisma schema types simil...
# orm-help
j
Juan Gonzalez
04/21/2022, 5:09 PM
Is there a way to define prisma schema types similar to how you would do the following in typescript
Copy code
type itemType = boolean | string | number;
a
Austin Zentz
04/21/2022, 8:51 PM
I don't think so? I don't believe that would map well to SQL databases.
j
Juan Gonzalez
04/21/2022, 8:58 PM
Thats what I figured but thought it was worth asking. Thanks
2
Views
Open in Slack
Previous
Next