Halil Han BADEM
Halil Han BADEM
DTDrizzle Team
Created by Halil Han BADEM on 9/2/2024 in #help
Defining relations of schemas in separate files
Hi, does anyone have any ideas on the following topic? https://github.com/drizzle-team/drizzle-orm/discussions/2577#discussioncomment-10522926 Here, imagine that you created each table separately with different files. Two tables that are related to each other (for Query) need to call each other for relations. This causes problems. How should relations definitions be made in separate files? Thanks.
2 replies