id(); $table->string('name', 150); $table->string('domain', 255)->unique(); $table->string('type', 32)->default('media'); $table->string('trust_level', 32)->default('trusted_media'); $table->boolean('is_whitelisted')->default(true); $table->boolean('crawl_allowed')->default(false); $table->text('note')->nullable(); $table->timestamps(); $table->index(['is_whitelisted', 'trust_level']); }); } public function down(): void { Schema::dropIfExists('sources'); } };