1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/db/migrate/20160516090121_add_social_fields_to_profile.rb

18 lines
612 B
Ruby
Raw Normal View History

# frozen_string_literal:true
class AddSocialFieldsToProfile < ActiveRecord::Migration[4.2]
def change
add_column :profiles, :facebook, :string
add_column :profiles, :twitter, :string
add_column :profiles, :google_plus, :string
add_column :profiles, :viadeo, :string
add_column :profiles, :linkedin, :string
add_column :profiles, :instagram, :string
add_column :profiles, :youtube, :string
add_column :profiles, :vimeo, :string
add_column :profiles, :dailymotion, :string
add_column :profiles, :github, :string
add_column :profiles, :echosciences, :string
end
end