Join Slack
Powered by
I just noticed "String" types are being mapped to ...
# orm-help
k
KJReactor
08/17/2020, 1:07 PM
I just noticed "String" types are being mapped to "Text" rather than varchar or varying character in Postgres as shown in the docs
n
nikolasburk
08/17/2020, 1:11 PM
Do you mind sharing the docs page where you found the issue? 🙂 Or even better open up an issue
here
so that our docs team can fix this 🙌
k
KJReactor
08/17/2020, 1:22 PM
Will do
KJReactor
08/17/2020, 1:24 PM
No page is particular. But I was following this one
https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch-prisma-migrate-typescript-postgres#create-database-tables-with-prisma-migrate
KJReactor
08/17/2020, 1:24 PM
String fields are mapped to Text in Postgres
👍 1
r
Ryan
08/18/2020, 6:53 AM
Hey
@KJReactor
👋 Yes this is currently the case and we will be introducing support for
native DB types
soon.
2
Views
Open in Slack
Previous
Next