rename username to email
This commit is contained in:
parent
7412853a3e
commit
cd40ef66c6
9 changed files with 18 additions and 13 deletions
5
db/migrate/20210320212922_change_username_to_email.rb
Normal file
5
db/migrate/20210320212922_change_username_to_email.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class ChangeUsernameToEmail < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
rename_column :users, :username, :email
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue