Add rss2_id.

This commit is contained in:
BoHung Chiu 2021-03-08 14:32:33 +08:00
parent 1d3bf5d9c9
commit 3a92c8ec03
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ class Course
field :year, type: Integer field :year, type: Integer
field :student_ids, type: Array, default: [] field :student_ids, type: Array, default: []
field :course_code, type: String, default: "" field :course_code, type: String, default: ""
field :rss2_id
has_many :course_syllabus_files, :dependent => :destroy, :autosave => true has_many :course_syllabus_files, :dependent => :destroy, :autosave => true
has_many :course_progress_files, :dependent => :destroy, :autosave => true has_many :course_progress_files, :dependent => :destroy, :autosave => true
has_many :course_activity_files, :dependent => :destroy, :autosave => true has_many :course_activity_files, :dependent => :destroy, :autosave => true