-
prepare(on:Asynchronous) Required by
Migrationprotocol. Creates the MicroKaraoke user after a bit of sanity check caution.Declaration
Swift
func prepare(on database: Database) async throwsParameters
databaseA connection to the database, provided automatically.
Return Value
Void.
-
revert(on:Asynchronous) Required by
Migrationprotocol. Deletes all admin users.Declaration
Swift
func revert(on database: Database) async throwsParameters
connThe database connection.
Return Value
Void.
View on GitHub