mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Move image blobs into separate tables (#618)
* Scene cover fallback to database * Fix panic if studio not found * Fix movie studio not being imported/exported
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
|
||||
type Studio struct {
|
||||
ID int `db:"id" json:"id"`
|
||||
Image []byte `db:"image" json:"image"`
|
||||
Checksum string `db:"checksum" json:"checksum"`
|
||||
Name sql.NullString `db:"name" json:"name"`
|
||||
URL sql.NullString `db:"url" json:"url"`
|
||||
@@ -17,7 +16,6 @@ type Studio struct {
|
||||
|
||||
type StudioPartial struct {
|
||||
ID int `db:"id" json:"id"`
|
||||
Image *[]byte `db:"image" json:"image"`
|
||||
Checksum *string `db:"checksum" json:"checksum"`
|
||||
Name *sql.NullString `db:"name" json:"name"`
|
||||
URL *sql.NullString `db:"url" json:"url"`
|
||||
|
||||
Reference in New Issue
Block a user