annotate db/migrate/20110223180944_add_users_salt.rb @ 1171:b4558bc5837f bug_505

Close obsolete branch bug_505
author Chris Cannam
date Fri, 03 Aug 2012 19:40:23 +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