view db/migrate/20110223180944_add_users_salt.rb @ 1483:7e57ccd5f44b insider

Close obsolete branch insider
author Chris Cannam
date Sat, 10 Nov 2012 12:57:50 +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