From 4fafeee4a96aa1b992f720211ae02979b51258ca Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 2 Jul 2025 11:47:29 -0400 Subject: [PATCH] Drop the password column from the users table. --- db/migrate/20250702154620_remove_password_from_users.rb | 5 +++++ db/schema.rb | 2 +- db/schema_cache.yml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 db/migrate/20250702154620_remove_password_from_users.rb diff --git a/db/migrate/20250702154620_remove_password_from_users.rb b/db/migrate/20250702154620_remove_password_from_users.rb new file mode 100644 index 000000000..75173ad1a --- /dev/null +++ b/db/migrate/20250702154620_remove_password_from_users.rb @@ -0,0 +1,5 @@ +class RemovePasswordFromUsers < ActiveRecord::Migration[8.1] + def change + remove_column :users, :password, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 3c4b155e6..a3660591f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[8.1].define(version: 2025_06_25_111932) do +ActiveRecord::Schema[8.1].define(version: 2025_07_02_154620) do create_table "accesses", force: :cascade do |t| t.datetime "accessed_at" t.integer "collection_id", null: false diff --git a/db/schema_cache.yml b/db/schema_cache.yml index 8aab5a0d5..d3db9362c 100644 --- a/db/schema_cache.yml +++ b/db/schema_cache.yml @@ -2391,4 +2391,4 @@ indexes: comment: valid: true workflows: [] -version: 20250625111932 +version: 20250702154620