Skip to content

Commit 2918927

Browse files
authored
Reword to avoid ambiguity [ci-skip]
As written, it wasn't clear if each migration was run in its own transaction, or all migrations are run in a single transaction.
1 parent 3c08d35 commit 2918927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_record_migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ exist. Active Record knows how to reverse this migration as well: if we roll
5959
this migration back, it will remove the table.
6060

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

0 commit comments

Comments
 (0)