From 71b767261037a300e1f0723723a2402bb165e6c9 Mon Sep 17 00:00:00 2001 From: Tracy Cano Date: Sat, 23 Nov 2024 20:08:59 -0800 Subject: [PATCH] remove name column from users table --- db/migrate/20241124035858_remove_name_from_users.rb | 5 +++++ db/schema.rb | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 db/migrate/20241124035858_remove_name_from_users.rb diff --git a/db/migrate/20241124035858_remove_name_from_users.rb b/db/migrate/20241124035858_remove_name_from_users.rb new file mode 100644 index 00000000..997a4156 --- /dev/null +++ b/db/migrate/20241124035858_remove_name_from_users.rb @@ -0,0 +1,5 @@ +class RemoveNameFromUsers < ActiveRecord::Migration[7.2] + def change + remove_column :users, :name, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index f69a98ff..64a7e02b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -107,7 +107,6 @@ t.datetime "created_at", null: false t.datetime "updated_at", null: false t.string "jti", null: false - t.string "name" t.string "role" t.string "first_name" t.string "last_name"