Pupok
Explore posts from serversDTDrizzle Team
•Created by Pupok on 8/9/2024 in #help
Error migrating "type does not exist"
im adding more stuff to my db, so i created this type and once i wanted to migrate i got his
the error is pointing out the type i created as lowercase, but its camel cased
the type exist in supabase, so i cant apply my other change because this one keeps on failing
17 replies
DTDrizzle Team
•Created by Pupok on 8/7/2024 in #help
Is this the right way of using relations ?
hi, this is my first project using drizzle, and I'm not that good at sql query as mostly i use ORMs, but now im using drizzle to learn more sql like syntax,
This is the schema is question:
and this is the query
I did the relation between files and repair orders, if i try to join them directly into one query () then it will only return 1 file, this is why i splitted it into 2 so i can get all, is this the right way of doing it?
17 replies