mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
FEATURE: add user custom fields to user card
The user's custom fields are now displayed on the user card. This has to be enabled for each custom field in the custom field settings. See https://meta.discourse.org/t/custom-user-fields-on-usercard/22662/
This commit is contained in:
@ -12,14 +12,15 @@ end
|
||||
#
|
||||
# Table name: user_fields
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# name :string not null
|
||||
# field_type :string not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# editable :boolean default(FALSE), not null
|
||||
# description :string not null
|
||||
# required :boolean default(TRUE), not null
|
||||
# show_on_profile :boolean default(FALSE), not null
|
||||
# position :integer default(0)
|
||||
# id :integer not null, primary key
|
||||
# name :string not null
|
||||
# field_type :string not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# editable :boolean default(FALSE), not null
|
||||
# description :string not null
|
||||
# required :boolean default(TRUE), not null
|
||||
# show_on_profile :boolean default(FALSE), not null
|
||||
# show_on_user_card :boolean default(FALSE), not null
|
||||
# position :integer default(0)
|
||||
#
|
||||
|
Reference in New Issue
Block a user