d1ge
DTDrizzle Team
•Created by d1ge on 9/23/2023 in #help
drizzle-kit generate:pg - generates incorrect reference to table in another schema?
Yeah, thats what i will do for now. And with some automated checks/rules in my migrate.ts file, i guess its to overcome!
Appreciate your guidance very much 🙂
9 replies
DTDrizzle Team
•Created by d1ge on 9/23/2023 in #help
drizzle-kit generate:pg - generates incorrect reference to table in another schema?
I looked at that one as well, but tought that this part:
Meant that all would be "ok ish" as long as i dont name tables the same.
I guess this is not true when referencing tables in other schemas then? Postgres throws up when trying to migrate that file, cause i guess its looking for the users table, in its default search_path?
9 replies
DTDrizzle Team
•Created by Jim on 9/23/2023 in #help
Help understanding relations
Try:
To see what its doing behind the scenes 🙂 Might explain it all!
3 replies
DTDrizzle Team
•Created by srigi on 5/30/2023 in #help
Many-to-Many where in far table
Something like this?:
8 replies
DTDrizzle Team
•Created by srigi on 5/30/2023 in #help
Many-to-Many where in far table
So how would i do this using the query builder?
8 replies
DTDrizzle Team
•Created by srigi on 5/30/2023 in #help
Many-to-Many where in far table
So docs is incorrect then, or is it only supported for one-to-many?
https://orm.drizzle.team/docs/rqb#select-filters
8 replies
DTDrizzle Team
•Created by srigi on 5/30/2023 in #help
Many-to-Many where in far table
did you figure out what was wrong? Just hit the same wall ish.
8 replies