Fix enum type migration and more relations
Some checks are pending
/ test (push) Waiting to run

- Fixed bad SQL for creating sql enum types
- Noted more relations, mostly x to media
This commit is contained in:
Melody Becker 2025-03-27 15:55:40 +01:00
parent 484bb95820
commit 8ffd6d0050
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
4 changed files with 20 additions and 15 deletions

View file

@ -9,6 +9,7 @@ type RemoteServer struct {
ServerType ServerSoftwareType // What software the server is running. Useful for formatting
Domain string // `gorm:"primaryKey"` // Domain the server exists under. Additional primary key
Name string // What the server wants to be known as (usually same as url)
Icon string // ID of a media file
IsSelf bool // Whether this server is yours truly
Icon MediaMetadata
IconId string // ID of a media file
IsSelf bool // Whether this server is yours truly
}