Open-Source-Access-Control-.../db/migrate/20130829074549_add_social_media_to_users.rb
2014-02-09 00:56:48 -07:00

11 lines
353 B
Ruby
Executable File

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