First merge from develop to main (WIP) #7

Merged
sugar merged 199 commits from develop into main 2026-01-27 17:47:07 +00:00
Showing only changes of commit 9e649d83e5 - Show all commits

View File

@@ -8,6 +8,12 @@ import (
"gorm.io/gorm/clause"
)
// Permission Level
// Banned User: 0
// Normal User: 10
// Admin User: 20
// Super User: 30
type User struct {
Id uint `json:"id" gorm:"primarykey;autoincrement"`
UUID uuid.UUID `json:"uuid" gorm:"type:uuid;uniqueindex;not null"`