Luke Morris
05/03/2022, 11:47 PMSELECT *, and trying to map column values into required fields in the resulting JS object. Any advice on what to do here? Is there a way for me to exclude a field from my prisma client without modifying the underlying database schema?Jason Kleinberg
05/04/2022, 12:48 AMLuke Morris
05/04/2022, 12:58 AMJason Kleinberg
05/04/2022, 1:25 AMJason Kleinberg
05/04/2022, 1:28 AMLuke Morris
05/04/2022, 1:28 AMLuke Morris
05/04/2022, 1:31 AMLuke Morris
05/04/2022, 1:31 AMSELECT * FROM User ... , and the result received from Postgres has one fewer field than the old prisma client expects.Luke Morris
05/04/2022, 1:32 AMInvalid `prisma.user.findUnique()` invocation:
The column `User.removedField` does not exist in the current database.
even though I don't reference that field in my code anywhereJason Kleinberg
05/04/2022, 1:35 AMLuke Morris
05/04/2022, 1:37 AMJason Kleinberg
05/04/2022, 1:37 AMJason Kleinberg
05/04/2022, 1:38 AMJason Kleinberg
05/04/2022, 1:38 AMJason Kleinberg
05/04/2022, 1:39 AMLuke Morris
05/04/2022, 1:39 AMJason Kleinberg
05/04/2022, 1:39 AMJason Kleinberg
05/04/2022, 1:40 AMLuke Morris
05/04/2022, 1:40 AM