Skip to content

Commit c4a0838

Browse files
committed
minor change to schema grammar
1 parent 90ea5b3 commit c4a0838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schema/CockroachGrammar.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function compileDropFullText(Blueprint $blueprint, Fluent $command)
4747
*/
4848
public function compileDropUnique(Blueprint $blueprint, Fluent $command)
4949
{
50-
$index = $this->wrap($command->index);
50+
$index = $this->wrap($command->get('index'));
5151

5252
return "drop index {$this->wrapTable($blueprint)}@{$index} cascade";
5353
}

0 commit comments

Comments
 (0)