-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test for backing out reserved issue with tx/no-tx (#133)
- Loading branch information
Showing
3 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
.../migrations-intentionally-broken-no-tx/20120827170200-multiple-statements-broken.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- :disable-transaction | ||
DROP TABLE quux2; | ||
--;; | ||
DROP TABLE quux3; |
16 changes: 16 additions & 0 deletions
16
test/migrations-intentionally-broken-no-tx/20120827170200-multiple-statements-broken.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
-- :disable-transaction | ||
|
||
CREATE TABLE | ||
quux2 | ||
(id bigint, | ||
name varchar(255)); | ||
|
||
--;; | ||
THIS IS MOST DEFINITELY NOT VALID SQL; | ||
|
||
--;; | ||
|
||
CREATE TABLE | ||
quux3 | ||
(id bigint, | ||
name varchar(255)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters