Skip to content
Snippets Groups Projects
Verified Commit 485c7ec4 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Revert "fix: do not drop ShowName, for now"

This reverts commit a46824a3.
parent a46824a3
No related branches found
No related tags found
No related merge requests found
...@@ -309,7 +309,6 @@ var ( ...@@ -309,7 +309,6 @@ var (
CreatedAt time.Time `json:"created"` CreatedAt time.Time `json:"created"`
UpdatedAt time.Time `json:"updated"` UpdatedAt time.Time `json:"updated"`
ShowID uint64 `json:"showID" gorm:"not null;index"` ShowID uint64 `json:"showID" gorm:"not null;index"`
ShowName string `json:"show" gorm:"not null"`
Show Show `json:"-" gorm:"association_foreignkey:ID"` Show Show `json:"-" gorm:"association_foreignkey:ID"`
Source FileSource `json:"source" gorm:"embedded;embedded_prefix:source__"` Source FileSource `json:"source" gorm:"embedded;embedded_prefix:source__"`
Metadata FileMetadata `json:"metadata" gorm:"embedded;embedded_prefix:metadata__"` Metadata FileMetadata `json:"metadata" gorm:"embedded;embedded_prefix:metadata__"`
...@@ -323,7 +322,6 @@ var ( ...@@ -323,7 +322,6 @@ var (
Description string `json:"description"` Description string `json:"description"`
PlayoutMode string `json:"playoutMode" gorm:"not null;default:'linear'"` PlayoutMode string `json:"playoutMode" gorm:"not null;default:'linear'"`
ShowID uint64 `json:"showID" gorm:"not null;index"` ShowID uint64 `json:"showID" gorm:"not null;index"`
ShowName string `json:"show" gorm:"not null"`
Show Show `json:"-" gorm:"association_foreignkey:ID"` Show Show `json:"-" gorm:"association_foreignkey:ID"`
Entries []PlaylistEntry `json:"entries"` Entries []PlaylistEntry `json:"entries"`
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment