uptrace / bun

SQL-first Golang ORM
https://bun.uptrace.dev
BSD 2-Clause "Simplified" License
3.47k stars 210 forks source link

no transactional migrations support #924

Open user3160 opened 8 months ago

user3160 commented 8 months ago

It seems there is no transactional migrations support like we had in go-pg with MustRegisterTx().

Even if I create my own transaction inside migration, when it gets rolled back, the metadata in DB table bun_migrations is still stored as if the migration was sucessfull.