p o h a
p o h a
Explore posts from servers
DTDrizzle Team
Created by p o h a on 7/19/2024 in #help
Foreign key reference in drizzle causes type error
Thanks a ton!!! Following you on twitter!
10 replies
DTDrizzle Team
Created by p o h a on 7/19/2024 in #help
Foreign key reference in drizzle causes type error
no i just figured if the type error is because it has an implicit any type then I should mention the type
10 replies
DTDrizzle Team
Created by p o h a on 7/19/2024 in #help
Foreign key reference in drizzle causes type error
but this gave me a circular reference type error
10 replies
DTDrizzle Team
Created by p o h a on 7/19/2024 in #help
Foreign key reference in drizzle causes type error
that works but...how, I tried mentioning the return type like this before:
user_id: varchar("user_id").references(():ReturnTypeOrValue<typeof users.id> => users.id, { onDelete: "cascade" }), //fk to users.id
user_id: varchar("user_id").references(():ReturnTypeOrValue<typeof users.id> => users.id, { onDelete: "cascade" }), //fk to users.id
10 replies
TTCTheo's Typesafe Cult
Created by p o h a on 9/9/2023 in #questions
UploadThing: Struggling to authenticate uploads
YOOO THANKS KING
8 replies
TTCTheo's Typesafe Cult
Created by p o h a on 9/9/2023 in #questions
UploadThing: Struggling to authenticate uploads
i have seen this but didnt quite get how i would pass the input from the client component i included
8 replies
TTCTheo's Typesafe Cult
Created by vitor markis 🎈 on 9/8/2023 in #questions
How to create custom upload component to use with UploadThing?
did you try using the appearance and content property in the UploadDropzone/UploadButton components, there are options to customize the entire button from that property
5 replies