foreignId('feed_id')->constrained()->onDelete('cascade'); $table->foreignId('platform_channel_id')->constrained()->onDelete('cascade'); $table->boolean('is_active')->default(true); $table->integer('priority')->default(0); // for ordering/priority $table->json('filters')->nullable(); // keyword filters, content filters, etc. $table->timestamps(); $table->primary(['feed_id', 'platform_channel_id']); }); } public function down(): void { Schema::dropIfExists('routes'); } };