id(); $table->foreignId('owner_id')->constrained('owners')->onDelete('cascade'); $table->string('building_name'); $table->text('address'); $table->string('city'); $table->string('status')->default('vacant'); $table->timestamps(); $table->foreignId('created_by')->nullable()->constrained('users'); $table->foreignId('updated_by')->nullable()->constrained('users'); $table->softDeletes(); }); } public function down(): void { Schema::dropIfExists('buildings'); } };