annotate db/migrate/20110223180944_add_users_salt.rb @ 1473:0a17b5e486af bug_370

Close obsolete branch bug_370
author Chris Cannam
date Wed, 14 Nov 2012 14:00:01 +0000
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