Rails 7 - Undo/Remove a Schema.rb add_foreign_key reference & start over
Best way to resolve this is to create a migration that adds users back with only account_id then remove the foreign key, and drop the user table again. Should be doable in 1 migration, however I went about it as follows.
I ended up creating a new Users table with just an account_id:integer Created a migration to remove_foreign_key Then created a migration to then drop that Users table again.
Schema file is looking correct now and I have all the migrations to trace my changes.