© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago
Max Forbang

Drizzle runner doesn't work but SQL does

I'm using Supabase Postgres and I can't run any queries with the drizzle runner. I just get
invalid drizzle query
invalid drizzle query


In my console, I get the error
SyntaxError: Identifier 'realtime' has already been declared
SyntaxError: Identifier 'realtime' has already been declared

When I look at the schema tab, it has a bunch of values that I haven't defined in my schema.ts file (I made sure to migrate my db).

The two troublesome values are:
export const realtime = pgSchema("_realtime");
export const realtime = pgSchema("realtime");
CleanShot_2024-07-04_at_13.20.27.png
CleanShot_2024-07-04_at_13.24.10.png
CleanShot_2024-07-04_at_13.25.45.png
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

Query in drizzle doesn't work
Drizzle TeamDTDrizzle Team / help
3y ago
Drizzle Runner Error
Drizzle TeamDTDrizzle Team / help
12mo ago
drizzle-kit generate doesn't run custom sql
Drizzle TeamDTDrizzle Team / help
2y ago
`drizzle-kit generate:sqlite` doesn't work
Drizzle TeamDTDrizzle Team / help
2y ago