Dashboard: Do not run backend migrations if schemaVersion < min_version migration implemented in the backend (#102088)

This commit is contained in:
Ivan Ortega Alba
2025-03-14 08:55:40 +00:00
committed by GitHub
parent d3a9c04562
commit 0e5c436288
4 changed files with 33 additions and 1 deletions
@@ -4,7 +4,10 @@ import "strconv"
type SchemaVersionMigrationFunc func(map[string]interface{}) error
const LATEST_VERSION = 41
const (
MIN_VERSION = 36
LATEST_VERSION = 41
)
var Migrations = map[int]SchemaVersionMigrationFunc{
37: V37,