Sync
This commit is contained in:
parent
94197780e1
commit
2977f09245
32 changed files with 763 additions and 936 deletions
|
@ -7,9 +7,9 @@ import (
|
|||
)
|
||||
|
||||
type RemoteServer struct {
|
||||
ID string `gorm:"primarykey"` // ID is also server url
|
||||
CreatedAt time.Time // When this entry was created
|
||||
UpdatedAt time.Time // When this entry was last updated
|
||||
ID string `gorm:"primarykey"` // ID is also server url
|
||||
CreatedAt time.Time // When this entry was created
|
||||
UpdatedAt time.Time // When this entry was last updated
|
||||
// When this entry was deleted (for soft deletions)
|
||||
// Soft delete means that this entry still exists in the db, but gorm won't include it anymore unless specifically told to
|
||||
// If not null, this entry is marked as deleted
|
||||
|
@ -19,11 +19,3 @@ type RemoteServer struct {
|
|||
Icon string // ID of a media file
|
||||
IsSelf bool // Whether this server is yours truly
|
||||
}
|
||||
|
||||
var placeholderServer = &RemoteServer{
|
||||
ID: "placeholder",
|
||||
ServerType: REMOTE_SERVER_LINSTROM,
|
||||
Name: "placeholder",
|
||||
Icon: "placeholder",
|
||||
IsSelf: false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue