How to run non-transactional migrations #1268
Unanswered
tozny-migal
asked this question in
Q&A
Replies: 1 comment
-
|
I don't see the part in Migrate that automatically enables transactions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, thank you for your time!
I'm trying to move from go-pg and go-pg-migrations to bun. A subset of my migrations need to create indexes concurrently, which means I need to run it outside of a transaction. In go-pg-migrations, I could achieve this by running the following:
Does anyone know how I can achieve something similar within bun's framework, or will I need to just run this manually?
Beta Was this translation helpful? Give feedback.
All reactions