Add Bio to user table, set varchar for role in attendance table
All checks were successful
Build Backend (NixCN CMS) TeamCity build finished
Build Frontend (NixCN CMS) TeamCity build finished

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-01 14:52:24 +08:00
parent 9f927c907a
commit e0e1abab93
2 changed files with 2 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ type User struct {
Nickname string `json:"nickname"`
Subtitle string `json:"subtitle"`
Avatar string `json:"avatar"`
Bio string `json:"bio" gorm:"type:text"`
PermissionLevel uint `json:"permission_level" gorm:"default:10;not null"`
}