summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2014-08-16 17:21:14 +0200
committerBaptiste Mispelon <bmispelon@gmail.com>2014-08-18 18:55:12 +0200
commit5853c87a458f62ebd62d7809168355610de2570c (patch)
treed9cb9cf43b1bb3da8e70667133f4da7b601a47f7 /docs/intro/tutorial01.txt
parentb6aa60f4252311ef8ef24b4ffd99984197be7ee6 (diff)
Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index b99adbb7f6..ca6042f618 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -480,6 +480,7 @@ readability):
.. code-block:: sql
+ BEGIN;
CREATE TABLE polls_question (
"id" serial NOT NULL PRIMARY KEY,
"question_text" varchar(200) NOT NULL,
@@ -500,6 +501,7 @@ readability):
FOREIGN KEY ("question_id")
REFERENCES "polls_question" ("id")
DEFERRABLE INITIALLY DEFERRED;
+ COMMIT;
Note the following: