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:
InfiniteTF
2020-12-22 00:29:53 +01:00
committed by GitHub
parent e883e5fe27
commit e84c92355e
9 changed files with 19 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ import (
var DB *sqlx.DB
var dbPath string
var appSchemaVersion uint = 16
var appSchemaVersion uint = 17
var databaseSchemaVersion uint
const sqlite3Driver = "sqlite3ex"