id(); $table->foreignId('tenant_id')->constrained()->cascadeOnDelete(); $table->foreignId('project_id')->nullable()->constrained()->nullOnDelete(); $table->string('name'); $table->string('location')->nullable(); $table->boolean('is_active')->default(true); $table->timestamps(); $table->index('tenant_id'); $table->index('project_id'); }); } public function down(): void { Schema::dropIfExists('warehouses'); } };