--- /dev/null
+class ResetEncryptedPasswords < ActiveRecord::Migration[8.0]
+ def up
+ # Create a temporary encrypted password - it won't be usable for login
+ temp_password = "RESET_REQUIRED_#{SecureRandom.hex(10)}"
+ User.find_each do |user|
+ user.update_column(:encrypted_password, temp_password)
+ end
+ end
+end
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema[7.2].define(version: 2025_01_10_225508) do
+ActiveRecord::Schema[8.0].define(version: 2025_01_12_054949) do
create_table "api_keys", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "key"
t.datetime "created_at", null: false