id(); $table->foreignId('user_id')->constrained(); $table->string('title'); $table->string('slug'); $table->string('content'); $table->boolean('is_published')->default(false); $table->timestamp('published_at')->nullable(); $table->timestamp('scheduled_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('posts'); } };