Robin
12/18/2020, 12:17 PMRyan
12/18/2020, 12:30 PMRyan
12/18/2020, 12:33 PMRobin
12/18/2020, 12:43 PMRobin
12/18/2020, 12:44 PMRobin
12/18/2020, 12:44 PMRyan
12/18/2020, 12:47 PMso I guess I have to make the introspect + generate + adjust the code so I access the right tables before each run of the nextjs app?Yes exactly that would be the way to go. You don’t need to adjust the application code if you’re using
@@map
as described here.
If your generated tables have the same structure as before with just the names being changed, you can just run prisma gneerate
after mapping the table names correctly so your application code works.Robin
12/18/2020, 12:49 PMRyan
12/18/2020, 12:49 PM