annotate db/migrate/20110223180944_add_users_salt.rb @ 859:9a16b2c1fd56 bug_189

Close obsolete branch bug_189
author Chris Cannam
date Tue, 12 Jul 2011 16:42:08 +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