Redmine/db/migrate/20110223180944_add_users_sa...

10 lines
176 B
Ruby
Raw Normal View History

class AddUsersSalt < ActiveRecord::Migration
def self.up
add_column :users, :salt, :string, :limit => 64
end
def self.down
remove_column :users, :salt
end
end