© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
19 replies
Cyber Grandma

PostgresError: Relation X does not exist - After reorganizing schema

Hi guys,

I have two tables (team and team_members) , which have a relation.
All my schema was in one file and I decided to split it into multiple to make it cleaner.

I ran the drizzle-kit generate:pg command with success, my app starts and does migration with success. But when I try to insert a new team_member it tells me that the relation does not exists.

I find that odd, I also double checked I didn't delete anything.

Any clue ? It's very late for me, perhaps i'm just missing something super obvious...
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

PostgresError: relation "Session" does not exist
Drizzle TeamDTDrizzle Team / help
2y ago
PostgresError: relation "public.artist" does not exist
Drizzle TeamDTDrizzle Team / help
2y ago
error: relation "X" does not exist
Drizzle TeamDTDrizzle Team / help
2y ago
PostgresError: type "vector" does not exist
Drizzle TeamDTDrizzle Team / help
12mo ago