hasBeenSuperseded(_:)
A boolean value indicating whether the database refers to unregistered migrations.
func hasBeenSuperseded(_ db: Database) throws -> Bool
Parameters
- db
A database connection.
Throws
A DatabaseError
whenever an SQLite error occurs.
When the result is true, the database has likely been migrated by a more recent migrator.