You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error when running Drizzle Studio using a schema that has a table with a column named constructor.
The error occurs when the database column itself is named constructor.
For example:
carConstructor: varchar("constructor") throws an error
constructor: varchar("car_constructor") does not throw an error
This might be related to the fact that the constructor property of an object typically refers to the constructor function.
Stack trace:
TypeError: f.map is not a function
at https://local.drizzle.studio/index.js:14051:6036
at Array.forEach (<anonymous>)
at ori (https://local.drizzle.studio/index.js:14051:5671)
at https://local.drizzle.studio/index.js:14040:6
at Array.map (<anonymous>)
at cri (https://local.drizzle.studio/index.js:14039:39)
at bri (https://local.drizzle.studio/index.js:14060:306)
at ykl (https://local.drizzle.studio/index.js:14123:34156)
I'm getting the following error when running Drizzle Studio using a schema that has a table with a column named
constructor
.The error occurs when the database column itself is named
constructor
.For example:
carConstructor: varchar("constructor")
throws an errorconstructor: varchar("car_constructor")
does not throw an errorThis might be related to the fact that the
constructor
property of an object typically refers to the constructor function.Stack trace:
Schema:
Bug report: bug-report.zip
The text was updated successfully, but these errors were encountered: