bug fixes file deletions and more

This commit is contained in:
Zoe
2024-09-09 01:35:33 -05:00
parent 86ef860568
commit 70a9bcd904
14 changed files with 325 additions and 51 deletions

View File

@@ -24,6 +24,7 @@ type User struct {
PasswordHash string `bun:"passwordHash,notnull" json:"-"`
PlanID int64 `bun:"plan_id,notnull" json:"-"`
Plan Plan `bun:"rel:belongs-to,join:plan_id=id" json:"plan"`
Usage int64 `bun:"-" json:"usage"`
}
type Session struct {