adding jwt tokens
This commit is contained in:
@@ -6,4 +6,5 @@ type User struct {
|
||||
gorm.Model // includes ID, CreatedAt, UpdatedAt, DeletedAt
|
||||
Username string `gorm:"uniqueIndex"`
|
||||
Password []byte
|
||||
Admin bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user