gitlab-org--gitlab-foss/db/migrate/20150413192223_add_public_email_to_users.rb
Senorsen 7b28218f96 Allow user to choose which email to be public
This commit allows user to show one of their emails in profile page,
or don't show email in this page.
2015-04-14 19:42:48 +08:00

5 lines
149 B
Ruby

class AddPublicEmailToUsers < ActiveRecord::Migration
def change
add_column :users, :public_email, :string, default: "", null: false
end
end