id(); $table->string('name'); $table->string('slug'); $table->timestamps(); }); Schema::table('zoomyboy_event_participants', function (Blueprint $table) { $table->foreignId('event_id')->constrained('zoomyboy_event_events'); }); } public function down() { Schema::dropIfExists('zoomyboy_event_events'); Schema::create('zoomyboy_event_participants', function (Blueprint $table) { $table->dropColumn('event_id'); }); } }