Move account relations into separate table

This commit is contained in:
Melody Becker 2024-11-11 09:04:42 +01:00
parent c9985ba48a
commit 5546d31e5d
6 changed files with 28 additions and 20 deletions

View file

@ -0,0 +1,12 @@
package storage
import (
"gorm.io/gorm"
)
type AccountRelation struct {
gorm.Model
FromId string
ToId string
Accepted bool
}