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-0.25.0 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.12.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.24.1 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.24.0 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.11.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.10.3 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.23.4 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.23.3 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.10.2 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.10.1 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.23.2 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.23.1 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.10.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.9.1 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.9.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.8.7 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.8.6 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.22.1 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.8.4 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.22.0 presence/db/migrate/20110928135031_add_status_column_to_user.rb