feat: update news

This commit is contained in:
ericprd
2025-03-06 23:55:46 +08:00
parent 2046021e01
commit e3a9b67e28
17 changed files with 249 additions and 21 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
type Staff struct {
ID string `gorm:"primaryKey" json:"id"`
Name string `gorm:"default:null;unique" json:"name"`
Name string `gorm:"default:null" json:"name"`
ProfilePicture string `gorm:"default:null" json:"profile_picture"`
Email string `gorm:"unique;not null" json:"email"`
Password string `gorm:"not null" json:"password"`