id(); $table->string('name')->unique(); // z.B. "Stadt Dresden" $table->string('description')->nullable(); $table->string('url')->nullable(); // URL zur Quelle $table->enum('status', ['active', 'inactive'])->default('active'); $table->timestamp('last_import_at')->nullable(); $table->timestamps(); $table->engine = 'InnoDB'; $table->charset = 'utf8mb4'; $table->collation = 'utf8mb4_unicode_ci'; // Index für schnelle Abfragen $table->index('status'); $table->index('created_at'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('sources'); } };