working album navigation and duplicate checks on backend

This commit is contained in:
wisplite
2025-11-22 23:18:53 -06:00
parent 8035be9a60
commit d9bad97a53
9 changed files with 146 additions and 19 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import "time"
type User struct {
ID string `gorm:"primaryKey"`
Username string `gorm:"not null"`
Username string `gorm:"not null unique"`
Password string `gorm:"not null"`
IsAdmin bool `gorm:"not null"`
IsRoot bool `gorm:"not null"`