bigdir/db/migrate/20110223180944_add_users_sa...

10 lines
176 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddUsersSalt < ActiveRecord::Migration
def self.up
add_column :users, :salt, :string, :limit => 64
end
def self.down
remove_column :users, :salt
end
end