Drizzle Studio not updating schema but apparently applies it anyway?
I have added a simple one-to-one relation in my schema which is named
In Drizzle Studio, this appears as a column in
... I get a type error for
To reiterate - Drizzle Studio seems to respect the new naming when displaying the table, and the query works just fine from my NodeJS server that uses Drizzle ORM. It's only Drizzle Studio, and its "Drizzle Runner" which refuses to acknowledge the changed relation as per the schema.
myGarden (this links users to an entry in gardens). In Drizzle Studio, this appears as a column in
users , and correctly links to an entry in the gardens table. But when I try to run a query like ... I get a type error for
myGarden (doesn't exist) and if I click on the schema tab I see that there is no relation named myGarden , only garden . I don't even know where this came from! (An older version of the shema? Where is it getting that from?)To reiterate - Drizzle Studio seems to respect the new naming when displaying the table, and the query works just fine from my NodeJS server that uses Drizzle ORM. It's only Drizzle Studio, and its "Drizzle Runner" which refuses to acknowledge the changed relation as per the schema.