FEATURE: Allow users to select a badge with an image to appear on their

user card
This commit is contained in:
Robin Ward
2014-10-20 13:15:58 -04:00
parent d2fb2bc4cd
commit 71f211f0b3
31 changed files with 432 additions and 279 deletions

View File

@ -0,0 +1,5 @@
class AddImageToBadges < ActiveRecord::Migration
def change
add_column :badges, :image, :string, limit: 255
end
end

View File

@ -0,0 +1,5 @@
class AddCardImageToUserProfiles < ActiveRecord::Migration
def change
add_column :user_profiles, :card_image_badge_id, :integer
end
end