From 3a92c8ec0378eb7520197476af84bb4b5eba9c88 Mon Sep 17 00:00:00 2001 From: bohung Date: Mon, 8 Mar 2021 14:32:33 +0800 Subject: [PATCH] Add rss2_id. --- app/models/course.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/course.rb b/app/models/course.rb index 6c4e7fe..33f7f22 100644 --- a/app/models/course.rb +++ b/app/models/course.rb @@ -10,6 +10,7 @@ class Course field :year, type: Integer field :student_ids, type: Array, default: [] field :course_code, type: String, default: "" + field :rss2_id has_many :course_syllabus_files, :dependent => :destroy, :autosave => true has_many :course_progress_files, :dependent => :destroy, :autosave => true has_many :course_activity_files, :dependent => :destroy, :autosave => true