hi all, is there an SDL directive for a custom col...
# orm-help
c
hi all, is there an SDL directive for a custom column name that isn't based on relation? for example, i have a pre-existing postgres database schema with a field called
id
, and that field is reserved by prisma for ID types. i'm looking for something like
myID: Int @pgColumn(name="id")
h
Hi, This is possible with datamodel 1.1. It is in beta right now See: https://github.com/prisma/datamodel-v1.1-feedback