注册调整

dev_forum
cxt 6 years ago
parent 6af86402cb
commit 0e2ba62967

@ -3,7 +3,7 @@ class UserExtension < ApplicationRecord
enum identity: { teacher: 0, student: 1, professional: 2, developer: 3 }
belongs_to :user, touch: true
belongs_to :school
belongs_to :school, optional: true
belongs_to :department, optional: true
def identity_text

Loading…
Cancel
Save