From caf6488db7a58c30fc367239a5e2acd2427961f7 Mon Sep 17 00:00:00 2001 From: Chidi Ekuma Date: Tue, 27 Feb 2024 23:17:17 +0000 Subject: [PATCH] Remove first name, last name, and email columns from users table --- ...7231625_remove_first_name_last_name_email_from_users.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 db/migrate/20240227231625_remove_first_name_last_name_email_from_users.rb diff --git a/db/migrate/20240227231625_remove_first_name_last_name_email_from_users.rb b/db/migrate/20240227231625_remove_first_name_last_name_email_from_users.rb new file mode 100644 index 0000000000..68db66f89b --- /dev/null +++ b/db/migrate/20240227231625_remove_first_name_last_name_email_from_users.rb @@ -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