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.29.0 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.16.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.28.4 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.28.1 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.28.0 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.15.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.27.3 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.27.2 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.27.1 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.27.0 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.14.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.26.2 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.13.3 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.13.2 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.26.1 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.13.1 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.26.0 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-presence-0.13.0 db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.25.2 presence/db/migrate/20110928135031_add_status_column_to_user.rb
social_stream-0.25.1 presence/db/migrate/20110928135031_add_status_column_to_user.rb