Skip to content

Commit

Permalink
fix exception and docblock for compileDropFullText (#41064)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbakan authored Feb 16, 2022
1 parent e765afc commit 7ba34a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Illuminate/Database/Schema/Grammars/Grammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,12 @@ public function compileFulltext(Blueprint $blueprint, Fluent $command)
* @param \Illuminate\Database\Schema\Blueprint $blueprint
* @param \Illuminate\Support\Fluent $command
* @return string
*
* @throws \RuntimeException
*/
public function compileDropFullText(Blueprint $blueprint, Fluent $command)
{
throw new RuntimeException('This database driver does not support fulltext index creation.');
throw new RuntimeException('This database driver does not support fulltext index removal.');
}

/**
Expand Down

0 comments on commit 7ba34a8

Please sign in to comment.