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-models-4.0.0.beta4 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-models-4.0.0.beta3 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-4.0.0.beta3 sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-4.0.0.beta2 sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-models-4.0.0.beta2 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-4.0.0.beta1 sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-models-4.0.0.beta1 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
curate-0.6.6 spec/internal/db/migrate/20140328183263_add_social_to_users.rb
sufia-models-3.7.2 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-3.7.2 sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-models-3.7.1 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-3.7.1 sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-models-3.7.0 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-3.7.0 sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
curate-0.6.4 spec/internal/db/migrate/20140131175506_add_social_to_users.rb
sufia-3.6.1 sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-models-3.6.1 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-3.6.0 sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
sufia-models-3.6.0 lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
curate-0.6.3 spec/internal/db/migrate/20131205204132_add_social_to_users.rb