We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf3c9c commit 58d2dc1Copy full SHA for 58d2dc1
tests/Phinx/Db/Adapter/SqlServerAdapterTest.php
@@ -685,9 +685,11 @@ public function testChangeColumnDefaultStringBoolean(): void
685
{
686
$table = new Table('t', [], $this->adapter);
687
$table->addColumn('column1', 'boolean', ['default' => 'true'])
688
+ ->addColumn('column2', 'string')
689
->save();
690
$columns = $this->adapter->getColumns('t');
691
var_dump($columns);
692
+ $table->insert(['column2' => 'check default true'])->save();
693
$this->assertSame(true, $columns['column1']->getDefault());
694
$newColumn1 = new Column();
695
$newColumn1
0 commit comments