bigIncrements('id'); $table->unsignedBigInteger('product_id'); $table->integer('min_quantity'); $table->integer('max_quantity'); $table->decimal('price', 10, 2); $table->timestamps(); $table->foreign('product_id')->references('id')->on('products')->onDelete('cascade'); $table->index(['product_id', 'min_quantity', 'max_quantity'], 'idx_product_id_quantity'); }); } public function down(): void { Schema::dropIfExists('product_pricing_tiers'); } }