fix(migration 012): bump physics-8 to sort_order=5 so algebra-8-ch2 sits next to ch1

This commit is contained in:
Maxim Dolgolyov
2026-05-27 15:11:25 +03:00
parent c2f66b1e97
commit 26510ff712
@@ -1,5 +1,9 @@
-- Register Algebra 8 — Chapter 2 «Квадратные уравнения» as a separate textbook entry.
-- Chapter 1 already exists with slug 'algebra-8'. This is a continuation file.
-- Bump physics-8 to sort_order=5 so Algebra 8 Ch2 sits adjacent to Algebra 8 Ch1.
UPDATE textbooks SET sort_order = 5 WHERE slug = 'physics-8';
INSERT OR IGNORE INTO textbooks (slug, subject, grade, title, author, description, html_path, para_count, color, sort_order) VALUES
('algebra-8-ch2', 'math', 8, 'Алгебра — 8 класс · Глава 2', '',
'Интерактивный учебник: глава 2 «Квадратные уравнения». §§ 7–12 + Финал. 30+ интерактивов: конструкторы уравнений, дискриминант, теорема Виета, разложение, текстовые задачи, биквадратные. 7 боссов-проверок.',