Commit

58c45f4

Wrapping a migration that adds an index on a 20M-row Postgres table inside a default transaction block will lock writes across the table until the index finishes building. Disabling the migration transaction and running CREATE INDEX CONCURRENTLY lets production traffic keep writing without a blip.

commit 58c45f4