Skip to content

Commit 58d2dc1

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Phinx/Db/Adapter/SqlServerAdapterTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,9 +685,11 @@ public function testChangeColumnDefaultStringBoolean(): void
685685
{
686686
$table = new Table('t', [], $this->adapter);
687687
$table->addColumn('column1', 'boolean', ['default' => 'true'])
688+
->addColumn('column2', 'string')
688689
->save();
689690
$columns = $this->adapter->getColumns('t');
690691
var_dump($columns);
692+
$table->insert(['column2' => 'check default true'])->save();
691693
$this->assertSame(true, $columns['column1']->getDefault());
692694
$newColumn1 = new Column();
693695
$newColumn1

0 commit comments

Comments
 (0)