annotate db/migrate/20110223180944_add_users_salt.rb @ 1141:c852c89f5de1 redmine-2.2-integration

Restore members route (in addition to memberships) to avoid changing URLs
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 10 Jan 2013 15:23:50 +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