Skip to content

Commit

Permalink
minor change to schema grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfox committed Oct 5, 2022
1 parent 90ea5b3 commit c4a0838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema/CockroachGrammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function compileDropFullText(Blueprint $blueprint, Fluent $command)
*/
public function compileDropUnique(Blueprint $blueprint, Fluent $command)
{
$index = $this->wrap($command->index);
$index = $this->wrap($command->get('index'));

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

0 comments on commit c4a0838

Please sign in to comment.