mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Fix integer overflow for scene size on 32bit systems (#994)
* Fix integer overflow for scene size on 32bit systems * Cast to double in sqlite to prevent potential overflow * Add migration to reset scene sizes and scan logic to repopulate if empty
This commit is contained in:
1
pkg/database/migrations/17_reset_scene_size.up.sql
Normal file
1
pkg/database/migrations/17_reset_scene_size.up.sql
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `scenes` SET `size` = NULL;
|
||||
Reference in New Issue
Block a user