Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.

This commit is contained in:
Baptiste Mispelon 2014-08-16 17:21:14 +02:00
parent b6aa60f425
commit 5853c87a45
7 changed files with 38 additions and 2 deletions

View file

@ -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: