drizzle-team / drizzle-team/drizzle-orm
sqlite migrations should be inside transaction
Open
db/sqlite
drizzle/kit
improvement
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
It seems generated migration files aren't inside a transaction.
I think they should be.
- easier to recover from migration errors
- doesn't allow writes to the db when in the middle of a migration
Contributor guide
Assessment
This issue has not been assessed yet.