Allow users to change their email address. Closes #546.
This commit is contained in:
parent
f8367c3ee1
commit
64ecd02f0b
7 changed files with 83 additions and 11 deletions
9
db/migrate/014_add_new_email.rb
Normal file
9
db/migrate/014_add_new_email.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
class AddNewEmail < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column "users", "new_email", :string
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column "users", "new_email"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue