trustieforge/db/migrate/20110223180944_add_users_sa...

10 lines
176 B
Ruby

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