add db migration 11, optimizing index count

This commit is contained in:
Christoph Kluge
2026-03-11 16:07:19 +01:00
parent af78f06ced
commit 972b14033a
3 changed files with 120 additions and 2 deletions

View File

@@ -21,10 +21,11 @@ import (
// is added to internal/repository/migrations/sqlite3/.
//
// Version history:
// - Version 10: Current version
// - Version 11: Optimize job table indexes (reduce from ~78 to 48)
// - Version 10: Node table
//
// Migration files are embedded at build time from the migrations directory.
const Version uint = 10
const Version uint = 11
//go:embed migrations/*
var migrationFiles embed.FS