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

In my console, I get the error 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
Was this page helpful?