Retrospring/app/models/user_ban.rb

5 lines
101 B
Ruby
Raw Normal View History

class UserBan < ApplicationRecord
belongs_to :user
belongs_to :banned_by, class_name: 'User'
end