Skip to content

Commit

Permalink
Reword to avoid ambiguity [ci-skip]
Browse files Browse the repository at this point in the history
As written, it wasn't clear if each migration was run in its own transaction, or all migrations are run in a single transaction.
  • Loading branch information
pwim committed Apr 24, 2023
1 parent 3c08d35 commit 2918927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/active_record_migrations.md
Expand Up @@ -59,7 +59,7 @@ exist. Active Record knows how to reverse this migration as well: if we roll
this migration back, it will remove the table.

On databases that support transactions with statements that change the schema,
migrations are wrapped in a transaction. If the database does not support this
each migration is wrapped in a transaction. If the database does not support this
then when a migration fails the parts of it that succeeded will not be rolled
back. You will have to rollback the changes that were made by hand.

Expand Down

0 comments on commit 2918927

Please sign in to comment.