hasCompletedMigrations(_:)
A boolean value indicating whether all registered migrations, and only registered migrations, have been applied.
func hasCompletedMigrations(_ db: Database) throws -> Bool
Parameters
- db
A database connection.
Throws
A DatabaseError
whenever an SQLite error occurs.