class AddViewsToUserProfile < ActiveRecord::Migration[4.2]
def change
add_column :user_profiles, :views, :integer, default: 0, null: false
end