completedMigrations(_:)
Returns the identifiers of registered and completed migrations, in the order of registration.
func completedMigrations(_ db: Database) throws -> [String]
Parameters
- db
A database connection.
Throws
A DatabaseError
whenever an SQLite error occurs.
A migration is completed if and only if all previous migrations have been applied.