mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 05:26:02 +08:00
Revert "Revert "FEATURE: Can create warnings for users via PM""
This reverts commit 1c7559380c145136726028ae9f2aeea6f351eb78.
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