id(); $table->foreignId('tenant_id')->constrained()->cascadeOnDelete(); $table->string('name'); $table->string('code')->nullable(); $table->string('unit', 30); $table->string('category')->nullable(); $table->decimal('min_stock', 15, 2)->default(0); $table->timestamps(); $table->index('tenant_id'); $table->index('code'); }); } public function down(): void { Schema::dropIfExists('items'); } };