I noticed that Command provides ways to list available migrations via history() and any pending migrations via heads(), however I don't see a method to get a list of migrations that have been applied.
From my understanding a list of applied migrations would not neccesarially identical to history() minus any heads() as one could have applied a migration to a database and then removed the migration file.
I think it would be useful to have an additional method(and maybe associated cli command) which shows the list of applied migrations as queried from the database for debugging purposes.