summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOlly Cope <olly@ollycope.com>2020-06-04 12:07:34 +0000
committerOlly Cope <olly@ollycope.com>2020-06-04 12:07:34 +0000
commita45c7be61cb29c9d36d4e253695e61a2321711ff (patch)
tree6def6dbe3e4a017302ac93368e6e63dd100931f1 /doc
parent2fd5ccd3f114411e86fc1e4d750daf779357b3c4 (diff)
downloadyoyo-a45c7be61cb29c9d36d4e253695e61a2321711ff.tar.gz
doc: fix inaccurate info about PostgreSQL DDL and transaction
https://github.com/marcosschroh/yoyo-database-migrations/issues/13
Diffstat (limited to 'doc')
-rw-r--r--doc/index.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/index.rst b/doc/index.rst
index f6bad2f..0813136 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -425,8 +425,7 @@ block. These include:
.. code:: sql
CREATE DATABASE ...
- CREATE TABLE <foo>
- ALTER TYPE <enum> ...
+ ALTER TYPE ... ADD VALUE
Using ``__transactional__ = False`` allows you to run these within a migration