id(); $table->string('item_code')->unique(); $table->string('item_name'); $table->enum('category', ['raw_material', 'wip', 'finished_good']); $table->string('unit_of_measure'); $table->decimal('minimum_stock_level', 12, 2)->default(0); $table->decimal('cost_price', 12, 2)->default(0); $table->text('description')->nullable(); $table->boolean('is_active')->default(true); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('items'); } };