mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Rollback is used elsewhere in the tutorial
This commit is contained in:
parent
78f6672a43
commit
c8f8ecfd38
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ existing records (if necessary using your models).
|
||||||
On databases that support transactions with statements that change the schema
|
On databases that support transactions with statements that change the schema
|
||||||
(such as PostgreSQL or SQLite3), migrations are wrapped in a transaction. If the
|
(such as PostgreSQL or SQLite3), migrations are wrapped in a transaction. If the
|
||||||
database does not support this (for example MySQL) then when a migration fails
|
database does not support this (for example MySQL) then when a migration fails
|
||||||
the parts of it that succeeded will not be rolled back. You will have to unpick
|
the parts of it that succeeded will not be rolled back. You will have to rollback
|
||||||
the changes that were made by hand.
|
the changes that were made by hand.
|
||||||
|
|
||||||
h4. What's in a Name
|
h4. What's in a Name
|
||||||
|
|
Loading…
Reference in a new issue