Scale AI-bot promo price proportionally to new base price

Бот + ИИ-ассистент promotion kept its original ratio to the base price
(45 000/55 000 = 81.8%) but applied to the new base of 160 000 ₽
(raised in the previous commit): 131 000 ₽ promo, 160 000 ₽ crossed-out.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013otXCiTZsxdZ4SJKZ9wUky
This commit is contained in:
ogrechkoandClaude Sonnet 5 committed 2026-08-26 08:11:50 +03:00
1 parent cc127f5077
commit 7375b04c6f
1 file changed
+13
@@ -0,0 +1,13 @@
-- Акция "Бот + ИИ-ассистент" пересчитана пропорционально новой базовой цене
-- "Бот / ИИ-ассистент" (160 000 ₽, см. 012_reprice_ai_automation.sql).
-- Сохранено исходное соотношение акция/база: 45 000 / 55 000 = 81.8%.
-- 160 000 * 0.818 = 130 909 -> округлено до 131 000.
-- UPDATE безопасен к повторному запуску.
BEGIN;
UPDATE promotions
SET price_text = '131 000 ₽',
old_price_text = 'от 160 000 ₽'
WHERE title = 'Бот + ИИ-ассистент';
COMMIT;