Avoid disaster with DB migrations
All checks were successful
Alpine 3.21 Success

This commit is contained in:
Přemysl Eric Janouch 2025-09-04 10:38:31 +02:00
parent 6622ea0e1c
commit d3a046d85d
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -1751,6 +1751,7 @@ func dbOpen(path string) error {
`task`, `duration`, `INTEGER NOT NULL DEFAULT 0`); err != nil { `task`, `duration`, `INTEGER NOT NULL DEFAULT 0`); err != nil {
return err return err
} }
fallthrough
case 2: case 2:
// The next migration goes here, remember to increment the number below. // The next migration goes here, remember to increment the number below.
} }