id(); $table->foreignId('property_id')->nullable()->constrained()->nullOnDelete(); $table->string('category'); $table->string('alt_text'); $table->string('caption')->nullable(); $table->boolean('is_published')->default(true); $table->unsignedSmallInteger('sort_order')->default(0); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('photos'); } };