🗑️ Remove the personal page

This commit is contained in:
2024-06-26 11:11:23 +08:00
parent 3f64747839
commit 0d02eca76e
9 changed files with 33 additions and 213 deletions

View File

@ -1,7 +1,6 @@
package models
import (
"gorm.io/datatypes"
"time"
)
@ -14,18 +13,3 @@ type AccountProfile struct {
Birthday *time.Time `json:"birthday"`
AccountID uint `json:"account_id"`
}
type AccountPage struct {
BaseModel
Content string `json:"content"`
Script string `json:"script"`
Style string `json:"style"`
Links datatypes.JSONSlice[AccountPageLinks] `json:"links"`
AccountID uint `json:"account_id"`
}
type AccountPageLinks struct {
Label string `json:"label"`
Url string `json:"url"`
}