Yimaru-BackEnd/db/migrations
Yared Yemane 868e5ba001 Apply Yimaru Academy branding to email template seeds
Adds branded HTML layout matching the admin portal purple palette, updates 000066 seeds, and adds 000067 migration to refresh existing template rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 02:12:45 -07:00
..
000001_yimaru.down.sql course management service 2025-12-30 07:00:02 -08:00
000001_yimaru.up.sql profile picture, birthday format and refresh token expiry fixes 2026-01-28 09:24:31 -08:00
000002_courses.down.sql course management service 2025-12-30 07:00:02 -08:00
000002_courses.up.sql course management service 2025-12-30 07:00:02 -08:00
000003_simplify_courses.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000003_simplify_courses.up.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000004_add_course_thumbnail.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000004_add_course_thumbnail.up.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000005_add_status_field.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000005_add_status_field.up.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000006_unified_questions.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000006_unified_questions.up.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000007_personas_and_practice_enhancements.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000007_personas_and_practice_enhancements.up.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000008_subscriptions.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000008_subscriptions.up.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000009_payments.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000009_payments.up.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000010_vimeo_video_hosting.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000010_vimeo_video_hosting.up.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000011_team_management.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000011_team_management.up.sql team management + minor fixes 2026-02-06 10:47:42 -08:00
000012_profile_completion.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000012_profile_completion.up.sql profile completion percentage inconsistency fix 2026-03-04 09:11:53 -08:00
000013_devices_constraints.down.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000013_devices_constraints.up.sql vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
000014_activity_logs.down.sql cloud convert integration + more advanced activity log + issue reporting + video file management fixes 2026-02-11 06:54:05 -08:00
000014_activity_logs.up.sql cloud convert integration + more advanced activity log + issue reporting + video file management fixes 2026-02-11 06:54:05 -08:00
000015_notification_types.down.sql inapp notification fix 2026-02-13 06:59:14 -08:00
000015_notification_types.up.sql inapp notification fix 2026-02-13 06:59:14 -08:00
000016_notifications_receiver_type.down.sql analytics service + inapp notification websocket fix 2026-02-16 08:36:46 -08:00
000016_notifications_receiver_type.up.sql analytics service + inapp notification websocket fix 2026-02-16 08:36:46 -08:00
000017_ratings.down.sql added cloudconvert for thumbnails + added ratings service 2026-02-18 02:56:08 -08:00
000017_ratings.up.sql added cloudconvert for thumbnails + added ratings service 2026-02-18 02:56:08 -08:00
000018_course_intro_video.down.sql bulk notification fix + custom role and permission feature implementation + activity log and user list filters 2026-03-04 09:10:28 -08:00
000018_course_intro_video.up.sql bulk notification fix + custom role and permission feature implementation + activity log and user list filters 2026-03-04 09:10:28 -08:00
000019_sub_course_progression.down.sql bulk notification fix + custom role and permission feature implementation + activity log and user list filters 2026-03-04 09:10:28 -08:00
000019_sub_course_progression.up.sql bulk notification fix + custom role and permission feature implementation + activity log and user list filters 2026-03-04 09:10:28 -08:00
000020_scheduled_notifications.down.sql bulk notification fix + custom role and permission feature implementation + activity log and user list filters 2026-03-04 09:10:28 -08:00
000020_scheduled_notifications.up.sql bulk notification fix + custom role and permission feature implementation + activity log and user list filters 2026-03-04 09:10:28 -08:00
000021_rbac.down.sql bulk notification fix + custom role and permission feature implementation + activity log and user list filters 2026-03-04 09:10:28 -08:00
000021_rbac.up.sql bulk notification fix + custom role and permission feature implementation + activity log and user list filters 2026-03-04 09:10:28 -08:00
000022_audio_questions.down.sql customer RBAC 2026-03-05 07:58:48 -08:00
000022_audio_questions.up.sql customer RBAC 2026-03-05 07:58:48 -08:00
000023_reorder_support.down.sql learning flow fixes 2026-03-07 08:18:13 -08:00
000023_reorder_support.up.sql learning flow fixes 2026-03-07 08:18:13 -08:00
000024_subcourse_entry_assessment_and_sub_levels.down.sql learning flow + level + sublevel 2026-03-08 05:35:17 -07:00
000024_subcourse_entry_assessment_and_sub_levels.up.sql learning flow + level + sublevel 2026-03-08 05:35:17 -07:00
000025_video_sequence_progress.down.sql learning flow + level + sublevel 2026-03-08 05:35:17 -07:00
000025_video_sequence_progress.up.sql learning flow + level + sublevel 2026-03-08 05:35:17 -07:00
000026_practice_sequence_progress.down.sql learning flow + level + sublevel 2026-03-08 05:35:17 -07:00
000026_practice_sequence_progress.up.sql learning flow + level + sublevel 2026-03-08 05:35:17 -07:00
000027_two_phase_account_deletion.down.sql account deletion API 2026-03-11 06:26:30 -07:00
000027_two_phase_account_deletion.up.sql account deletion API 2026-03-11 06:26:30 -07:00
000028_user_audio_responses.down.sql MinIO integration + speaking implementation adjustment 2026-03-12 07:06:16 -07:00
000028_user_audio_responses.up.sql MinIO integration + speaking implementation adjustment 2026-03-12 07:06:16 -07:00
000029_question_sets_intro_video_url.down.sql seed data clearer API 2026-03-29 01:31:43 -07:00
000029_question_sets_intro_video_url.up.sql seed data clearer API 2026-03-29 01:31:43 -07:00
000030_unified_hierarchy.down.sql new course management hierarchy 2026-04-10 03:06:30 -07:00
000030_unified_hierarchy.up.sql new course management hierarchy 2026-04-10 03:06:30 -07:00
000031_rename_sub_module_practices_to_lessons.down.sql separate lessons schema from practices in hierarchy 2026-04-14 07:13:50 -07:00
000031_rename_sub_module_practices_to_lessons.up.sql separate lessons schema from practices in hierarchy 2026-04-14 07:13:50 -07:00
000032_add_sub_module_practices.down.sql new course management hierarchy 2026-04-10 03:06:30 -07:00
000032_add_sub_module_practices.up.sql separate lessons schema from practices in hierarchy 2026-04-14 07:13:50 -07:00
000033_sub_module_lessons_teaching_content.down.sql added more structure to lessons 2026-04-17 08:27:40 -07:00
000033_sub_module_lessons_teaching_content.up.sql added more structure to lessons 2026-04-17 08:27:40 -07:00
000034_levels_title_description_thumbnail.down.sql added more structure to levels 2026-04-17 08:33:58 -07:00
000034_levels_title_description_thumbnail.up.sql added more structure to levels 2026-04-17 08:33:58 -07:00
000035_sub_module_capstones.down.sql added more structure to submodules 2026-04-17 09:07:25 -07:00
000035_sub_module_capstones.up.sql added more structure to submodules 2026-04-17 09:07:25 -07:00
000036_module_icon_and_module_capstones.down.sql added more structure to submodules 2026-04-17 09:07:25 -07:00
000036_module_icon_and_module_capstones.up.sql added more structure to submodules 2026-04-17 09:07:25 -07:00
000037_sub_modules_thumbnail_tips.down.sql added more structure to submodules 2026-04-17 09:07:25 -07:00
000037_sub_modules_thumbnail_tips.up.sql added more structure to submodules 2026-04-17 09:07:25 -07:00
000038_levels_flexible_cefr_level.down.sql feat(levels): flexible cefr_level codes up to 64 chars 2026-04-17 09:24:34 -07:00
000038_levels_flexible_cefr_level.up.sql feat(levels): flexible cefr_level codes up to 64 chars 2026-04-17 09:24:34 -07:00
000039_team_refresh_tokens.down.sql refresh token fix 2026-04-17 10:16:25 -07:00
000039_team_refresh_tokens.up.sql refresh token fix 2026-04-17 10:16:25 -07:00
000040_sub_module_content_inactive_purge_tracking.down.sql feat: practice detail API, inactive purge tracking, and related plumbing 2026-04-20 08:24:59 -07:00
000040_sub_module_content_inactive_purge_tracking.up.sql feat: practice detail API, inactive purge tracking, and related plumbing 2026-04-20 08:24:59 -07:00
000041_remove_course_management_schema.down.sql added program 2026-04-23 00:59:01 -07:00
000041_remove_course_management_schema.up.sql added program 2026-04-23 00:59:01 -07:00
000042_programs.down.sql added program 2026-04-23 00:59:01 -07:00
000042_programs.up.sql added program 2026-04-23 00:59:01 -07:00
000043_seed_default_programs.down.sql module+lesson+practice implementations 2026-04-23 01:59:20 -07:00
000043_seed_default_programs.up.sql module+lesson+practice implementations 2026-04-23 01:59:20 -07:00
000044_lms_courses.down.sql module+lesson+practice implementations 2026-04-23 01:59:20 -07:00
000044_lms_courses.up.sql module+lesson+practice implementations 2026-04-23 01:59:20 -07:00
000045_lms_modules.down.sql module+lesson+practice implementations 2026-04-23 01:59:20 -07:00
000045_lms_modules.up.sql module+lesson+practice implementations 2026-04-23 01:59:20 -07:00
000046_lms_lessons.down.sql module+lesson+practice implementations 2026-04-23 01:59:20 -07:00
000046_lms_lessons.up.sql module+lesson+practice implementations 2026-04-23 01:59:20 -07:00
000047_lms_practices.down.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000047_lms_practices.up.sql module+lesson+practice implementations 2026-04-23 01:59:20 -07:00
000048_seed_default_courses.down.sql static data for Courses 2026-04-23 02:07:32 -07:00
000048_seed_default_courses.up.sql fix: map default CEFR courses to Beginner/Intermediate/Advanced programs 2026-04-24 01:14:50 -07:00
000049_lms_sequential_learning.down.sql learning progress implementation 2026-04-23 03:58:27 -07:00
000049_lms_sequential_learning.up.sql learning progress implementation 2026-04-23 03:58:27 -07:00
000050_default_courses_per_program.down.sql fix: map default CEFR courses to Beginner/Intermediate/Advanced programs 2026-04-24 01:14:50 -07:00
000050_default_courses_per_program.up.sql fix: map default CEFR courses to Beginner/Intermediate/Advanced programs 2026-04-24 01:14:50 -07:00
000051_exam_prep_schema.down.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000051_exam_prep_schema.up.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000052_exam_prep_units.down.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000052_exam_prep_units.up.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000053_exam_prep_unit_modules.down.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000053_exam_prep_unit_modules.up.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000054_exam_prep_unit_module_lessons.down.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000054_exam_prep_unit_module_lessons.up.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000055_exam_prep_lesson_practices.down.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000055_exam_prep_lesson_practices.up.sql subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
000056_dynamic_question_type_definitions.down.sql partly implemented dynamic question builder + payment routes fix 2026-05-07 08:10:21 -07:00
000056_dynamic_question_type_definitions.up.sql partly implemented dynamic question builder + payment routes fix 2026-05-07 08:10:21 -07:00
000057_questions_dynamic_type_link.down.sql partly implemented dynamic question builder + payment routes fix 2026-05-07 08:10:21 -07:00
000057_questions_dynamic_type_link.up.sql partly implemented dynamic question builder + payment routes fix 2026-05-07 08:10:21 -07:00
000058_dynamic_question_builder_runtime.down.sql dynamic question type builder completion 2026-05-08 10:12:02 -07:00
000058_dynamic_question_builder_runtime.up.sql dynamic question type builder completion 2026-05-08 10:12:02 -07:00
000059_faqs.down.sql Add full FAQ management APIs and integration assets. 2026-05-11 07:58:17 -07:00
000059_faqs.up.sql Add full FAQ management APIs and integration assets. 2026-05-11 07:58:17 -07:00
000060_practice_publish_status.down.sql Add draft vs published status for LMS and exam-prep practices. 2026-05-19 03:57:43 -07:00
000060_practice_publish_status.up.sql Add draft vs published status for LMS and exam-prep practices. 2026-05-19 03:57:43 -07:00
000061_open_learner_role.down.sql Add OPEN_LEARNER role without LMS sequential gating. 2026-05-19 10:26:25 -07:00
000061_open_learner_role.up.sql Add OPEN_LEARNER role without LMS sequential gating. 2026-05-19 10:26:25 -07:00
000062_lesson_publish_status.down.sql Add LMS lesson draft and publish visibility. 2026-05-20 02:16:42 -07:00
000062_lesson_publish_status.up.sql Add LMS lesson draft and publish visibility. 2026-05-20 02:16:42 -07:00
000063_lms_personas.down.sql Seed default LMS personas in migration 063. 2026-05-20 06:11:09 -07:00
000063_lms_personas.up.sql Seed default LMS personas in migration 063. 2026-05-20 06:11:09 -07:00
000064_lms_personas_profile_picture.down.sql Rename LMS persona image field to profile_picture. 2026-05-20 06:17:15 -07:00
000064_lms_personas_profile_picture.up.sql Rename LMS persona image field to profile_picture. 2026-05-20 06:17:15 -07:00
000065_lms_personas_gender.down.sql Add optional gender to LMS personas. 2026-05-20 06:37:21 -07:00
000065_lms_personas_gender.up.sql Add optional gender to LMS personas. 2026-05-20 06:37:21 -07:00
000066_email_templates.down.sql Add admin-managed email templates and use them for OTP delivery 2026-05-22 01:28:48 -07:00
000066_email_templates.up.sql Apply Yimaru Academy branding to email template seeds 2026-05-22 02:12:45 -07:00
000067_branded_email_template_seeds.down.sql Apply Yimaru Academy branding to email template seeds 2026-05-22 02:12:45 -07:00
000067_branded_email_template_seeds.up.sql Apply Yimaru Academy branding to email template seeds 2026-05-22 02:12:45 -07:00