From 80d6cbf823834088a5774fa859153abd51cefec4 Mon Sep 17 00:00:00 2001 From: wyx <414722560@qq.com> Date: Sat, 25 Jul 2020 12:18:49 +0800 Subject: [PATCH] update model waitlist --- app/models/waitlist.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/waitlist.rb b/app/models/waitlist.rb index 4bafef802..0c058eb7d 100644 --- a/app/models/waitlist.rb +++ b/app/models/waitlist.rb @@ -1,2 +1,4 @@ class Waitlist < ApplicationRecord + belongs_to :applicant, class_name: 'User' + belongs_to :reviewer, class_name: 'User', optional: true end