mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 01:38:10 +08:00
FEATURE: Allow users to select a badge with an image to appear on their
user card
This commit is contained in:
5
db/migrate/20141020164816_add_image_to_badges.rb
Normal file
5
db/migrate/20141020164816_add_image_to_badges.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class AddImageToBadges < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :badges, :image, :string, limit: 255
|
||||
end
|
||||
end
|
@ -0,0 +1,5 @@
|
||||
class AddCardImageToUserProfiles < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :user_profiles, :card_image_badge_id, :integer
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user