Skip to content

Commit

Permalink
update schema for fullname changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Manav Patel committed Oct 27, 2024
1 parent 8332247 commit 07f71c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
class RenameNameAndFullnameInUsers < ActiveRecord::Migration[5.1]
def change
# Renaming columns
rename_column :users, :name, :username
rename_column :account_requests, :name, :username
rename_column :users, :fullname, :name
rename_column :account_requests, :fullname, :name
end
end

0 comments on commit 07f71c6

Please sign in to comment.