From 71a0af02b013ed36ff862c835f5f6ceb3caac312 Mon Sep 17 00:00:00 2001 From: Maurice Date: Wed, 7 Oct 2026 16:03:19 +0200 Subject: [PATCH] fix(db): refuse a database or backup a newer TREK migrated, and keep a copy before a restore Rolling an image back, or restoring a backup a newer release made, ran older code against a schema it does not know and failed later, far from the cause. Boot now refuses a database that records migrations this build does not ship, and the restore check refuses such a backup while the current database is still in place. A restore also keeps the database it replaces as data/pre-restore-