Upload database using t3 stack

I have a database that I want to upload once and update frequently (400k rows for upload and 3-4k for update). This database also has relations defined using prisma so I can't reset the entire database. The current process I want to achieve is to upload the db file into uploadthing and then use fetch and upload the database using prisma. But I don't know how to run this process in server instead of frontend. If my process is correct please help me do it. If not tell me the correct method. Using seed file in production don't look possible aswell.
0 Replies
No replies yetBe the first to reply to this messageJoin