78 lines
2.5 KiB
Ruby
78 lines
2.5 KiB
Ruby
# This file should contain all the record creation needed to seed the database with its default values.
|
|
# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
|
|
#
|
|
# Examples:
|
|
#
|
|
# movies = Movie.create([{ name: "Star Wars" }, { name: "Lord of the Rings" }])
|
|
# Character.create(name: "Luke", movie: movies.first)
|
|
|
|
Course.create!(
|
|
title: 'General Relativity',
|
|
panopto_folders: ["5a77867a-236b-478f-9b0d-af2400ed0989"],
|
|
toggl_project: 189467492,
|
|
unit_code: 'PH30101',
|
|
semester_start_date: Date.parse('2023-02-06'),
|
|
)
|
|
|
|
Course.create!(
|
|
title: 'Continuum mechanics',
|
|
panopto_folders: ["dca2c510-49b4-4a24-9c91-b07701022d03"],
|
|
toggl_project: 195482340,
|
|
unit_code: 'MA30253',
|
|
semester_start_date: START_OF_YEAR_5_SEMESTER_1.to_date,
|
|
)
|
|
|
|
Course.create!(
|
|
title: 'Quantum Mechanics',
|
|
panopto_folders: ['7f5198a9-8261-4e11-9007-b07500bc314b'],
|
|
toggl_project: 195518593,
|
|
unit_code: 'PH30030',
|
|
semester_start_date: START_OF_YEAR_5_SEMESTER_1.to_date,
|
|
)
|
|
|
|
Course.create!(
|
|
title: 'Measure Theory & Integration',
|
|
panopto_folders: ["af2c415a-6a21-4f08-ba76-b07500a2174c"],
|
|
toggl_project: 195519024,
|
|
unit_code: 'MA40042',
|
|
semester_start_date: START_OF_YEAR_5_SEMESTER_1.to_date,
|
|
)
|
|
|
|
Course.create!(
|
|
title: 'Relativistic Cosmology',
|
|
panopto_folders: ["dca2c510-49b4-4a24-9c91-b07701022d03"],
|
|
toggl_project: 199383703,
|
|
unit_code: 'PH40112',
|
|
semester_start_date: START_OF_YEAR_5_SEMESTER_2.to_date,
|
|
homepage: 'https://moodle.bath.ac.uk/course/view.php?id=58189'
|
|
)
|
|
|
|
Course.create!(
|
|
title: 'Advanced Quantum Theory',
|
|
panopto_folders: [],
|
|
toggl_project: 199383691,
|
|
unit_code: 'PH40084',
|
|
semester_start_date: START_OF_YEAR_5_SEMESTER_2.to_date,
|
|
homepage: 'https://moodle.bath.ac.uk/course/view.php?id=30520'
|
|
)
|
|
|
|
Course.create!(
|
|
title: 'Analysis in Hilbert Spaces',
|
|
panopto_folders: [],
|
|
toggl_project: 199383698,
|
|
unit_code: 'MA40256',
|
|
semester_start_date: START_OF_YEAR_5_SEMESTER_2.to_date,
|
|
homepage: 'https://moodle.bath.ac.uk/course/view.php?id=57713',
|
|
default_live_video_url: 'https://bath-ac-uk.zoom.us/j/9996300https://bath-ac-uk.zoom.us/j/99963008096?pwd=N3hVbWRGdXFXSVJUcHJmZzBSRm1tdz098096?pwd=N3hVbWRGdXFXSVJUcHJmZzBSRm1tdz09'
|
|
)
|
|
|
|
Course.create!(
|
|
title: 'Elasticity',
|
|
panopto_folders: [],
|
|
toggl_project: 198859760,
|
|
unit_code: 'MA40049',
|
|
semester_start_date: START_OF_YEAR_5_SEMESTER_2.to_date,
|
|
homepage: 'https://moodle.bath.ac.uk/course/view.php?id=1814',
|
|
default_live_video_url: 'https://bath-ac-uk.zoom.us/j/99630316511?pwd=d00xQTByeGtNaHZzNkR6YnpKM0RxZz09'
|
|
)
|