mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FEATURE: Can create warnings for users via PM
This commit is contained in:
5
app/models/warning.rb
Normal file
5
app/models/warning.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class Warning < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
belongs_to :topic
|
||||
belongs_to :created_by, class_name: 'User'
|
||||
end
|
Reference in New Issue
Block a user