Make lectures belong to courses

This commit is contained in:
2023-09-29 18:20:43 +01:00
parent 38f48d1736
commit 376e80e385
3 changed files with 10 additions and 1 deletions
@@ -0,0 +1,5 @@
class AddCourseIdToLectures < ActiveRecord::Migration[7.0]
def change
add_belongs_to(:lectures, :course)
end
end