CreateUserSchema
struct CreateUserSchema : AsyncMigration
Creates the User
table in the database and specifies its fields.
-
prepare(on:
Asynchronous) Declaration
Swift
func prepare(on database: Database) async throws
-
revert(on:
Asynchronous) Declaration
Swift
func revert(on database: Database) async throws