desert.elf
Explore posts from serversDTDrizzle Team
•Created by desert.elf on 10/31/2024 in #help
drizzle-kit push keeps trying to drop and recreate the same constraints
[email protected]
using vercel-neon postgres
I see many posts with this happening but no responses. Any clues ? This is becoming a huge headache in production for us.
7 replies
TTCTheo's Typesafe Cult
•Created by desert.elf on 7/28/2024 in #questions
Issues with attaching `customId` to Files using `utapi.uploadFiles()`
Hey all!
I'm using uploadthing server side via the utapi library but when i try to attach a customId to a file object and upload I error out vs just uploading w/ no customId.
This is the code
Now when i do this - i get the following error (with debug mode on) - note that this is not a uploadResponse.error but an error caught by the wider try catch i have around this code.
If i simply comment out the customId assignment it works completely fine and i get a successful upload - having a customId is really important to how i'm using this - any help is appreciated!
1 replies