id(); $table->foreignId('order_id')->constrained()->cascadeOnDelete(); $table->string('file_path'); $table->string('file_name'); $table->string('file_type'); // 'quote' (devis), 'delivery_note' (bon de livraison), 'invoice' (facture) $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('attachments'); } };