Rollback went further than expected
Did I do this incorrectly? I ran
I thought it would roll back to 3:
But it rolled all the way back to (but not including):
Was I supposed to specify the full migration filename? I'm confused what the connection is between my answer of
mix ash.rollback -r Ngen.Repo and answered the prompt but it rolled much further back than I expected.I thought it would roll back to 3:
3: /20250713221021_initialize_extensions_1.exsBut it rolled all the way back to (but not including):
7: /20250615215955_create_api_key_metadata.exsWas I supposed to specify the full migration filename? I'm confused what the connection is between my answer of
3 and the migration it rolled back to. Can/should I use mix ecto.rollback directly in the future?