3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
7 return new class extends Migration
12 public function up(): void
14 Schema::create('chat_bot_logs', function (Blueprint $table) {
17 $table->foreignId('channel_id')->constrained();
18 $table->foreignId('origin_id')->nullable()->default(null);
19 $table->string('origin_type')->nullable()->default(null);
25 * Reverse the migrations.
27 public function down(): void
29 Schema::dropIfExists('chat_bot_logs');