zod schemas, main schema, and relations in separate files

I assume it's fine to put relations, zod schemas, and the main schema in separate files, right? If I'm understanding correctly, zod schemas aren't needed by the client, so they can be wherever and migrations don't need relations, so as long as I add the relations and main schema to the client everything should work. Any unforseen issues here?
0 Replies
No replies yetBe the first to reply to this messageJoin