Backend: Remove unused notes field from file entity
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
6cea8f0d3b
commit
a507f21740
2 changed files with 0 additions and 15 deletions
|
@ -47,7 +47,6 @@ type File struct {
|
|||
FileLuminance string `gorm:"type:varbinary(9);" json:"Luminance" yaml:"Luminance,omitempty"`
|
||||
FileDiff uint32 `json:"Diff" yaml:"Diff,omitempty"`
|
||||
FileChroma uint8 `json:"Chroma" yaml:"Chroma,omitempty"`
|
||||
FileNotes string `gorm:"type:text" json:"Notes" yaml:"Notes,omitempty"`
|
||||
FileError string `gorm:"type:varbinary(512)" json:"Error" yaml:"Error,omitempty"`
|
||||
Share []FileShare `json:"-" yaml:"-"`
|
||||
Sync []FileSync `json:"-" yaml:"-"`
|
||||
|
|
|
@ -33,7 +33,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "8836BD496",
|
||||
FileDiff: 968,
|
||||
FileChroma: 25,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{
|
||||
FileShareFixtures.Get("FileShare1", 0, 0, ""),
|
||||
|
@ -74,7 +73,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "444428399",
|
||||
FileDiff: 747,
|
||||
FileChroma: 12,
|
||||
FileNotes: "File notes for dng",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -112,7 +110,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "",
|
||||
FileDiff: 0,
|
||||
FileChroma: 0,
|
||||
FileNotes: "File notes for xmp",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -150,7 +147,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 986,
|
||||
FileChroma: 32,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -188,7 +184,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 800,
|
||||
FileChroma: 4,
|
||||
FileNotes: "",
|
||||
FileError: "Error",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -226,7 +221,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 800,
|
||||
FileChroma: 26,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -264,7 +258,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 800,
|
||||
FileChroma: 26,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -302,7 +295,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 800,
|
||||
FileChroma: 0,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -340,7 +332,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 800,
|
||||
FileChroma: 0,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -378,7 +369,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 800,
|
||||
FileChroma: 0,
|
||||
FileNotes: "",
|
||||
FileError: "Error",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -416,7 +406,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 986,
|
||||
FileChroma: 32,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -454,7 +443,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 986,
|
||||
FileChroma: 32,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -492,7 +480,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 986,
|
||||
FileChroma: 32,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
@ -530,7 +517,6 @@ var FileFixtures = map[string]File{
|
|||
FileLuminance: "DC42844C8",
|
||||
FileDiff: 986,
|
||||
FileChroma: 32,
|
||||
FileNotes: "",
|
||||
FileError: "",
|
||||
Share: []FileShare{},
|
||||
Sync: []FileSync{},
|
||||
|
|
Loading…
Reference in a new issue