-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conversion to PHP data types is done in drivers to fix Doctrine incom…
…patiblity [closes #14]
- Loading branch information
Showing
7 changed files
with
67 additions
and
12 deletions.
There are no files selected for viewing
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
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
17 changes: 17 additions & 0 deletions
17
tests/cases/integration/Runner.FirstRun.init.mysql.doctrine.txt
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,17 @@ | ||
CREATE TABLE IF NOT EXISTS `m` ( | ||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
`group` varchar(100) NOT NULL, | ||
`file` varchar(100) NOT NULL, | ||
`checksum` char(32) NOT NULL, | ||
`executed` datetime NOT NULL, | ||
`ready` tinyint(1) NOT NULL DEFAULT 0, | ||
PRIMARY KEY (`id`), | ||
UNIQUE KEY `type_file` (`group`, `file`) | ||
) ENGINE=InnoDB; | ||
|
||
INSERT INTO `m` (`group`, `file`, `checksum`, `executed`, `ready`) VALUES ('structures', '001.sql', '%h%', '%a%', '1'); | ||
INSERT INTO `m` (`group`, `file`, `checksum`, `executed`, `ready`) VALUES ('structures', '002.sql', '%h%', '%a%', '1'); | ||
INSERT INTO `m` (`group`, `file`, `checksum`, `executed`, `ready`) VALUES ('basic-data', '003.sql', '%h%', '%a%', '1'); | ||
INSERT INTO `m` (`group`, `file`, `checksum`, `executed`, `ready`) VALUES ('dummy-data', '004.sql', '%h%', '%a%', '1'); | ||
INSERT INTO `m` (`group`, `file`, `checksum`, `executed`, `ready`) VALUES ('structures', '005.sql', '%h%', '%a%', '1'); | ||
|
16 changes: 16 additions & 0 deletions
16
tests/cases/integration/Runner.FirstRun.init.pgsql.doctrine.txt
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 @@ | ||
CREATE TABLE IF NOT EXISTS "%a%"."m" ( | ||
"id" serial4 NOT NULL, | ||
"group" varchar(100) NOT NULL, | ||
"file" varchar(100) NOT NULL, | ||
"checksum" char(32) NOT NULL, | ||
"executed" timestamp NOT NULL, | ||
"ready" boolean NOT NULL DEFAULT FALSE, | ||
PRIMARY KEY ("id"), | ||
CONSTRAINT "type_file" UNIQUE ("group", "file") | ||
) WITH (OIDS=FALSE); | ||
|
||
INSERT INTO "%a%"."m" ("group", "file", "checksum", "executed", "ready") VALUES ('structures', '001.sql', '%h%', '%a%', '1'); | ||
INSERT INTO "%a%"."m" ("group", "file", "checksum", "executed", "ready") VALUES ('structures', '002.sql', '%h%', '%a%', '1'); | ||
INSERT INTO "%a%"."m" ("group", "file", "checksum", "executed", "ready") VALUES ('basic-data', '003.sql', '%h%', '%a%', '1'); | ||
INSERT INTO "%a%"."m" ("group", "file", "checksum", "executed", "ready") VALUES ('dummy-data', '004.sql', '%h%', '%a%', '1'); | ||
INSERT INTO "%a%"."m" ("group", "file", "checksum", "executed", "ready") VALUES ('structures', '005.sql', '%h%', '%a%', '1'); |
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
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
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