view db/migrate/20110223180944_add_users_salt.rb @ 824:c62a0b66bd38 feature_361

Add New Project link to My page, fixing #361
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 31 Jan 2012 12:47:54 +0000
parents 051f544170fe
children
line wrap: on
line source
class AddUsersSalt < ActiveRecord::Migration
  def self.up
    add_column :users, :salt, :string, :limit => 64
  end

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