mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 13:07:54 +08:00
FEATURE: Add views to UserProfile.
This commit is contained in:
5
db/migrate/20150914034541_add_views_to_user_profile.rb
Normal file
5
db/migrate/20150914034541_add_views_to_user_profile.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class AddViewsToUserProfile < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :user_profiles, :views, :integer, default: 0, null: false
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user