Files
Aut.ManagementFaculty/db/migrations/009_taxonomy_label_spacing.sql
T
smhk1376andCursor 2b0db26a93
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Ship site UI checklist, move admin to /mstcontroller, and add safe taxonomy label migration.
Production already has migrations through 008; 009 only updates four seed labels by id. Faculty sync remains upsert-by-email/name and does not wipe curated data.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:26:21 +03:30

19 lines
584 B
SQL

-- Normalize taxonomy labels (remove ZWNJ) without re-running 007.
-- Safe to re-run: updates by stable primary key only.
UPDATE course_categories
SET label = 'هم اندیشی مدیریتی', updated_at = now()
WHERE id = 'cat-leadership';
UPDATE course_tags
SET label = 'کارگاه ها', updated_at = now()
WHERE id = 'tag-workshops';
UPDATE course_tags
SET label = 'دوره های سازمانی', updated_at = now()
WHERE id = 'tag-corporate';
UPDATE course_tags
SET label = 'گزیده دوره های برگزار شده', updated_at = now()
WHERE id = 'tag-archive';