Make lectures belong to courses
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
class Lecture < ApplicationRecord
|
||||
belongs_to :course
|
||||
|
||||
enum :status, [
|
||||
:future,
|
||||
:live,
|
||||
|
||||
Reference in New Issue
Block a user