CreateTestUsers
struct CreateTestUsers : AsyncMigrationA Migration that creates a set of test users during startup, so that there exists one
at each .accessLevel. This migration should only be run in non-production environments.
- 
                  
                  DeclarationSwift static let usernames: [String : UserAccessLevel]
- 
                  prepare(on:Asynchronous) Required by Migrationprotocol. Creates a set of test users at each.accessLevel.DeclarationSwift func prepare(on database: Database) async throwsParametersdatabaseA connection to the database, provided automatically. Return ValueVoid. 
- 
                  revert(on:Asynchronous) Deletes the test users. May not be safe–we haven’t actually tested deleting users much as it’s not a server feature. DeclarationSwift func revert(on database: Database) async throwsParametersdatabaseA connection to the database, provided automatically. Return ValueVoid. 
 View on GitHub
            View on GitHub
           CreateTestUsers Structure Reference
      CreateTestUsers Structure Reference