drizzle-team / drizzle-team/drizzle-orm

sqlite push should be in transaction

Open
#3,437 0 comments 1 reaction 0 assignees View on GitHub
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 the sql commands executed by push:sqlite aren't inside a transaction.

I'd expect them to be in a transaction, so that if I encounter an error part way through my database isn't left in a weird state and is instead rolled back to where it was prior to the push

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.