forked from Ruderverein-Donau-Linz/rowt
final touches
This commit is contained in:
@ -19,6 +19,7 @@ impl MigrationTrait for Migration {
|
||||
.primary_key(),
|
||||
)
|
||||
.col(ColumnDef::new(User::Name).string().not_null().unique_key())
|
||||
.col(ColumnDef::new(User::Pw).string())
|
||||
.col(
|
||||
ColumnDef::new(User::IsCox)
|
||||
.boolean()
|
||||
@ -49,6 +50,7 @@ pub enum User {
|
||||
Table,
|
||||
Id,
|
||||
Name,
|
||||
Pw,
|
||||
IsCox,
|
||||
IsAdmin,
|
||||
}
|
||||
|
Reference in New Issue
Block a user