10 lines
176 B
Ruby
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
|