annotate db/migrate/.svn/text-base/20110223180944_add_users_salt.rb.svn-base @ 855:7294e8db2515 bug_162

Close obsolete branch bug_162
author Chris Cannam
date Thu, 14 Jul 2011 11:59:19 +0100
parents 051f544170fe
children
rev   line source
Chris@245 1 class AddUsersSalt < ActiveRecord::Migration
Chris@245 2 def self.up
Chris@245 3 add_column :users, :salt, :string, :limit => 64
Chris@245 4 end
Chris@245 5
Chris@245 6 def self.down
Chris@245 7 remove_column :users, :salt
Chris@245 8 end
Chris@245 9 end