Add email to user model
This commit is contained in:
@ -9,6 +9,7 @@ struct UserTableMigration: Migration {
|
||||
.field(User.Key.hash.key, .string, .required)
|
||||
.field(User.Key.points.key, .int, .required)
|
||||
.field(User.Key.table.key, .uuid, .references(Table.schema, Table.Key.id.key))
|
||||
.field(User.Key.recoveryEmail.key, .string)
|
||||
.create()
|
||||
let two = database.enum(Table.Key.language.rawValue)
|
||||
.case(SupportedLanguage.german.rawValue)
|
||||
|
Reference in New Issue
Block a user