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
Drizzle-seed tries to insert data to the columns using the name defined in the drizzle schema, which may not reflect the actual name of the column due to the casing configuration of drizzle, resulting in an error.
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.38.3
What version of
drizzle-kit
are you using?0.30.1
Other packages
[email protected]
Describe the Bug
What is the undesired behavior?
Drizzle-seed tries to insert data to the columns using the name defined in the drizzle schema, which may not reflect the actual name of the column due to the casing configuration of drizzle, resulting in an error.
What are the steps to reproduce it?
drizzle.config.ts
schema.ts
seed.ts
When the seed script is executed, it crash with this error:
If the column
passwordHash
is changed topassword_hash
in the drizzle schema, it works as intended.What is the desired result?
Drizzle-seed should be aware of the casing configuration and behave accordingly.
The text was updated successfully, but these errors were encountered: