File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
src/Codeception/Lib/Driver Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4141 --health-timeout 5s
4242 --health-retries 5
4343 postgres :
44- image : postgres
44+ image : postgres:16.4
4545 env :
4646 POSTGRES_PASSWORD : postgres
4747 POSTGRES_DB : codeception_test
Original file line number Diff line number Diff line change 2222 "codeception/codeception" : " *@dev"
2323 },
2424 "require-dev" : {
25+ "behat/gherkin" : " ~4.10.0" ,
2526 "squizlabs/php_codesniffer" : " *"
2627 },
2728 "conflict" : {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ services:
3030 - " 3306:3306"
3131
3232 postgres :
33- image : postgres
33+ image : postgres:16.4
3434 environment :
3535 POSTGRES_PASSWORD : codeception
3636 POSTGRES_DB : codeception
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ public function getPrimaryKey(string $tableName): array
164164 FROM pg_index i
165165 JOIN pg_attribute a ON a.attrelid = i.indrelid
166166 AND a.attnum = ANY(i.indkey)
167- WHERE i.indrelid = ' \"{ $ tableName}\" ' ::regclass
167+ WHERE i.indrelid = " . $ this -> getQuotedName ( $ tableName) . " ::regclass
168168 AND i.indisprimary " ;
169169 $ stmt = $ this ->executeQuery ($ query , []);
170170 $ columns = $ stmt ->fetchAll (PDO ::FETCH_ASSOC );
You can’t perform that action at this time.
0 commit comments