Query for adding fulltext index in Laravel

ALTER TABLE TableName ADD FULLTEXT INDEX IndexName (ColumnName);

This Is query for fulltext index adding in mysql.

But , I Want laravel query for adding fulltext index.

thanks in advance......


This should do it: DB::statement

DB::statement('ALTER TABLE TableName ADD FULLTEXT INDEX IndexName (ColumnName)');

Need Your Help

F# interactive and performance profilers

f# profiler f#-interactive

F# Interactive (and in general REPL-style tools) is an ideal entrance to performance profiling. What could be easier than to select a code block and send it right to a profiler that would come back...

Array and sizeof troubles compiling errors C++

c++ arrays compilation compiler-errors sizeof

I'm writing an array-based code that is throwing me some confusing errors after failing to compile. I have searched the internet for sample code that I understand more or less but it is helpful for...