N
Neon6mo ago
foreign-sapphire

Issues running migrations with transactions in Laravel

I was really excited to test out Neon and have built a sizable laravel application using Postgres. Unfortunately, I've run into a road block with Neon right out of the gate.
When running migrations it always fails... Strange, works with all the other postgres databases so far.
What I was able to find is migrations coud be run successfully by adding public $withinTransaction = false; to my migration file. I can't imagine why a migration wrapped in a transaction would fail. I'm curious if anyone else has run into this issue or could shed some light onto something? Perhaps I'm missing something? I would really like to take Neon for a drive and see if it fits into our plans for a production release.
1 Reply
foreign-sapphire
foreign-sapphireOP6mo ago
Nvm, I missed the bit about connection pooling.

Did you find this page helpful?