-
prepare(on:
Asynchronous) Required by
Migration
protocol. Creates the MicroKaraoke user after a bit of sanity check caution.Declaration
Swift
func prepare(on database: Database) async throws
Parameters
database
A connection to the database, provided automatically.
Return Value
Void.
-
revert(on:
Asynchronous) Required by
Migration
protocol. Deletes all admin users.Declaration
Swift
func revert(on database: Database) async throws
Parameters
conn
The database connection.
Return Value
Void.