2020-03-24 16:45:27 +01:00
|
|
|
# frozen_string_literal:true
|
|
|
|
|
|
|
|
class AddSocialFieldsToProfile < ActiveRecord::Migration[4.2]
|
2016-05-16 11:18:30 +02:00
|
|
|
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
|