Adding social and exit reasons
This commit is contained in:
5
db/migrate/20130829070500_add_exit_reason_to_users.rb
Normal file
5
db/migrate/20130829070500_add_exit_reason_to_users.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddExitReasonToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :exit_reason, :string
|
||||
end
|
||||
end
|
||||
10
db/migrate/20130829074549_add_social_media_to_users.rb
Normal file
10
db/migrate/20130829074549_add_social_media_to_users.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class AddSocialMediaToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :twitter_url, :string
|
||||
add_column :users, :facebook_url, :string
|
||||
add_column :users, :github_url, :string
|
||||
add_column :users, :website_url, :string
|
||||
add_column :users, :email_visible, :boolean
|
||||
add_column :users, :phone_visible, :boolean
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user