id(); $table->string('title'); $table->text('summary')->nullable(); $table->string('source'); $table->string('url')->unique(); $table->timestamp('published_at')->nullable(); $table->string('category')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('news'); } };