id(); $table->string('slug', 191)->unique(); $table->string('title', 255); $table->mediumText('body'); $table->string('layout', 50)->default('default'); // default | legal | help $table->string('meta_title', 255)->nullable(); $table->text('meta_description')->nullable(); $table->boolean('is_published')->default(false); $table->timestamp('published_at')->nullable(); $table->timestamps(); $table->softDeletes(); $table->index(['is_published', 'published_at']); }); } public function down(): void { Schema::dropIfExists('pages'); } };