Idempotent upsert keyed on pack_id; slot rates and card weights are wiped per pack and reinserted. String slot/tier in the seed translate to enum at import time. Tests: - Imports_config_slot_rates_and_card_weights - Is_idempotent_on_rerun Fixtures live under SVSim.Bootstrap/Data/test-fixtures/seeds/ and overlay the production seeds via the existing csproj rule (test-fixture file beats production file at same Link path). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
11 lines
660 B
JSON
11 lines
660 B
JSON
[
|
|
{ "pack_id": 10000, "slot": "general", "tier": "bronze", "rate_pct": 76.5 },
|
|
{ "pack_id": 10000, "slot": "general", "tier": "silver", "rate_pct": 16.0 },
|
|
{ "pack_id": 10000, "slot": "general", "tier": "gold", "rate_pct": 6.0 },
|
|
{ "pack_id": 10000, "slot": "general", "tier": "legendary", "rate_pct": 1.5 },
|
|
{ "pack_id": 10000, "slot": "eighth", "tier": "silver", "rate_pct": 92.5 },
|
|
{ "pack_id": 10000, "slot": "eighth", "tier": "gold", "rate_pct": 6.0 },
|
|
{ "pack_id": 10000, "slot": "eighth", "tier": "legendary", "rate_pct": 1.5 },
|
|
{ "pack_id": 98001, "slot": "bonus", "tier": "special", "rate_pct": 100.0 }
|
|
]
|