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
+2
View File
@@ -1,4 +1,6 @@
class Lecture < ApplicationRecord
belongs_to :course
enum :status, [
:future,
:live,