mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Handle null video durations in migration (#3021)
This commit is contained in:
@@ -458,7 +458,7 @@ INSERT INTO `video_files`
|
||||
)
|
||||
SELECT
|
||||
`files`.`id`,
|
||||
`scenes`.`duration`,
|
||||
COALESCE(`scenes`.`duration`, -1),
|
||||
-- special values for unset to be updated during scan
|
||||
COALESCE(`scenes`.`video_codec`, 'unset'),
|
||||
COALESCE(`scenes`.`format`, 'unset'),
|
||||
|
||||
Reference in New Issue
Block a user