deme4447
TTCTheo's Typesafe Cult
•Created by deme4447 on 6/17/2024 in #questions
ENV Variable for DATABASE_URL won't update when I run npx prisma db push
I updated my .env variable for the Prisma DB Database URL but when I run the prisma commands I get errors such as p1000 that show it is still trying to connect to my old PlanetScale DB.
Any ideas on how I can get it updated? I tried to Google and search GitHub but it has not helped so far.
2 replies
TTCTheo's Typesafe Cult
•Created by deme4447 on 4/2/2024 in #questions
If you SSH onto a machine from another machine, does that use less resources on your local Machine?
I am wondering if I can make my local PC use less resources by SSHing into VSCode using another PC?
3 replies
TTCTheo's Typesafe Cult
•Created by deme4447 on 6/18/2023 in #questions
Syncing Clerk User for Prisma User in the Next Pages Directory
Hey there, I am trying to sync my user object with my User model in Prisma DB.
I followed the steps in this video:
https://www.youtube.com/watch?v=NgBxrIC1eHM&t=1293s
But then I realized that the headers only work with server components in the app directory.
I am using t3 stack so I have tRPC and the server folder. How can I go about converting this code I have currently to a tRPC call, or something else entirely since it has to be a endpoint for webhooks.
5 replies