Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
21.47k
stars
486
forks
source link
[BUG]:SQL index against reserved column names omit quotes #2484
Open
Aymericr opened 3 weeks ago
What version of
drizzle-orm
are you using?0.31.1
What version of
drizzle-kit
are you using?0.22.2
Describe the Bug
Notice the use of "user" as a column name:
Generates the following SQL:
Which yield the following error:
Expected behavior
Should generate the following SQL:
Environment & setup
No response