Using version 0.23.0 gives me this error, downgrading to 0.21.4 (with drizzle-orm@0.29.3) works correctly.
note:
my DB has a table with a hyphen in the name, although I tried renaming the table but it still failed on 0.23.0. It works correctly with 0.21.4 although the schema.ts generated has a syntax error (hyphen in exported const name) that I had to fix manually.
Using version
0.23.0
gives me this error, downgrading to0.21.4
(withdrizzle-orm@0.29.3
) works correctly.note:
my DB has a table with a hyphen in the name, although I tried renaming the table but it still failed on
0.23.0
. It works correctly with0.21.4
although the schema.ts generated has a syntax error (hyphen in exported const name) that I had to fix manually.