Use ordered SQLite migrations (Refs #75)
CI / checks (push) Successful in 5m6s

This commit is contained in:
2026-10-10 00:01:18 -04:00
parent a0663e43b8
commit 8d1bb69591
56 changed files with 1085 additions and 736 deletions
-2
View File
@@ -89,11 +89,9 @@ it('expires completed file payloads while keeping history, replay identity, hold
it('retains rebalance recovery files until the move is reconciled, then lets history expire', async () => {
const { db } = await import('../../src/lib/server/db/index.js');
const { ensureHostSchema } = await import('../../src/lib/server/hosts/schema.js');
const { pruneHistory } = await import('../../src/lib/server/retention.js');
const { putFileBlob } = await import('../../src/lib/server/db/file-blobs.js');
const { fleetSettings, saveFleetSettings } = await import('../../src/lib/server/settings.js');
ensureHostSchema(db());
saveFleetSettings({
...fleetSettings(),
historyKeepCount: 0,