Thanks a lot for this tutorial! It's very helpful. One thing I would add that I got stuck on for a little bit is that you have to run prisma generate after creating your schema before you can access the prisma client.
That is really strange! I had run prisma db push, I could see everything on railway no problem, but the client didn't work until I also ran prisma generate, so yeah, no idea what that's about
Thanks a lot for this tutorial! It's very helpful. One thing I would add that I got stuck on for a little bit is that you have to run
prisma generateafter creating your schema before you can access the prisma client.You're welcome!
prisma db pushautomatically runsprisma generatefor you. Weird it didn't work for you.That is really strange! I had run
prisma db push, I could see everything on railway no problem, but the client didn't work until I also ranprisma generate, so yeah, no idea what that's aboutGlad you got it working!