13 lines
266 B
Go
13 lines
266 B
Go
|
package storage
|
||
|
|
||
|
import "gorm.io/gorm"
|
||
|
|
||
|
type Emote struct {
|
||
|
gorm.Model
|
||
|
// Metadata MediaMetadata // `gorm:"foreignKey:MetadataId"`
|
||
|
MetadataId string
|
||
|
Name string
|
||
|
// Server RemoteServer // `gorm:"foreignKey:ServerId;references:ID"`
|
||
|
ServerId string
|
||
|
}
|