Critical fix for production deployment issue where code changes were deployed without corresponding database schema updates. Changes: - Add Price column to ProductVariants table (decimal 18,2, nullable) - Add ProductVariantId column to OrderItems table (TEXT, nullable) - Add index on OrderItems.ProductVariantId for query performance This migration was manually applied to production on 2025-10-04 to resolve "no such column: p2.Price" errors that broke the product catalog API. Future deployments must include database migration steps in CI/CD. 🤖 Generated with Claude Code https://claude.com/claude-code Co-Authored-By: Claude <noreply@anthropic.com>
767 B
767 B