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.
unique
1 parent 3ebde41 commit e42a057Copy full SHA for e42a057
tests/TdbmFluidColumnOptionsTest.php
@@ -26,8 +26,8 @@ public function testOptions()
26
$columnOptions->notNull();
27
$this->assertSame(true, $dbalColumn->getNotnull());
28
29
- $columnOptions->unique('unique_foo');
30
- $this->assertSame(true, $posts->getDbalTable()->getIndex('unique_foo')->isUnique());
+ $columnOptions->unique();
+ $this->assertSame(true, $dbalColumn->getCustomSchemaOption('unique'));
31
32
$columnOptions->comment('foo');
33
$this->assertSame('foo', $dbalColumn->getComment());
0 commit comments