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
+1
View File
@@ -206,6 +206,7 @@ describe('database fleet and container readiness', () => {
const { db, getServer } = await setup();
const { closeDb } = await import('../../src/lib/server/db/index.js');
db.exec('ALTER TABLE servers DROP COLUMN rcon_failures');
db.pragma('user_version = 0');
closeDb();
expect(getServer('managed')).toMatchObject({
rcon_failures: 0,