From 094f6d0930c3650da1704bfb191039c3aa13b3b2 Mon Sep 17 00:00:00 2001 From: Ilya Gurov Date: Thu, 18 Aug 2022 01:39:10 -0700 Subject: [PATCH] Update README.rst Closes #230 --- README.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index b4550cd2..1a0707a7 100644 --- a/README.rst +++ b/README.rst @@ -158,12 +158,14 @@ primary key: ) As Spanner restricts changing a primary key value, not setting the flag -to ``False`` can cause migration problems. +to ``False`` can cause migration problems. + +Also notice that DDL statements in Spanner are not transactional and will not be automatically reverted in case of a migration fail. | **Warning!** | A migration script can produce a lot of DDL statements. If each of the - statements are executed separately, performance issues can occur. To - avoid these, it's highly recommended to use the `Alembic batch + statements is executed separately, performance issues can occur. To + avoid it, it's highly recommended to use the `Alembic batch context `__ feature to pack DDL statements into groups of statements.