Gaurav
05/18/2019, 9:53 AMemailId: string! @unique
to email: string! @unique @rename(oldName: "emailId")
.
Now playground and admin don't give me email
field to query with, but only emailId
. And, if I use emailId
field, I get this error in AWS logs:
{"key":"error/unhandled","requestId":"local:cjvtbwikjdlacjoicq6mx","clientId":"my-prisma@dev","payload":{"exception":"java.sql.SQLSyntaxErrorException: (conn=17632) Unknown column 'Alias.emailId' in 'field list'","query":"query GetUsers
All the trouble remains even after I have reset the data and deployed again (without rename
directive this time) (I assume since it's not resetting schema).
How do I fix this? Thanks! 🙂divyendu
05/20/2019, 2:55 PMGaurav
06/05/2019, 4:30 PMdivyendu
06/05/2019, 4:30 PMGaurav
06/05/2019, 4:50 PMdivyendu
06/05/2019, 5:20 PMdivyendu
06/05/2019, 6:04 PM