FEATURE: Add views to UserProfile.

This commit is contained in:
Guo Xiang Tan
2015-09-16 14:48:06 +08:00
parent d30f454261
commit f41bcafe8d
2 changed files with 6 additions and 0 deletions
@@ -0,0 +1,5 @@
class AddViewsToUserProfile < ActiveRecord::Migration
def change
add_column :user_profiles, :views, :integer, default: 0, null: false
end
end