Skip to content

Commit

Permalink
Remove first name, last name, and email columns from users table
Browse files Browse the repository at this point in the history
  • Loading branch information
ekumachidi committed Feb 27, 2024
1 parent ad15e58 commit caf6488
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class RemoveFirstNameLastNameEmailFromUsers < ActiveRecord::Migration[7.0]
def change
remove_column :users, :first_name, :string
remove_column :users, :last_name, :string
remove_column :users, :email, :string
end
end

0 comments on commit caf6488

Please sign in to comment.