uuid('id')->primary(); $table->foreignUuid('contract_id')->constrained('contracts')->cascadeOnDelete(); $table->foreignUuid('product_id')->constrained('products')->cascadeOnDelete(); $table->string('type'); $table->integer('apply_from_order')->default(0); $table->date('signing_date')->nullable(); $table->jsonb('custom_data')->nullable(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('appendices'); } };