Skip to content

Commit

Permalink
add is_self_paced to MicroMaster courserun import script
Browse files Browse the repository at this point in the history
  • Loading branch information
rachellougee committed Sep 6, 2022
1 parent 6c364bf commit 641c550
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ INSERT INTO public.courses_courserun(
live,
created_on,
updated_on,
course_id)
course_id,
is_self_paced)
SELECT
mm_courserun.title,
mm_courserun.edx_course_key,
Expand All @@ -26,7 +27,8 @@ SELECT
true, --live
coalesce(mm_courserun.enrollment_start, now()),
coalesce(mm_courserun.enrollment_end, now()),
pk_map.course_id
pk_map.course_id,
false -- self_paced
FROM micromasters.courses_courserun AS mm_courserun
JOIN public.micromasters_import_courseid AS pk_map
ON mm_courserun.course_id = pk_map.micromasters_id
Expand Down

0 comments on commit 641c550

Please sign in to comment.