Fix scene marker issues (#3955)

* Fix scene marker NOT NULL constraint error
* similar changes to gallery chapters
* Fix NULL conversion error if names are NULL in DB
* Fix scene marker form resetting
This commit is contained in:
DingDongSoLong4
2023-07-28 03:22:43 +02:00
committed by GitHub
parent 7b77b8986f
commit 95a78de3aa
9 changed files with 84 additions and 75 deletions

View File

@@ -14,8 +14,8 @@ type SceneMarker struct {
UpdatedAt time.Time `json:"updated_at"`
}
// SceneMarkerPartial represents part of a SceneMarker object. It is used to update
// the database entry.
// SceneMarkerPartial represents part of a SceneMarker object.
// It is used to update the database entry.
type SceneMarkerPartial struct {
Title OptionalString
Seconds OptionalFloat64