drizzle-team / drizzle-team/drizzle-orm
[BUG]: Types of updated schemas are not been generated after migration
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Report hasn't been filed before.
- [X] I have verified that the bug I'm about to report hasn't been filed before.
### What version of `drizzle-orm` are you using?
0.36.1
### What version of `drizzle-kit` are you using?
0.28.0
### Other packages
_No response_
### Describe the Bug
Hello, I have encountered an issue concerning type generation. When a schema is updated, After updating a schema and running the commands `npx drizzle-kit generate` and `npx drizzle-kit migrate`, the newly added fields are not recognized in the code, even after restarting the TypeScript server in VSCode.
### Schema:

### Error:

### Database have been successfully updated:

With this being said, there is no problem with migration using drizzle-kit, but new types are not being generated automatically.
I tried deleting drizzle folder and creating the migrations again, but this also did not work.
Contributor guide
Assessment
This issue has not been assessed yet.