Files
Aut.ManagementFaculty/db/migrations/010_course_rich_html.sql
T
smhk1376andCursor bd2cfa5a26
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Add rich HTML course lead/body and refresh AI course media from delivery v2.
Course detail pages can show sanitized HTML ad copy under the hero and a structured body; posters and brochures are updated for both AI workshops.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-20 00:54:30 +03:30

5 lines
223 B
SQL

-- Rich HTML fields for course detail: ad lead under hero title + main body.
ALTER TABLE courses
ADD COLUMN IF NOT EXISTS lead_html TEXT NOT NULL DEFAULT '',
ADD COLUMN IF NOT EXISTS body_html TEXT NOT NULL DEFAULT '';