Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit 8bab5fb

Browse files
author
Ilya Gurov
authored
Update README.rst (#233)
Closes #230
1 parent c6f631c commit 8bab5fb

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,14 @@ primary key:
158158
)
159159
160160
As Spanner restricts changing a primary key value, not setting the flag
161-
to ``False`` can cause migration problems.
161+
to ``False`` can cause migration problems.
162+
163+
Also notice that DDL statements in Spanner are not transactional and will not be automatically reverted in case of a migration fail.
162164

163165
| **Warning!**
164166
| A migration script can produce a lot of DDL statements. If each of the
165-
statements are executed separately, performance issues can occur. To
166-
avoid these, it's highly recommended to use the `Alembic batch
167+
statements is executed separately, performance issues can occur. To
168+
avoid it, it's highly recommended to use the `Alembic batch
167169
context <https://alembic.sqlalchemy.org/en/latest/batch.html>`__
168170
feature to pack DDL statements into groups of statements.
169171

0 commit comments

Comments
 (0)