Skip to content

Commit

Permalink
Added course seeds for CZ115D, CZ116D, CZ117D, CZ118D, CZ119D, CZ120D…
Browse files Browse the repository at this point in the history
…, CZ121D
  • Loading branch information
A-Wheeto committed Dec 2, 2024
1 parent bffa5e8 commit 27575c6
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
15 changes: 15 additions & 0 deletions db/seeds/activities/mylearning.rb
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,18 @@
end.save!

########################################################################################################################

Activity.find_or_initialize_by(stem_course_template_no: "4bd30860-03ac-ef11-b8e8-6045bd0ddfc9").tap do |activity|
activity.title = "CQF support - Leadership and Vision"
activity.credit = 20
activity.slug = "cqf-support-leadership-and-vision"
activity.category = "online"
activity.self_certifiable = false
activity.provider = "stem-learning"
activity.stem_activity_code = "CZ115D"
activity.always_on = true

activity.programmes = [primary_certificate, secondary_certificate]
end.save!

########################################################################################################################
72 changes: 72 additions & 0 deletions db/seeds/activities/stem_learning.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2829,3 +2829,75 @@

activity.programmes = [cs_accelerator]
end.save!

Activity.find_or_initialize_by(stem_course_template_no: "bbef75fe-fdab-ef11-b8e8-6045bd0ddfc9").tap do |activity|
activity.title = "CQF support - Curriculum and Qualifications"
activity.slug = "cqf-support-curriculum-and-qualifications"
activity.category = "face-to-face"
activity.remote_delivered_cpd = true
activity.provider = "stem-learning"
activity.credit = 20
activity.stem_activity_code = "CZ116D"

activity.programmes = [primary_certificate, secondary_certificate]
end.save!

Activity.find_or_initialize_by(stem_course_template_no: "18f16765-04ac-ef11-b8e8-6045bd0ddfc9").tap do |activity|
activity.title = "CQF support - Teaching, Learning and Assessment"
activity.slug = "cqf-support-teaching-learning-and-assessment"
activity.category = "face-to-face"
activity.remote_delivered_cpd = true
activity.provider = "stem-learning"
activity.credit = 20
activity.stem_activity_code = "CZ117D"

activity.programmes = [primary_certificate, secondary_certificate]
end.save!

Activity.find_or_initialize_by(stem_course_template_no: "7234cb4b-05ac-ef11-b8e8-6045bd0ddfc9").tap do |activity|
activity.title = "CQF support - Staff development"
activity.slug = "cqf-support-staff-development"
activity.category = "face-to-face"
activity.remote_delivered_cpd = true
activity.provider = "stem-learning"
activity.credit = 20
activity.stem_activity_code = "CZ118D"

activity.programmes = [primary_certificate, secondary_certificate]
end.save!

Activity.find_or_initialize_by(stem_course_template_no: "6127fced-fbab-ef11-b8e9-6045bd0c7e50").tap do |activity|
activity.title = "CQF Support - Equality, diversity and inclusion"
activity.slug = "cqf-support-equality-diversity-and-inclusion"
activity.category = "face-to-face"
activity.remote_delivered_cpd = true
activity.provider = "stem-learning"
activity.credit = 20
activity.stem_activity_code = "CZ119D"

activity.programmes = [primary_certificate, secondary_certificate]
end.save!

Activity.find_or_initialize_by(stem_course_template_no: "8bd2375a-ffab-ef11-b8e8-6045bd0ddfc9").tap do |activity|
activity.title = "CQF support - Careers, enrichment and outreach"
activity.slug = "cqf-support-careers-enrichment-and-outreach"
activity.category = "face-to-face"
activity.remote_delivered_cpd = true
activity.provider = "stem-learning"
activity.credit = 20
activity.stem_activity_code = "CZ120D"

activity.programmes = [primary_certificate, secondary_certificate]
end.save!

Activity.find_or_initialize_by(stem_course_template_no: "865c73aa-06ac-ef11-b8e8-6045bd0ddfc9").tap do |activity|
activity.title = "CQF support - Impact and outcomes"
activity.slug = "cqf-support-impact-and-outcomes"
activity.category = "face-to-face"
activity.remote_delivered_cpd = true
activity.provider = "stem-learning"
activity.credit = 20
activity.stem_activity_code = "CZ121D"

activity.programmes = [primary_certificate, secondary_certificate]
end.save!

0 comments on commit 27575c6

Please sign in to comment.