Skip to content

Commit f28933a

Browse files
committed
debug3
Signed-off-by: Matthew Peveler <[email protected]>
1 parent 58d2dc1 commit f28933a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Phinx/Db/Adapter/PdoAdapter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ public function bulkinsert(Table $table, array $rows): void
453453
$queries[] = '(' . implode(', ', $values) . ')';
454454
}
455455
$sql .= implode(',', $queries);
456+
var_dump($sql);
456457
$stmt = $this->getConnection()->prepare($sql);
457458

458459
$params = [];

tests/Phinx/Db/Adapter/SqlServerAdapterTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ public function testChangeColumnDefaultStringBoolean(): void
690690
$columns = $this->adapter->getColumns('t');
691691
var_dump($columns);
692692
$table->insert(['column2' => 'check default true'])->save();
693+
var_dump($this->adapter->fetchAll('SELECT * FROM t'));
693694
$this->assertSame(true, $columns['column1']->getDefault());
694695
$newColumn1 = new Column();
695696
$newColumn1

0 commit comments

Comments
 (0)