πŸ§ͺ Import 7-OH Formula & Procedure β€” Clean Model

Imports clean real-world ingredients, both formulas (salt + freebase), and both procedures. One ingredient per real chemical β€” steps reference the same ingredient with a stepLabel for display.

⚠️ This will DELETE and replace the following Firestore data:
β€’ All documents in ingredients collection
β€’ Formulas: 7oh-salt-85-90 and 7oh-freebase-85-90
β€’ Procedures: 7oh-salt-synthesis and 7oh-freebase-synthesis
β€’ SKUs: MIT-Salt and MIT-Freebase in skus collection
Raw material lots, finished goods, and batch records are NOT affected.
ℹ️ Clean model: 11 real-world ingredients replace 22+ step-specific IDs. Each formula step uses the real ingredient ID plus a stepLabel field for display context (e.g. "Oxone β€” 1st Half", "Sod Bicarb β€” Quench 1"). Inventory deductions correctly aggregate all uses of the same ingredient across all steps.

🧬 11 Real-World Ingredients

πŸ“ Formula Steps Summary (Salt variant shown β€” Freebase has same steps, different Naβ‚‚CO₃ qty)

#IngredientStep LabelBaseFactor / FixedUnitPhase

πŸš€ Run Import

Step 1 deletes old data. Step 2 writes the clean model. Both run automatically when you click the button below.