Sha256: d06d182bb5c0dd2e8832fbd3abc683eff40aeebda8887717d6da9746899ec532

Contents?: true

Size: 201 Bytes

Versions: 55

Compression:

Stored size: 201 Bytes

Contents

class AddStatusColumnToUser < ActiveRecord::Migration
  def self.up
     add_column :users, :status, :string, :default => "available"
  end

  def self.down
    remove_column :users, :status
  end
end

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
social_stream-presence-0.8.3 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.8.2 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.8.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.21.4 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.7.5 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.7.4 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.21.3 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.7.3 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.21.2 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.7.2 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.21.1 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.7.1 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.21.0 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.7.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.6.3 db/migrate/20110928135031_add_status_column_to_user.rb