Sha256: e1fcf581c9c287e37c2cf26e90a6da5fa7d4c0baa9bb8295b9574b4d2d72fad7

Contents?: true

Size: 406 Bytes

Versions: 15

Compression:

Stored size: 406 Bytes

Contents

class AddSocialToUsers < ActiveRecord::Migration[4.2]
  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

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-1.1.1 db/migrate/20160328222156_add_social_to_users.rb
hyrax-1.1.0 db/migrate/20160328222156_add_social_to_users.rb
hyrax-2.0.0 db/migrate/20160328222156_add_social_to_users.rb
hyrax-2.0.0.rc3 db/migrate/20160328222156_add_social_to_users.rb
hyrax-2.0.0.rc2 db/migrate/20160328222156_add_social_to_users.rb
hyrax-2.0.0.rc1 db/migrate/20160328222156_add_social_to_users.rb
hyrax-1.0.5 db/migrate/20160328222156_add_social_to_users.rb
hyrax-2.0.0.beta5 db/migrate/20160328222156_add_social_to_users.rb
hyrax-2.0.0.beta4 db/migrate/20160328222156_add_social_to_users.rb
hyrax-2.0.0.beta3 db/migrate/20160328222156_add_social_to_users.rb
hyrax-2.0.0.beta2 db/migrate/20160328222156_add_social_to_users.rb
hyrax-2.0.0.beta1 db/migrate/20160328222156_add_social_to_users.rb
hyrax-1.0.4 db/migrate/20160328222156_add_social_to_users.rb
hyrax-1.0.3 db/migrate/20160328222156_add_social_to_users.rb
hyrax-1.0.2 db/migrate/20160328222156_add_social_to_users.rb