mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FEATURE: Create UserProfilerView.
This commit is contained in:
parent
afdb15f99f
commit
d30f454261
2 changed files with 20 additions and 0 deletions
5
app/models/user_profile_view.rb
Normal file
5
app/models/user_profile_view.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class UserProfileView < ActiveRecord::Base
|
||||
validates :user_profile_id, presence: true
|
||||
validates :viewed_at, presence: true
|
||||
validates :ip_address, presence: true
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue