Remove nonsense has_one relationship

This commit is contained in:
Andy Allan 2018-03-14 15:20:04 +08:00
parent c1bb412033
commit 5e7abf67fb

View file

@ -74,7 +74,6 @@ class User < ActiveRecord::Base
has_many :roles, :class_name => "UserRole"
has_many :issues, :class_name => "Issue", :foreign_key => :reported_user_id
has_one :issue, :class_name => "Issue", :foreign_key => :updated_by
has_many :issue_comments
has_many :reports