Sha256: 5e032b624d120ffbdc15a659b4eec6aced27070d4dffef834e05271c330a3aab

Contents?: true

Size: 401 Bytes

Versions: 119

Compression:

Stored size: 401 Bytes

Contents

class AddSocialToUsers < ActiveRecord::Migration
  def self.up
    add_column :users, :facebook_handle, :string
    add_column :users, :twitter_handle, :string
    add_column :users, :googleplus_handle, :string
  end

  def self.down
    remove_column :users, :facebook_handle, :string
    remove_column :users, :twitter_handle, :string
    remove_column :users, :googleplus_handle, :string
  end
end

Version data entries

119 entries across 112 versions & 5 rubygems

Version Path
sufia-7.4.1 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.4.0 db/migrate/20160328222156_add_social_to_users.rb
hyrax-1.0.1 db/migrate/20160328222156_add_social_to_users.rb
hyrax-1.0.0.rc2 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.3.1 db/migrate/20160328222156_add_social_to_users.rb
hyrax-1.0.0.rc1 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.3.0 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.3.0.rc3 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.3.0.rc2 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.3.0.rc1 db/migrate/20160328222156_add_social_to_users.rb
test_hyrax-0.0.1.alpha db/migrate/20160328222156_add_social_to_users.rb
sufia-7.2.0 db/migrate/20160328222156_add_social_to_users.rb
sufia-models-6.7.0 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-7.1.0 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.0.0 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.0.0.rc2 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.0.0.rc1 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.0.0.beta4 db/migrate/20160328222156_add_social_to_users.rb
sufia-7.0.0.beta3 lib/generators/sufia/templates/migrations/add_social_to_users.rb
sufia-7.0.0.beta2 lib/generators/sufia/templates/migrations/add_social_to_users.rb