id(); $table->string('reference')->nullable(); $table->string('designation'); $table->text('description')->nullable(); $table->foreignId('categorie_id')->nullable()->constrained('categories')->nullOnDelete(); $table->foreignId('fournisseur_id')->nullable()->constrained('fournisseurs')->nullOnDelete(); $table->decimal('prix_unitaire_ht', 10, 2)->nullable(); $table->string('unite', 30)->default('unité'); $table->boolean('active')->default(true); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('articles'); } };