3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
7 return new class extends Migration
16 Schema::table('chat_logs', function (Blueprint $table) {
17 $table->string('classification')->default('unclassified');
18 $table->index(['classification']);
23 * Reverse the migrations.
27 public function down()
29 Schema::table('chat_logs', function (Blueprint $table) {
30 $table->dropColumn('classification');