adding jwt tokens

This commit is contained in:
2025-11-25 16:03:05 +00:00
parent cc84ef6a13
commit 0466d9d288
8 changed files with 111 additions and 25 deletions

View File

@@ -6,4 +6,5 @@ type User struct {
gorm.Model // includes ID, CreatedAt, UpdatedAt, DeletedAt
Username string `gorm:"uniqueIndex"`
Password []byte
Admin bool
}